apimachineryk8s.io/apimachinery/pkg/api/validate/content Index | Files

package content

import "k8s.io/apimachinery/pkg/api/validate/content"

Index

Functions

func MinError

func MinError[T constraints.Integer](min T) string

MinError returns a string explanation of a "must be greater than or equal" validation failure.

func NEQError

func NEQError[T any](disallowed T) string

NEQError returns a string explanation of a "must not be equal to" validation failure.

Source Files

errors.go

Version
v0.34.1
Published
Aug 16, 2025
Platform
darwin/amd64
Imports
3 packages
Last checked
24 minutes ago

Tools for package owners.