Documentation ¶
Overview ¶
Package mutating delegates admission checks to dynamically configured mutating webhooks.
Package mutating makes calls to mutating webhooks during the admission process.
Index ¶
Constants ¶
View Source
const (
// Name of admission plug-in
PluginName = "MutatingAdmissionWebhook"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Plugin ¶
Plugin is an implementation of admission.Interface.
func NewMutatingWebhook ¶
NewMutatingWebhook returns a generic admission webhook plugin.
func (*Plugin) Admit ¶
func (a *Plugin) Admit(attr admission.Attributes) error
Admit makes an admission decision based on the request attributes.
func (*Plugin) SetScheme ¶
SetScheme sets a serializer(NegotiatedSerializer) which is derived from the scheme
func (*Plugin) ValidateInitialization ¶
ValidateInitialization implements the InitializationValidator interface.
Click to show internal directories.
Click to hide internal directories.