Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerEngineHandler ¶
type ContainerEngineHandler interface {
ListNetworks(ctx context.Context) ([]model.Network, error)
ListContainers(ctx context.Context, filter model.ContainerFilter) ([]model.Container, error)
ListImages(ctx context.Context, filter model.ImageFilter) ([]model.Image, error)
ListVolumes(ctx context.Context, filter model.VolumeFilter) ([]model.Volume, error)
NetworkInfo(ctx context.Context, id string) (model.Network, error)
NetworkCreate(ctx context.Context, net model.Network) (string, error)
NetworkRemove(ctx context.Context, id string) error
ContainerInfo(ctx context.Context, id string) (model.Container, error)
ContainerCreate(ctx context.Context, container model.Container) (id string, err error)
ContainerRemove(ctx context.Context, id string, force bool) error
ContainerStart(ctx context.Context, id string) error
ContainerStop(ctx context.Context, id string) error
ContainerRestart(ctx context.Context, id string) error
ContainerLog(ctx context.Context, id string, logOptions model.LogFilter) (io.ReadCloser, error)
ImageInfo(ctx context.Context, id string) (model.Image, error)
ImagePull(ctx context.Context, id string) error
ImageRemove(ctx context.Context, id string) error
VolumeInfo(ctx context.Context, id string) (model.Volume, error)
VolumeCreate(ctx context.Context, vol model.Volume) (string, error)
VolumeRemove(ctx context.Context, id string, force bool) error
}
Click to show internal directories.
Click to hide internal directories.