package
1.11.1
Repository: https://github.com/ibuildthecloud/cri.git
Documentation: pkg.go.dev

# Functions

LoadNetNS loads existing network namespace.
NewNetNS creates a network namespace for the sandbox.
NewSandbox creates an internally used sandbox type.
NewStore creates a sandbox store.
StoreStatus creates the storage containing the passed in sandbox status with the specified id.

# Constants

StateNotReady is notready state, it ONLY means sandbox container is not running.
StateReady is ready state, it means sandbox container is running.
StateUnknown is unknown state of sandbox.

# Variables

ErrClosedNetNS is the error returned when network namespace is closed.

# Structs

Metadata is the unversioned sandbox metadata.
NetNS holds network namespace for sandbox.
Sandbox contains all resources associated with the sandbox.
Status is the status of a sandbox.
Store stores all sandboxes.

# Interfaces

StatusStorage manages the sandbox status.

# Type aliases

State is the sandbox state we use in containerd/cri.
UpdateFunc is function used to update the sandbox status.