mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-17 16:11:01 -04:00
24 lines
491 B
Go
24 lines
491 B
Go
|
package types
|
||
|
|
||
|
// This file was generated by the swagger tool.
|
||
|
// Editing this file might prove futile when you re-run the swagger generate command
|
||
|
|
||
|
// Port An open port on a container
|
||
|
// swagger:model Port
|
||
|
type Port struct {
|
||
|
|
||
|
// IP
|
||
|
IP string `json:"IP,omitempty"`
|
||
|
|
||
|
// Port on the container
|
||
|
// Required: true
|
||
|
PrivatePort uint16 `json:"PrivatePort"`
|
||
|
|
||
|
// Port exposed on the host
|
||
|
PublicPort uint16 `json:"PublicPort,omitempty"`
|
||
|
|
||
|
// type
|
||
|
// Required: true
|
||
|
Type string `json:"Type"`
|
||
|
}
|