const PluginName … // Register registers a plugin func Register(plugins *admission.Plugins) { … } type Provision … var _ … var _ … var _ … // Admit makes an admission decision based on the request attributes func (p *Provision) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error { … } // NewProvision creates a new namespace provision admission control handler func NewProvision() *Provision { … } // SetExternalKubeClientSet implements the WantsExternalKubeClientSet interface. func (p *Provision) SetExternalKubeClientSet(client kubernetes.Interface) { … } // SetExternalKubeInformerFactory implements the WantsExternalKubeInformerFactory interface. func (p *Provision) SetExternalKubeInformerFactory(f informers.SharedInformerFactory) { … } // ValidateInitialization implements the InitializationValidator interface. func (p *Provision) ValidateInitialization() error { … }