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

validation

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 32 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,
	compilers ...ruleengine.ConditionCompiler,
) handlers.TypedHandlerWithTenantWithRuleset[genericObject]

func IngressRules added in v0.13.10

Types

This section is empty.

Jump to

Keyboard shortcuts

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