Package validating makes calls to validating (i.e., non-mutating) webhooks during the admission process.
const ( // PluginName indicates the name of admission plug-in PluginName = "ValidatingAdmissionWebhook" )
Register registers a plugin
Plugin is an implementation of admission.Interface.
NewValidatingAdmissionWebhook returns a generic admission webhook plugin.
func (a *Plugin) Validate(ctx context.Context, attr admission.Attributes, o admission.ObjectInterfaces) error
Validate makes an admission decision based on the request attributes.