Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Docker ¶
type Docker interface {
GetContainer(containerID string) (*models.Container, error)
ContainersList() []*models.Container
ContainerLogs(containerID string) (io.ReadCloser, error)
ContainerStats(containerID string) (io.ReadCloser, error)
ContainerStart(containerID string) error
ContainerStop(containerID string) error
ContainerRemove(containerID string, removeForm *models.ContainerRemoveForm) error
ContainerRename(containerID, newName string) error
ImagesList() []*models.Image
ImageTag(ctx context.Context, imageID, newTag string) error
ImageRemove(ctx context.Context, imageID string, force, pruneChildren bool) error
}
Click to show internal directories.
Click to hide internal directories.