Documentation ¶
Index ¶
Constants ¶
View Source
const (
PluginName = "apis.kcp.dev/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 informers.SharedInformerFactory)
SetExternalKubeInformerFactory implements the WantsExternalKubeInformerFactory interface.
func (*Plugin) Validate ¶
func (a *Plugin) Validate(ctx context.Context, attr admission.Attributes, o admission.ObjectInterfaces) error
Click to show internal directories.
Click to hide internal directories.