func FromNetworkPortRange(pr network.PortRange) PortRange {
	return PortRange{
		FromPort: pr.FromPort,
		ToPort:   pr.ToPort,
		Protocol: pr.Protocol,
	}
}
// FromNetworkPortRange is a convenience helper to create a parameter
// out of the network type, here for PortRange.
FromNetworkPortRange is a convenience helper to create a parameter
out of the network type, here for PortRange.
// FromNetworkPortRange is a convenience helper to create a parameter // out of the network type here for PortRange .
func FromNetworkPortRange(pr network.PortRange) PortRange {
	return PortRange{
		FromPort: pr.FromPort,
		ToPort:   pr.ToPort,
		Protocol: pr.Protocol,
	}
}
func FromNetworkPortRange ( pr network . PortRange ) PortRange { return PortRange { FromPort : pr . FromPort , ToPort : pr . ToPort , Protocol : pr . Protocol , } }
FromNetworkPortRange is a convenience helper to create a parameter
out of the network type, here for PortRange.
FromNetworkPortRange is a convenience helper to create a parameter out of the network type here for PortRange .