webhook

package
v0.43.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateConfiguration added in v0.17.0

func ValidateConfiguration(ctx context.Context, uns *unstructured.Unstructured) error

ValidateConfiguration runs extra validation on Configuration resources

func ValidateService added in v0.17.0

func ValidateService(ctx context.Context, uns *unstructured.Unstructured) error

ValidateService runs extra validation on Service resources

Types

type DryRunMode added in v0.15.0

type DryRunMode string

DryRunMode represents possible values of the config.DryRunFeatureKey annotation

const (
	// DryRunEnabled will run the dryrun logic. Will succeed if dryrun is unsupported.
	DryRunEnabled DryRunMode = "enabled"

	// DryRunStrict will run the dryrun logic and fail if dryrun is not supported.
	DryRunStrict DryRunMode = "strict"
)

Jump to

Keyboard shortcuts

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