Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPluginInitializer ¶
func NewPluginInitializer(internalClient internalclientset.Interface, sharedInformers informers.SharedInformerFactory, authz authorizer.Authorizer, cloudConfig []byte, restMapper meta.RESTMapper, quotaRegistry quota.Registry) admission.PluginInitializer
NewPluginInitializer constructs new instance of PluginInitializer
Types ¶
type WantsAuthorizer ¶
type WantsAuthorizer interface { SetAuthorizer(authorizer.Authorizer) admission.Validator }
WantsAuthorizer defines a function which sets Authorizer for admission plugins that need it.
type WantsCloudConfig ¶
type WantsCloudConfig interface {
SetCloudConfig([]byte)
}
WantsCloudConfig defines a function which sets CloudConfig for admission plugins that need it.
type WantsInternalKubeClientSet ¶
type WantsInternalKubeClientSet interface { SetInternalKubeClientSet(internalclientset.Interface) admission.Validator }
WantsInternalKubeClientSet defines a function which sets ClientSet for admission plugins that need it
type WantsInternalKubeInformerFactory ¶
type WantsInternalKubeInformerFactory interface { SetInternalKubeInformerFactory(informers.SharedInformerFactory) admission.Validator }
WantsInternalKubeInformerFactory defines a function which sets InformerFactory for admission plugins that need it
type WantsQuotaRegistry ¶ added in v1.7.0
WantsQuotaRegistry defines a function which sets quota registry for admission plugins that need it.
type WantsRESTMapper ¶ added in v1.7.0
type WantsRESTMapper interface {
SetRESTMapper(meta.RESTMapper)
}
WantsRESTMapper defines a function which sets RESTMapper for admission plugins that need it.