webhook

package
v0.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

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

type WebhookDispatcher struct {
	*admission.Handler
	// contains filtered or unexported fields
}

func NewWebhookDispatcher added in v0.11.0

func NewWebhookDispatcher() *WebhookDispatcher

func (*WebhookDispatcher) Dispatch

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL