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