package
0.2.8
Repository: https://github.com/docker/containerd.git
Documentation: pkg.go.dev

# Functions

Load return a new container from the matchin state file on disk.
New returns a new container.
NewStdio wraps the given standard io path into an Stdio struct.

# Constants

ControlFile holds the name of the pipe used to control the shim.
ExitFile holds the name of the pipe used to monitor process exit.
ExitStatusFile holds the name of the file where the container exit code is to be written.
InitProcessID holds the special ID used for the very first container's process.
Possible container states.
Possible container states.
StartTimeFile holds the name of the file in which the process start time is saved.
StateFile holds the name of the file where the container state is written.
Possible container states.
UnknownStatus is the value returned when a process exit status cannot be determined.

# Variables

ErrContainerExited is returned when access to an exited container is attempted.
ErrContainerNotStarted is returned when a container fails to start without error from the shim or the OCI runtime.
ErrContainerStartTimeout is returned if a container takes too long to start.
ErrProcessNotExited is returned when trying to retrieve the exit status of an alive process.
ErrShimExited is returned if the shim or the contianer's init process exits before completing.

# Structs

Blkio regroups all the Blkio related stats.
BlkioEntry represents a single record for a Blkio stat.
Checkpoint holds information regarding a container checkpoint.
ContainerOpts keeps the options passed at container creation.
CPU regroups both a CPU usage and throttling information.
CPUUsage holds information regarding cpu usage.
Hugetlb holds information regarding a container huge tlb usage.
Memory holds information regarding the different type of memories available.
MemoryEntry regroups statistic about a given type of memory.
Pids holds the stat of the pid usage of the machine.
PlatformProcessState container platform-specific fields in the ProcessState structure.
ProcessState holds the process OCI specs along with various fields required by containerd.
Resource regroups the various container limits that can be updated.
Stat holds a container statistics.
Stdio holds the path to the 3 pipes used for the standard ios.
Throttling holds a cpu throttling information.

# Interfaces

Container defines the operations allowed on a container.
OOM wraps a container OOM.
Process holds the operation allowed on a container's process.

# Type aliases

State represents a container state.