validation

package
v0.13.11 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const Path = "/rules/generic/validating"

Variables

This section is empty.

Functions

func ForKind added in v0.13.11

func ForKind(
	gk schema.GroupKind,
	handler handlers.Handler,
	subresources ...string,
) handlers.Handler

ForKind scopes a validator hosted by the generic rules endpoint to one concrete Kubernetes kind. The main resource is always included; named subresources may be included explicitly. The scope check runs before tenant/ruleset resolution and object decoding.

func GenericRules

func GenericRules(
	regexCache *cache.RegexCache,
) handlers.TypedHandlerWithTenantWithRuleset[genericObject]

func IngressRules added in v0.13.10

func Register

func Register(
	regexCache *cache.RegexCache,
	cfg configuration.Configuration,
	resourceRules ...handlers.Handler,
) handlers.Webhook

Types

This section is empty.

Jump to

Keyboard shortcuts

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