func portMappingToHostport(portMapping *PortMapping) hostport {
	return hostport{
		port:     portMapping.HostPort,
		protocol: strings.ToLower(string(portMapping.Protocol)),
	}
}
// portMappingToHostport creates hostport structure based on input portmapping
portMappingToHostport creates hostport structure based on input portmapping
// portMappingToHostport creates hostport structure based on input portmapping
func portMappingToHostport(portMapping *PortMapping) hostport {
	return hostport{
		port:     portMapping.HostPort,
		protocol: strings.ToLower(string(portMapping.Protocol)),
	}
}
func portMappingToHostport ( portMapping * PortMapping ) hostport { return hostport { port : portMapping . HostPort , protocol : strings . ToLower ( string ( portMapping . Protocol ) ) , } }
portMappingToHostport creates hostport structure based on input portmapping
portMappingToHostport creates hostport structure based on input portmapping