kubernetes: k8s.io/kubernetes/pkg/kubelet/runtimeclass Index | Files | Directories

package runtimeclass

import "k8s.io/kubernetes/pkg/kubelet/runtimeclass"


Package Files


type Manager Uses

type Manager struct {
    // contains filtered or unexported fields

Manager caches RuntimeClass API objects, and provides accessors to the Kubelet.

func NewManager Uses

func NewManager(client clientset.Interface) *Manager

NewManager returns a new RuntimeClass Manager. Run must be called before the manager can be used.

func (*Manager) LookupRuntimeHandler Uses

func (m *Manager) LookupRuntimeHandler(runtimeClassName *string) (string, error)

LookupRuntimeHandler returns the RuntimeHandler string associated with the given RuntimeClass name (or the default of "" for nil). If the RuntimeClass is not found, it returns an errors.NotFound error.

func (*Manager) Start Uses

func (m *Manager) Start(stopCh <-chan struct{})

Start starts syncing the RuntimeClass cache with the apiserver.

func (*Manager) WaitForCacheSync Uses

func (m *Manager) WaitForCacheSync(stopCh <-chan struct{})

WaitForCacheSync exposes the WaitForCacheSync method on the informer factory for testing purposes.



Package runtimeclass imports 5 packages (graph) and is imported by 9 packages. Updated 2019-09-15. Refresh now. Tools for package owners.