Documentation ¶
Index ¶
- Constants
- func Register(plugins *admission.Plugins)
- type Plugin
- func (p *Plugin) Admit(ctx context.Context, attr admission.Attributes, o admission.ObjectInterfaces) error
- func (p *Plugin) SetKcpInformers(local, global kcpinformers.SharedInformerFactory)
- func (p *Plugin) SetKubeClusterClient(client kcpkubernetesclientset.ClusterInterface)
- func (p *Plugin) SetKubeInformers(local, global kcpkubernetesinformers.SharedInformerFactory)
- func (p *Plugin) ValidateInitialization() error
Constants ¶
View Source
const (
PluginName = "apis.kcp.io/MutatingWebhook"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Plugin ¶
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) SetKcpInformers ¶ added in v0.20.0
func (p *Plugin) SetKcpInformers(local, global kcpinformers.SharedInformerFactory)
func (*Plugin) SetKubeClusterClient ¶ added in v0.20.0
func (p *Plugin) SetKubeClusterClient(client kcpkubernetesclientset.ClusterInterface)
func (*Plugin) SetKubeInformers ¶ added in v0.11.0
func (p *Plugin) SetKubeInformers(local, global kcpkubernetesinformers.SharedInformerFactory)
func (*Plugin) ValidateInitialization ¶ added in v0.20.0
Click to show internal directories.
Click to hide internal directories.