# 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.
NewMemoryStore initializes a new memory store.
# 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.
# Interfaces
Storer defines an interface that any container store must implement.
# Type aliases
History is a convenience type for storing a list of sandboxes, sorted by creation date in descendant order.
StoreFilter defines a function to filter sandboxes in the store.
StoreReducer defines a function to manipulate sandboxes in the store.