Versions in this module Expand all Collapse all v1 v1.0.0-rc1 Sep 8, 2017 v1.0.0-beta.0 Aug 3, 2017 v1.0.0-alpha.0 Jun 20, 2017 v0 v0.0.0 Jan 2, 2017 Changes in this version + var ErrInvalidContainerID = errors.New("invalid container ID") + var ErrInvalidContainerName = errors.New("invalid container name") + var ErrInvalidImageName = errors.New("invalid image name") + var ErrInvalidPodName = errors.New("invalid pod name") + var ErrInvalidSandboxID = errors.New("invalid sandbox ID") + type ContainerInfo struct + Config *v1.Image + Dir string + ID string + RunDir string + type ImageResult struct + ID string + Names []string + Size *uint64 + type ImageServer interface + GetStore func() storage.Store + ImageStatus func(systemContext *types.SystemContext, filter string) (*ImageResult, error) + ListImages func(filter string) ([]ImageResult, error) + PullImage func(systemContext *types.SystemContext, imageName string, options *copy.Options) (types.ImageReference, error) + RemoveImage func(systemContext *types.SystemContext, imageName string) error + func GetImageService(store storage.Store, defaultTransport string) (ImageServer, error) + type RuntimeContainerMetadata struct + Attempt uint32 + ContainerName string + CreatedAt int64 + ImageID string + ImageName string + MetadataName string + MountLabel string + Namespace string + Pod bool + PodID string + PodName string + UID string + func (metadata *RuntimeContainerMetadata) SetMountLabel(mountLabel string) + type RuntimeServer interface + CreateContainer func(systemContext *types.SystemContext, ...) (ContainerInfo, error) + CreatePodSandbox func(systemContext *types.SystemContext, ...) (ContainerInfo, error) + DeleteContainer func(idOrName string) error + GetContainerMetadata func(idOrName string) (RuntimeContainerMetadata, error) + GetRunDir func(id string) (string, error) + GetWorkDir func(id string) (string, error) + RemovePodSandbox func(idOrName string) error + SetContainerMetadata func(idOrName string, metadata RuntimeContainerMetadata) error + StartContainer func(idOrName string) (string, error) + StopContainer func(idOrName string) error + func GetRuntimeService(image ImageServer) RuntimeServer