Versions in this module Expand all Collapse all v1 v1.0.1 Jun 25, 2024 Changes in this version + const ContainerManagerCRIO + var ErrIsNonCrioContainer = errors.New("non CRI-O container") + func HandleUncleanShutdown(config *libconfig.Config, store cstorage.Store) error + func ShutdownWasUnclean(config *libconfig.Config) bool + type ContainerCheckpointOptions struct + Keep bool + KeepRunning bool + TargetFile string + type ContainerServer struct + Hooks *hooks.Manager + func New(ctx context.Context, configIface libconfig.Iface) (*ContainerServer, error) + func (c *ContainerServer) AddContainer(ctx context.Context, ctr *oci.Container) + func (c *ContainerServer) AddInfraContainer(ctx context.Context, ctr *oci.Container) + func (c *ContainerServer) AddSandbox(ctx context.Context, sb *sandbox.Sandbox) error + func (c *ContainerServer) Config() *libconfig.Config + func (c *ContainerServer) ContainerCheckpoint(ctx context.Context, config *metadata.ContainerConfig, ...) (string, error) + func (c *ContainerServer) ContainerIDForName(name string) (string, error) + func (c *ContainerServer) ContainerRestore(ctx context.Context, config *metadata.ContainerConfig, ...) (string, error) + func (c *ContainerServer) ContainerStateToDisk(ctx context.Context, ctr *oci.Container) error + func (c *ContainerServer) CtrIDIndex() *truncindex.TruncIndex + func (c *ContainerServer) GetContainer(ctx context.Context, id string) *oci.Container + func (c *ContainerServer) GetContainerFromShortID(ctx context.Context, cid string) (*oci.Container, error) + func (c *ContainerServer) GetContainerTopLayerID(ctx context.Context, containerID string) (string, error) + func (c *ContainerServer) GetInfraContainer(ctx context.Context, id string) *oci.Container + func (c *ContainerServer) GetSandbox(id string) *sandbox.Sandbox + func (c *ContainerServer) GetSandboxContainer(id string) *oci.Container + func (c *ContainerServer) GetStorageContainer(ctx context.Context, container string) (*cstorage.Container, error) + func (c *ContainerServer) HasContainer(id string) bool + func (c *ContainerServer) HasSandbox(id string) bool + func (c *ContainerServer) ListContainers(filters ...func(*oci.Container) bool) ([]*oci.Container, error) + func (c *ContainerServer) ListSandboxes() []*sandbox.Sandbox + func (c *ContainerServer) LoadContainer(ctx context.Context, id string) (retErr error) + func (c *ContainerServer) LoadSandbox(ctx context.Context, id string) (sb *sandbox.Sandbox, retErr error) + func (c *ContainerServer) LookupContainer(ctx context.Context, idOrName string) (*oci.Container, error) + func (c *ContainerServer) LookupSandbox(idOrName string) (*sandbox.Sandbox, error) + func (c *ContainerServer) PodIDForName(name string) (string, error) + func (c *ContainerServer) PodIDIndex() *truncindex.TruncIndex + func (c *ContainerServer) ReleaseContainerName(ctx context.Context, name string) + func (c *ContainerServer) ReleasePodName(name string) + func (c *ContainerServer) RemoveContainer(ctx context.Context, ctr *oci.Container) + func (c *ContainerServer) RemoveInfraContainer(ctx context.Context, ctr *oci.Container) + func (c *ContainerServer) RemoveSandbox(ctx context.Context, id string) error + func (c *ContainerServer) ReserveContainerName(id, name string) (string, error) + func (c *ContainerServer) ReservePodName(id, name string) (string, error) + func (c *ContainerServer) Runtime() *oci.Runtime + func (c *ContainerServer) Shutdown() error + func (c *ContainerServer) StorageImageServer() storage.ImageServer + func (c *ContainerServer) StorageRuntimeServer() storage.RuntimeServer + func (c *ContainerServer) Store() cstorage.Store + func (c *ContainerServer) UpdateContainerLinuxResources(ctr *oci.Container, resources *rspec.LinuxResources) + type ExternalBindMount struct + Destination string + FileType string + Permissions uint32 + Source string