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

package constraints

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

Index

Types

type Integer

type Integer interface {
	Signed | Unsigned
}

Integer is a constraint that permits any integer type.

type Signed

type Signed interface {
	~int | ~int8 | ~int16 | ~int32 | ~int64
}

Signed is a constraint that permits any signed integer type.

type Unsigned

type Unsigned interface {
	~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr
}

Unsigned is a constraint that permits any unsigned integer type.

Source Files

constraints.go

Version
v0.33.0 (latest)
Published
Apr 11, 2025
Platform
linux/amd64
Last checked
2 hours ago

Tools for package owners.