Help us shape the future of Go! Take the 2026 Go Developer Survey

webhook

package
v0.73.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: Apache-2.0 Imports: 22 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// deprecated label, used in old versions
	// keeps this reference to remove the existing webhook installersets
	DEPRECATED_WEBHOOK_INSTALLERSET_LABEL = "validating-defaulting-webhooks.operator.tekton.dev"

	// this label is used to terminate the created webhook installerset on graceful termination
	// use unique name, to identify the resource created by this pod
	WEBHOOK_UNIQUE_LABEL = "operator.tekton.dev/webhook-unique-identifier"

	POD_NAMESPACE_ENV_KEY = "SYSTEM_NAMESPACE"
	POD_NAME_ENV_KEY      = "WEBHOOK_POD_NAME"
)

Variables

View Source
var (
	ErrNamespaceEnvNotSet = fmt.Errorf("namespace environment key %q not set", POD_NAMESPACE_ENV_KEY)
)

Functions

func CleanupWebhookResources added in v0.60.0

func CleanupWebhookResources(ctx context.Context)

func CreateWebhookResources added in v0.52.0

func CreateWebhookResources(ctx context.Context)

func NewConfigValidationController

func NewConfigValidationController(ctx context.Context, cmw configmap.Watcher) *controller.Impl

func NewDefaultingAdmissionController

func NewDefaultingAdmissionController(ctx context.Context, cmw configmap.Watcher) *controller.Impl

func NewValidationAdmissionController

func NewValidationAdmissionController(ctx context.Context, cmw configmap.Watcher) *controller.Impl

func SetTypes

func SetTypes(platform string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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