github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/api/types/port.go (about) 1 package types 2 3 // This file was generated by the swagger tool. 4 // Editing this file might prove futile when you re-run the swagger generate command 5 6 // Port An open port on a container 7 // swagger:model Port 8 type Port struct { 9 10 // Host IP address that the container's port is mapped to 11 IP string `json:"IP,omitempty"` 12 13 // Port on the container 14 // Required: true 15 PrivatePort uint16 `json:"PrivatePort"` 16 17 // Port exposed on the host 18 PublicPort uint16 `json:"PublicPort,omitempty"` 19 20 // type 21 // Required: true 22 Type string `json:"Type"` 23 }