Documentation ¶
Index ¶
- type ClusterAwareSource
- type WebhookDispatcher
- func (p *WebhookDispatcher) Dispatch(ctx context.Context, attr admission.Attributes, o admission.ObjectInterfaces) error
- func (p *WebhookDispatcher) HasSynced() bool
- func (p *WebhookDispatcher) SetDispatcher(dispatch generic.Dispatcher)
- func (p *WebhookDispatcher) SetHookSource(factory func(cluster logicalcluster.Name) generic.Source, ...)
- func (p *WebhookDispatcher) SetKcpInformers(local, global kcpinformers.SharedInformerFactory)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterAwareSource ¶ added in v0.10.0
type ClusterAwareSource interface { Webhooks(cluster logicalcluster.Name) []webhook.WebhookAccessor HasSynced() bool }
type WebhookDispatcher ¶
func NewWebhookDispatcher ¶ added in v0.11.0
func NewWebhookDispatcher() *WebhookDispatcher
func (*WebhookDispatcher) Dispatch ¶
func (p *WebhookDispatcher) Dispatch(ctx context.Context, attr admission.Attributes, o admission.ObjectInterfaces) error
func (*WebhookDispatcher) HasSynced ¶
func (p *WebhookDispatcher) HasSynced() bool
func (*WebhookDispatcher) SetDispatcher ¶
func (p *WebhookDispatcher) SetDispatcher(dispatch generic.Dispatcher)
func (*WebhookDispatcher) SetHookSource ¶
func (p *WebhookDispatcher) SetHookSource(factory func(cluster logicalcluster.Name) generic.Source, hasSynced func() bool)
func (*WebhookDispatcher) SetKcpInformers ¶
func (p *WebhookDispatcher) SetKcpInformers(local, global kcpinformers.SharedInformerFactory)
SetKcpInformers implements the WantsExternalKcpInformerFactory interface.
Click to show internal directories.
Click to hide internal directories.