Documentation ¶
Overview ¶
Package kuberuntime contains an implementation of kubecontainer.Runtime using the interface in pkg/kubelet/v1.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCreateContainerConfig = errors.New("CreateContainerConfigError") ErrCreateContainer = errors.New("CreateContainerError") ErrPostStartHook = errors.New("PostStartHookError") )
View Source
var ( // ErrVersionNotSupported is returned when the api version of runtime interface is not supported ErrVersionNotSupported = errors.New("Runtime api version is not supported") )
Functions ¶
func NewContainerGC ¶ added in v1.5.1
func NewContainerGC(client internalapi.RuntimeService, podDeletionProvider podDeletionProvider, manager *kubeGenericRuntimeManager) *containerGC
NewContainerGC creates a new containerGC.
func NewFakeKubeRuntimeManager ¶
func NewFakeKubeRuntimeManager(runtimeService internalapi.RuntimeService, imageService internalapi.ImageManagerService, machineInfo *cadvisorapi.MachineInfo, osInterface kubecontainer.OSInterface, runtimeHelper kubecontainer.RuntimeHelper, keyring credentialprovider.DockerKeyring) (*kubeGenericRuntimeManager, error)
Types ¶
type KubeGenericRuntime ¶ added in v1.5.1
type KubeGenericRuntime interface { kubecontainer.Runtime kubecontainer.IndirectStreamingRuntime kubecontainer.ContainerCommandRunner }
func NewKubeGenericRuntimeManager ¶
func NewKubeGenericRuntimeManager( recorder record.EventRecorder, livenessManager proberesults.Manager, seccompProfileRoot string, containerRefManager *kubecontainer.RefManager, machineInfo *cadvisorapi.MachineInfo, podDeletionProvider podDeletionProvider, osInterface kubecontainer.OSInterface, runtimeHelper kubecontainer.RuntimeHelper, httpClient types.HttpGetter, imageBackOff *flowcontrol.Backoff, serializeImagePulls bool, imagePullQPS float32, imagePullBurst int, cpuCFSQuota bool, runtimeService internalapi.RuntimeService, imageService internalapi.ImageManagerService, internalLifecycle cm.InternalContainerLifecycle, ) (KubeGenericRuntime, error)
NewKubeGenericRuntimeManager creates a new kubeGenericRuntimeManager
Click to show internal directories.
Click to hide internal directories.