const PluginName … // Register registers a plugin func Register(plugins *admission.Plugins) { … } type Plugin … var _ … // NewMutatingWebhook returns a generic admission webhook plugin. func NewMutatingWebhook(configFile io.Reader) (*Plugin, error) { … } // ValidateInitialization implements the InitializationValidator interface. func (a *Plugin) ValidateInitialization() error { … } // Admit makes an admission decision based on the request attributes. func (a *Plugin) Admit(ctx context.Context, attr admission.Attributes, o admission.ObjectInterfaces) error { … }