runtimeclass

package
v1.13.0-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

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

func NewManager

func NewManager(client dynamic.Interface) *Manager

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

func (*Manager) LookupRuntimeHandler

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 apierrors.NotFound error.

func (*Manager) Run

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

Run starts syncing the RuntimeClass cache with the apiserver.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL