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