validation

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: MIT Imports: 3 Imported by: 0

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 NotEmptyStringValidator(fieldName string) func(string) error

func ValidateIdentifier

func ValidateIdentifier(kind resource.Type) func(resource.Identifier) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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