func ToMachineHostPorts(hps []HostPort) network.MachineHostPorts {
	mHps := make(network.MachineHostPorts, len(hps))
	for i, hp := range hps {
		mHps[i] = hp.MachineHostPort()
	}
	return mHps
}
// ToMachineHostPorts transforms multiple Addresses into a
// MachineHostPort collection.
ToMachineHostPorts transforms multiple Addresses into a
MachineHostPort collection.
// ToMachineHostPorts transforms multiple Addresses into a // MachineHostPort collection .
func ToMachineHostPorts(hps []HostPort) network.MachineHostPorts {
	mHps := make(network.MachineHostPorts, len(hps))
	for i, hp := range hps {
		mHps[i] = hp.MachineHostPort()
	}
	return mHps
}
func ToMachineHostPorts ( hps [ ] HostPort ) network . MachineHostPorts { mHps := make ( network . MachineHostPorts , len ( hps ) ) for i , hp := range hps { mHps [ i ] = hp . MachineHostPort ( ) } return mHps }
ToMachineHostPorts transforms multiple Addresses into a
MachineHostPort collection.
ToMachineHostPorts transforms multiple Addresses into a MachineHostPort collection .