Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PortMapping ¶
type PortMapping struct {
// ID is the stable unique identifier for the mapping row.
//
// Required: true
ID string `json:"id"`
// ContainerID is the owning container ID.
//
// Required: true
ContainerID string `json:"containerId"`
// ContainerName is the primary container name.
//
// Required: true
ContainerName string `json:"containerName"`
// HostIP is the host interface IP when the port is published.
//
// Required: false
HostIP string `json:"hostIp,omitempty"`
// HostPort is the published port on the host.
//
// Required: false
HostPort int `json:"hostPort,omitempty"`
// ContainerPort is the exposed port inside the container.
//
// Required: true
ContainerPort int `json:"containerPort"`
// Protocol is the transport protocol.
//
// Required: true
Protocol string `json:"protocol"`
// IsPublished indicates whether the port is bound on the host.
//
// Required: true
IsPublished bool `json:"isPublished"`
}
Click to show internal directories.
Click to hide internal directories.