func (r IngressRule) String() string {
	var buf bytes.Buffer
	_, _ = fmt.Fprint(&buf, r.PortRange.String())

	src := strings.Join(r.SourceCIDRs.SortedValues(), ",")
	if src != "" && src != AllNetworksIPV4CIDR && src != AllNetworksIPV6CIDR {
		_, _ = fmt.Fprintf(&buf, " from %s", src)
	}
	return buf.String()
}
// String is the string representation of IngressRule.
String is the string representation of IngressRule.
// String is the string representation of IngressRule .
func (r IngressRule) String() string {
	var buf bytes.Buffer
	_, _ = fmt.Fprint(&buf, r.PortRange.String())
	src := strings.Join(r.SourceCIDRs.SortedValues(), ",")
	if src != "" && src != AllNetworksIPV4CIDR && src != AllNetworksIPV6CIDR {
		_, _ = fmt.Fprintf(&buf, " from %s", src)
	}
	return buf.String()
}
func ( r IngressRule ) String ( ) string { var buf bytes . Buffer _ , _ = fmt . Fprint ( & buf , r . PortRange . String ( ) ) src := strings . Join ( r . SourceCIDRs . SortedValues ( ) , " " ) if src != " " && src != AllNetworksIPV4CIDR && src != AllNetworksIPV6CIDR { _ , _ = fmt . Fprintf ( & buf , " " , src ) } return buf . String ( ) }
String is the string representation of IngressRule.
String is the string representation of IngressRule .