initializer

package
v1.12.9 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 10 Imported by: 22

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	coreInformers coreinformers.SharedInformerFactory,
	coreClient coreclientset.Interface,
	externalCoreInformers externalcoreinformers.SharedInformerFactory,
	settingsInformers settingsinformer.SharedInformerFactory,
	kubeInformers kubeinformers.SharedInformerFactory,
	kubeClient kubernetes.Interface,
	dynamicClient dynamic.Interface,
	authz authorizer.Authorizer,
	quotaConfiguration quota.Configuration,
) admission.PluginInitializer

New constructs new instance of PluginInitializer

Types

type WantsAuthorizer

type WantsAuthorizer interface {
	SetAuthorizer(authorizer.Authorizer)
	admission.InitializationValidator
}

WantsAuthorizer defines a function which sets an authorizer for admission plugins that need it.

type WantsDynamicClient added in v1.6.0

type WantsDynamicClient interface {
	SetDynamicClient(dynamic.Interface)
	admission.InitializationValidator
}

WantsDynamicClient defines a function which sets a dynamic client for admission plugins that need it.

type WantsExternalCoreInformerFactory added in v1.1.0

type WantsExternalCoreInformerFactory interface {
	SetExternalCoreInformerFactory(externalcoreinformers.SharedInformerFactory)
	admission.InitializationValidator
}

WantsExternalCoreInformerFactory defines a function which sets external Core InformerFactory for admission plugins that need it.

type WantsInternalCoreClientset

type WantsInternalCoreClientset interface {
	SetInternalCoreClientset(coreclientset.Interface)
	admission.InitializationValidator
}

WantsInternalCoreClientset defines a function which sets Core Clientset for admission plugins that need it.

type WantsInternalCoreInformerFactory

type WantsInternalCoreInformerFactory interface {
	SetInternalCoreInformerFactory(coreinformers.SharedInformerFactory)
	admission.InitializationValidator
}

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

type WantsKubeClientset

type WantsKubeClientset interface {
	SetKubeClientset(kubernetes.Interface)
	admission.InitializationValidator
}

WantsKubeClientset defines a function which sets Kubernetes Clientset for admission plugins that need it.

type WantsKubeInformerFactory

type WantsKubeInformerFactory interface {
	SetKubeInformerFactory(kubeinformers.SharedInformerFactory)
	admission.InitializationValidator
}

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

type WantsQuotaConfiguration added in v1.12.0

type WantsQuotaConfiguration interface {
	SetQuotaConfiguration(quota.Configuration)
	admission.InitializationValidator
}

WantsQuotaConfiguration defines a function which sets quota configuration for admission plugins that need it.

type WantsSettingsInformerFactory

type WantsSettingsInformerFactory interface {
	SetSettingsInformerFactory(settingsinformer.SharedInformerFactory)
	admission.InitializationValidator
}

WantsSettingsInformerFactory 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