port.go 543 B

1234567891011121314151617181920212223
  1. package types
  2. // This file was generated by the swagger tool.
  3. // Editing this file might prove futile when you re-run the swagger generate command
  4. // Port An open port on a container
  5. // swagger:model Port
  6. type Port struct {
  7. // Host IP address that the container's port is mapped to
  8. IP string `json:"IP,omitempty"`
  9. // Port on the container
  10. // Required: true
  11. PrivatePort uint16 `json:"PrivatePort"`
  12. // Port exposed on the host
  13. PublicPort uint16 `json:"PublicPort,omitempty"`
  14. // type
  15. // Required: true
  16. Type string `json:"Type"`
  17. }