webhook

package
v1.4.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WebhookHandlerPath = make(map[string]struct{})

Functions

func Initialize

func Initialize(ctx context.Context, cc *config.CompletedConfig, restCfg *rest.Config) error

func SetupWithManager

func SetupWithManager(c *config.CompletedConfig, mgr manager.Manager) error

Types

type GateFunc

type GateFunc func() (enabled bool)

type SetupWebhookWithManager

type SetupWebhookWithManager interface {
	// mutate path, validatepath, error
	SetupWebhookWithManager(mgr ctrl.Manager) (string, string, error)
}

Directories

Path Synopsis
deploymentrender
gateway
node
v1
nodepool
platformadmin
yurtappdaemon
yurtappoverrider
yurtappset
yurtstaticset

Jump to

Keyboard shortcuts

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