Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidStateTransitions ¶
Types ¶
type Config ¶
type Docker ¶
func (*Docker) Inspect ¶
func (d *Docker) Inspect(containerID string) DockerInspectResponse
func (*Docker) Run ¶
func (d *Docker) Run() DockerResult
func (*Docker) Stop ¶
func (d *Docker) Stop(id string) DockerResult
type DockerInspectResponse ¶
type DockerInspectResponse struct {
Error error
Container *types.ContainerJSON
}
type DockerResult ¶
type Task ¶
type Task struct {
ID uuid.UUID
ContainerID string
Name string
State State
Image string
Memory int64
Disk int64
Cpu float64
ExposedPorts nat.PortSet
HostPorts nat.PortMap
PortBindings map[string]string
RestartPolicy string
StartTime time.Time
FinishTime time.Time
HealthCheck string
RestartCount int
}
Click to show internal directories.
Click to hide internal directories.