initializer

package
v0.2.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 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 WantsInternalClientSet

type WantsInternalClientSet interface {
	admission.InitializationValidator
	SetInternalClientSet(kubeclientset.Interface)
}

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

type WantsInternalInformerFactory

type WantsInternalInformerFactory interface {
	admission.InitializationValidator
	SetInternalInformerFactory(kubeinformers.SharedInformerFactory)
}

WantsInternalInformerFactory 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