Versions in this module Expand all Collapse all v0 v0.1.14 Aug 27, 2020 Changes in this version + const RestartPolicyAny + const RestartPolicyNone + const RestartPolicyOnFailure + var RestartPolicyList = []string + type Container struct + CPULimit float64 + CPUTime uint64 + Command string + ID string + Image string + Labels []string + MemoryLimit uint64 + MemoryUsage uint64 + PidsCurrent uint64 + PidsLimit uint64 + Platform string + Ports []Port + RestartPolicyCondition string + Status string + type ContainerConfig struct + CPULimit float64 + Environment []string + ID string + Image string + Labels map[string]string + MemLimit formatter.MemBytes + Ports []Port + RestartPolicyCondition string + Volumes []string + type DeleteRequest struct + Force bool + type ExecRequest struct + Command string + Interactive bool + Stderr io.Writer + Stdin io.Reader + Stdout io.Writer + Tty bool + type LogsRequest struct + Follow bool + Tail string + Width int + Writer io.Writer + type Port struct + ContainerPort uint32 + HostIP string + HostPort uint32 + Protocol string + type Service interface + Delete func(ctx context.Context, containerID string, request DeleteRequest) error + Exec func(ctx context.Context, containerName string, request ExecRequest) error + Inspect func(ctx context.Context, id string) (Container, error) + List func(ctx context.Context, all bool) ([]Container, error) + Logs func(ctx context.Context, containerName string, request LogsRequest) error + Run func(ctx context.Context, config ContainerConfig) error + Start func(ctx context.Context, containerID string) error + Stop func(ctx context.Context, containerID string, timeout *uint32) error