Back to godoc.org
k8s.io/kubernetes / pkg / kubelet / pluginmanager

Package pluginmanager

v1.18.6
Latest Go to latest
Published: Jul 15, 2020 | License: Apache-2.0 | Module: k8s.io/kubernetes

Index

Package Files

type PluginManager

type PluginManager interface {
	// Starts the plugin manager and all the asynchronous loops that it controls
	Run(sourcesReady config.SourcesReady, stopCh <-chan struct{})

	// AddHandler adds the given plugin handler for a specific plugin type, which
	// will be added to the actual state of world cache so that it can be passed to
	// the desired state of world cache in order to be used during plugin
	// registration/deregistration
	AddHandler(pluginType string, pluginHandler cache.PluginHandler)
}

PluginManager runs a set of asynchronous loops that figure out which plugins need to be registered/deregistered and makes it so.

func NewPluginManager

func NewPluginManager(
	sockDir string,
	recorder record.EventRecorder) PluginManager

NewPluginManager returns a new concrete instance implementing the PluginManager interface.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier