Documentation ¶
Index ¶
Constants ¶
View Source
const (
PluginName = "apis.kcp.io/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 NewMutatingAdmissionWebhook ¶ added in v0.11.0
func (*Plugin) Admit ¶
func (p *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.
func (*Plugin) SetKubeInformers ¶ added in v0.11.0
func (p *Plugin) SetKubeInformers(local, global kcpkubernetesinformers.SharedInformerFactory)
Click to show internal directories.
Click to hide internal directories.