func APIHostPortsToNoProxyString(ahp []SpaceHostPorts) string {
	noProxySet := set.NewStrings()
	for _, host := range ahp {
		for _, hp := range host {
			if hp.SpaceAddress.Scope == ScopeMachineLocal || hp.SpaceAddress.Scope == ScopeLinkLocal {
				continue
			}
			noProxySet.Add(hp.SpaceAddress.Value)
		}
	}
	return strings.Join(noProxySet.SortedValues(), ",")
}
// APIHostPortsToNoProxyString converts list of lists of NetAddrs() to
// a NoProxy-like comma separated string, ignoring local addresses
APIHostPortsToNoProxyString converts list of lists of NetAddrs() to
a NoProxy-like comma separated string, ignoring local addresses
// APIHostPortsToNoProxyString converts list of lists of NetAddrs () to // a NoProxy - like comma separated string ignoring local addresses
func APIHostPortsToNoProxyString(ahp []SpaceHostPorts) string {
	noProxySet := set.NewStrings()
	for _, host := range ahp {
		for _, hp := range host {
			if hp.SpaceAddress.Scope == ScopeMachineLocal || hp.SpaceAddress.Scope == ScopeLinkLocal {
				continue
			}
			noProxySet.Add(hp.SpaceAddress.Value)
		}
	}
	return strings.Join(noProxySet.SortedValues(), ",")
}
func APIHostPortsToNoProxyString ( ahp [ ] SpaceHostPorts ) string { noProxySet := set . NewStrings ( ) for _ , host := range ahp { for _ , hp := range host { if hp . SpaceAddress . Scope == ScopeMachineLocal || hp . SpaceAddress . Scope == ScopeLinkLocal { continue } noProxySet . Add ( hp . SpaceAddress . Value ) } } return strings . Join ( noProxySet . SortedValues ( ) , " " ) }
APIHostPortsToNoProxyString converts list of lists of NetAddrs() to
a NoProxy-like comma separated string, ignoring local addresses
APIHostPortsToNoProxyString converts list of lists of NetAddrs () to a NoProxy - like comma separated string ignoring local addresses