Documentation ¶
Index ¶
Constants ¶
View Source
const ( Docker = "docker" Containerd = "containerd" CriO = "cri-o" Podman = "podman" )
Variables ¶
View Source
var (
ErrMethodNotImplemented = errors.New("method not implemented")
)
Functions ¶
This section is empty.
Types ¶
type ContainerListOption ¶
type ContainerListOption struct {
All bool
}
type ImageHistory ¶
type Runtime ¶
type Runtime interface { Name() string ImageList(ctx context.Context) ([]*Image, error) ImageInspect(ctx context.Context, imageId string) (*Image, error) ContainerList(ctx context.Context, option *ContainerListOption) ([]*Container, error) ContainerInspect(ctx context.Context, containerId string) (*Container, error) ContainerStart(ctx context.Context, containerId string) error ContainerStop(ctx context.Context, containerId string) error ContainerPause(ctx context.Context, containerId string) error ContainerResume(ctx context.Context, containerId string) error }
Click to show internal directories.
Click to hide internal directories.