Documentation
¶
Index ¶
Constants ¶
View Source
const (
PluginName = "apis.kcp.dev/MutatingWebhook"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Plugin ¶
type Plugin struct {
// Using validating plugin, for the dispatcher to use.
// This plugins admit function will never be called.
mutating.Plugin
webhook.WebhookDispatcher
}
func (*Plugin) Admit ¶
func (a *Plugin) Admit(ctx context.Context, attr admission.Attributes, o admission.ObjectInterfaces) error
func (*Plugin) SetExternalKubeInformerFactory ¶
func (p *Plugin) SetExternalKubeInformerFactory(f informers.SharedInformerFactory)
SetExternalKubeInformerFactory implements the WantsExternalKubeInformerFactory interface.
Click to show internal directories.
Click to hide internal directories.