Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New( extClientset kubernetes.Interface, extInformers informers.SharedInformerFactory, authz authorizer.Authorizer, scheme *runtime.Scheme, ) pluginInitializer
New creates an instance of admission plugins initializer. TODO(p0lyn0mial): make the parameters public, this construction seems to be redundant.
Types ¶
type WantsAuthorizer ¶
type WantsAuthorizer interface { SetAuthorizer(authorizer.Authorizer) admission.InitializationValidator }
WantsAuthorizer defines a function which sets Authorizer for admission plugins that need it.
type WantsExternalKubeClientSet ¶
type WantsExternalKubeClientSet interface { SetExternalKubeClientSet(kubernetes.Interface) admission.InitializationValidator }
WantsExternalKubeClientSet defines a function which sets external ClientSet for admission plugins that need it
type WantsExternalKubeInformerFactory ¶
type WantsExternalKubeInformerFactory interface { SetExternalKubeInformerFactory(informers.SharedInformerFactory) admission.InitializationValidator }
WantsExternalKubeInformerFactory defines a function which sets InformerFactory for admission plugins that need it
type WantsScheme ¶
type WantsScheme interface { SetScheme(*runtime.Scheme) admission.InitializationValidator }
WantsScheme defines a function that accepts runtime.Scheme for admission plugins that need it.
Click to show internal directories.
Click to hide internal directories.