webhook

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: Apache-2.0 Imports: 22 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) 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
gateway
nodepool
pod
v1
yurtappdaemon
yurtappset
yurtstaticset

Jump to

Keyboard shortcuts

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