func NewIngressRule(portRange network.PortRange, sourceCIDRs ...string) IngressRule {
	return IngressRule{
		PortRange:   portRange,
		SourceCIDRs: set.NewStrings(sourceCIDRs...),
	}
}
// NewIngressRule creates a new IngressRule for allowing access to portRange
// from the list of sourceCIDRs. If no sourceCIDRs are specified, the rule
// will implicitly apply to all networks.
NewIngressRule creates a new IngressRule for allowing access to portRange
from the list of sourceCIDRs. If no sourceCIDRs are specified, the rule
will implicitly apply to all networks.
// NewIngressRule creates a new IngressRule for allowing access to portRange // from the list of sourceCIDRs . If no sourceCIDRs are specified the rule // will implicitly apply to all networks .
func NewIngressRule(portRange network.PortRange, sourceCIDRs ...string) IngressRule {
	return IngressRule{
		PortRange:   portRange,
		SourceCIDRs: set.NewStrings(sourceCIDRs...),
	}
}
func NewIngressRule ( portRange network . PortRange , sourceCIDRs ... string ) IngressRule { return IngressRule { PortRange : portRange , SourceCIDRs : set . NewStrings ( sourceCIDRs ... ) , } }
NewIngressRule creates a new IngressRule for allowing access to portRange
from the list of sourceCIDRs.
NewIngressRule creates a new IngressRule for allowing access to portRange from the list of sourceCIDRs .