initializer

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 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,
	extClientset 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
	SetInternalInformerFactory(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