Documentation ¶ Index ¶ type Container type Docker func NewDocker() Docker Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Container ¶ type Container struct { ID string `json:"id"` Name string `json:"name"` Image string `json:"image"` State string `json:"state"` Status string `json:"status"` Host string `json:"host"` Port uint `json:"port"` CreatedAt int64 `json:"created_at"` } type Docker ¶ type Docker interface { List(ctx context.Context) (list []Container, err error) } func NewDocker ¶ func NewDocker() Docker Source Files ¶ View all Source files docker.go Click to show internal directories. Click to hide internal directories.