Documentation
¶
Overview ¶
Package validation provides struct-tag-driven input validation used by the REST + gRPC handler factories.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnumValidator ¶
func EnumValidator[T comparable](fieldName string, allowed ...T) func(T) error
func NotEmptyStringValidator ¶
func ValidateIdentifier ¶
func ValidateIdentifier(kind resource.Type) func(resource.Identifier) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.