package
1.0.1
Repository: https://github.com/hacktohell/cri-o.git
Documentation: pkg.go.dev

# Functions

HostNetNsPath returns the current network namespace for the host.
NetNsGet returns the NetNs associated with the given nspath and name.
New creates and populates a new pod sandbox New sandboxes have no containers, no infra container, and no network namespaces associated with them An infra container must be attached before the sandbox is added to the state.

# Constants

DefaultShmSize is the default shm size.
NsRunDir is the default directory in which running network namespaces are stored.
PodInfraCommand is the default command when starting a pod infrastructure container.

# Variables

ErrClosedNetNS is the error returned when the network namespace of the sandbox is closed.
ErrIDEmpty is the erro returned when the id of the sandbox is empty.

# Structs

NetNs handles data pertaining a network namespace.
Sandbox contains data surrounding kubernetes sandboxes on the server.