package admission
import "k8s.io/kubernetes/pkg/kubeapiserver/admission"
Index ¶
- Variables
- func NewPluginInitializer(internalClient internalclientset.Interface, sharedInformers informers.SharedInformerFactory, authz authorizer.Authorizer, cloudConfig []byte, restMapper meta.RESTMapper) admission.PluginInitializer
- type WantsAuthorizer
- type WantsCloudConfig
- type WantsInternalKubeClientSet
- type WantsInternalKubeInformerFactory
- type WantsRESTMapper
Variables ¶
Plugins is a global registry for admission plugins.
Functions ¶
func NewPluginInitializer ¶
func NewPluginInitializer(internalClient internalclientset.Interface, sharedInformers informers.SharedInformerFactory, authz authorizer.Authorizer, cloudConfig []byte, restMapper meta.RESTMapper) 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 WantsRESTMapper ¶
type WantsRESTMapper interface { SetRESTMapper(meta.RESTMapper) }
WantsRESTMapper defines a function which sets RESTMapper for admission plugins that need it.
Source Files ¶
initializer.go registry.go
- Version
- v1.7.0-alpha.4
- Published
- May 18, 2017
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 2 minutes ago –
Tools for package owners.