validation

package
v0.72.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsQualifiedName

func IsQualifiedName(value string) []string

IsQualifiedName reports whether value is a valid Kubernetes qualified name (label key), the format used by frp for proxy annotation keys. If value is invalid, it returns one message per violation; an empty result means valid.

The function does not normalize case: callers that accept case-insensitive keys must lowercase value themselves (frp's annotation validation passes strings.ToLower(key)).

Types

This section is empty.

Jump to

Keyboard shortcuts

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