Documentation
¶
Overview ¶
This package defines some common types used by all task metadata functions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Network ¶
type Network struct { NetworkMode string `json:"NetworkMode,omitempty"` IPv4Addresses []string `json:"IPv4Addresses,omitempty"` IPv6Addresses []string `json:"IPv6Addresses,omitempty"` }
Network is a struct that keeps track of metadata of a network interface
type PortResponse ¶
type PortResponse struct { ContainerPort uint16 `json:"ContainerPort,omitempty"` Protocol string `json:"Protocol,omitempty"` HostPort uint16 `json:"HostPort,omitempty"` HostIp string `json:"HostIp,omitempty"` }
PortResponse defines the schema for portmapping response JSON object.
type VolumeResponse ¶
type VolumeResponse struct { DockerName string `json:"DockerName,omitempty"` Source string `json:"Source,omitempty"` Destination string `json:"Destination,omitempty"` }
VolumeResponse is the schema for the volume response JSON object
Click to show internal directories.
Click to hide internal directories.