Documentation ¶
Overview ¶
Package kuberuntime contains an implementation of kubecontainer.Runtime using the interface in pkg/kubelet/api.
Index ¶
- Variables
- func NewContainerGC(client internalApi.RuntimeService, podGetter podGetter, ...) *containerGC
- func NewFakeKubeRuntimeManager(runtimeService internalApi.RuntimeService, ...) (*kubeGenericRuntimeManager, error)
- func NewKubeGenericRuntimeManager(recorder record.EventRecorder, livenessManager proberesults.Manager, ...) (kubecontainer.Runtime, error)
Constants ¶
This section is empty.
Variables ¶
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.0
func NewContainerGC(client internalApi.RuntimeService, podGetter podGetter, manager *kubeGenericRuntimeManager) *containerGC
NewContainerGC creates a new containerGC.
func NewFakeKubeRuntimeManager ¶
func NewFakeKubeRuntimeManager(runtimeService internalApi.RuntimeService, imageService internalApi.ImageManagerService, machineInfo *cadvisorapi.MachineInfo, networkPlugin network.NetworkPlugin, osInterface kubecontainer.OSInterface) (*kubeGenericRuntimeManager, error)
func NewKubeGenericRuntimeManager ¶
func NewKubeGenericRuntimeManager( recorder record.EventRecorder, livenessManager proberesults.Manager, containerRefManager *kubecontainer.RefManager, machineInfo *cadvisorapi.MachineInfo, podGetter podGetter, osInterface kubecontainer.OSInterface, networkPlugin network.NetworkPlugin, runtimeHelper kubecontainer.RuntimeHelper, httpClient types.HttpGetter, imageBackOff *flowcontrol.Backoff, serializeImagePulls bool, imagePullQPS float32, imagePullBurst int, cpuCFSQuota bool, runtimeService internalApi.RuntimeService, imageService internalApi.ImageManagerService, ) (kubecontainer.Runtime, error)
NewKubeGenericRuntimeManager creates a new kubeGenericRuntimeManager
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.