validation

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNamespaceAccessValidator added in v0.9.0

func NewNamespaceAccessValidator(accountAccessAttrName string) validator.Set

func SetMustBeEmptyWhen added in v0.9.0

func SetMustBeEmptyWhen(otherPath path.Path, values []string) validator.Set

SetMustBeEmptyWhen returns a validator that ensures a set is empty when another attribute has any of the specified values.

func SetNestedAttributeMustBeUnique

func SetNestedAttributeMustBeUnique(field string) validator.Set

Types

This section is empty.

Jump to

Keyboard shortcuts

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