package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
BuildContainerLogsDirectory builds absolute log directory path for a container in pod.
BuildPodLogsDirectory builds absolute log directory path for a pod sandbox.
GetHugepageLimitsFromResources returns limits of each hugepages from resources.
GetStableKey generates a key (string) to uniquely identify a (pod, container) tuple.
NewKubeGenericRuntimeManager creates a new kubeGenericRuntimeManager.
# Variables
ErrCreateContainer - failed to create container.
ErrCreateContainerConfig - failed to create container config.
ErrPostStartHook - failed to execute PostStartHook.
ErrPreCreateHook - failed to execute PreCreateHook.
ErrPreStartHook - failed to execute PreStartHook.
ErrVersionNotSupported is returned when the api version of runtime interface is not supported.
# Interfaces
KubeGenericRuntime is a interface contains interfaces for container runtime and command.