initializer

package
v0.2.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	informers informers.SharedInformerFactory,
	client clientset.Interface,
) pluginInitializer

New creates an instance of node admission plugins initializer.

Types

type WantsExternalClientSet

type WantsExternalClientSet interface {
	admission.InitializationValidator
	SetExternalClientSet(clientset.Interface)
}

WantsExternalClientSet defines a function which sets external ClientSet for admission plugins that need it.

type WantsExternalInformerFactory

type WantsExternalInformerFactory interface {
	admission.InitializationValidator
	SetExternalInformerFactory(informers.SharedInformerFactory)
}

WantsExternalInformerFactory defines a function which sets InformerFactory for admission plugins that need it.

Jump to

Keyboard shortcuts

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