Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct { ID ContainerID Cmd Cmd Entrypoint Entrypoint Created time.Time Name string State string Status string Image *Image Ports []PortMapping Labels map[string]string Volumes []Volume Networks []Network }
type ContainerID ¶
type ContainerID string
type Entrypoint ¶
type Entrypoint []string
func (Entrypoint) String ¶
func (e Entrypoint) String() string
type Image ¶
type Image struct { ID string Name string Tag string Architecture string Author string Cmd []string Digest string Entrypoint []string Env []map[string]string ExposedPorts []string DomainName string Hostname string Labels []map[string]string OS string Size uint64 User string Volumes []string WorkingDir string }
type Network ¶
type PortMapping ¶
func (PortMapping) String ¶
func (p PortMapping) String() string
type Stat ¶
type Stat struct { ContainerID ContainerID `json:"containerId"` CPUPercent float64 `json:"cpuPercent"` MemoryPercent float64 `json:"memoryPercent"` MemoryUsage uint64 `json:"memoryUsage"` MemoryTotal uint64 `json:"memoryTotal"` NetworkInput uint64 `json:"networkInput"` NetworkOutput uint64 `json:"networkOutput"` BlockRead uint64 `json:"blockRead"` BlockWrite uint64 `json:"blockWrite"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.