github.com/cookieai-jar/moby@v17.12.1-ce-rc2+incompatible/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 // IP 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 }