Documentation
¶
Index ¶
Constants ¶
View Source
const (
PluginName = "apis.kcp.io/ValidatingWebhook"
)
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.
validating.Plugin
*webhook.WebhookDispatcher
}
func (*Plugin) SetExternalKubeInformerFactory ¶
func (p *Plugin) SetExternalKubeInformerFactory(f kubernetesinformers.SharedInformerFactory)
SetExternalKubeInformerFactory implements the WantsExternalKubeInformerFactory interface.
func (*Plugin) SetKubeInformers ¶ added in v0.11.0
func (p *Plugin) SetKubeInformers(local, global kcpkubernetesinformers.SharedInformerFactory)
func (*Plugin) Validate ¶
func (p *Plugin) Validate(ctx context.Context, attr admission.Attributes, o admission.ObjectInterfaces) error
Click to show internal directories.
Click to hide internal directories.