Back to / pkg / kubelet / pluginmanager

Package pluginmanager

Latest Go to latest

The latest major version is .

Published: Jul 15, 2020 | License: Apache-2.0 | Module:


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.

Package Files

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

Jump to identifier

Keyboard shortcuts

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