package kuberuntime
import "k8s.io/kubernetes/pkg/kubelet/kuberuntime"
Package kuberuntime contains an implementation of kubecontainer.Runtime using the interface in pkg/kubelet/v1.
Index ¶
- Variables
- func NewContainerGC(client internalapi.RuntimeService, podStateProvider podStateProvider, manager *kubeGenericRuntimeManager) *containerGC
- func NewFakeKubeRuntimeManager(runtimeService internalapi.RuntimeService, imageService internalapi.ImageManagerService, machineInfo *cadvisorapi.MachineInfo, osInterface kubecontainer.OSInterface, runtimeHelper kubecontainer.RuntimeHelper, keyring credentialprovider.DockerKeyring) (*kubeGenericRuntimeManager, error)
- type KubeGenericRuntime
Variables ¶
var ( ErrCreateContainerConfig = errors.New("CreateContainerConfigError") ErrCreateContainer = errors.New("CreateContainerError") ErrPostStartHook = errors.New("PostStartHookError") )
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 ¶
func NewContainerGC(client internalapi.RuntimeService, podStateProvider podStateProvider, 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 ¶
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, podStateProvider podStateProvider, 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
Source Files ¶
doc.go fake_kuberuntime_manager.go helpers.go instrumented_services.go kuberuntime_container.go kuberuntime_gc.go kuberuntime_image.go kuberuntime_logs.go kuberuntime_manager.go kuberuntime_sandbox.go labels.go legacy.go security_context.go
- Version
- v1.8.5-beta.0
- Published
- Nov 20, 2017
- Platform
- js/wasm
- Imports
- 56 packages
- Last checked
- 4 minutes ago –
Tools for package owners.