apiextensions-apiserverk8s.io/apiextensions-apiserver/pkg/apiserver/schema/listtype Index | Files

package listtype

import "k8s.io/apiextensions-apiserver/pkg/apiserver/schema/listtype"

Index

Functions

func ValidateListSetsAndMaps

func ValidateListSetsAndMaps(fldPath *field.Path, s *schema.Structural, obj map[string]interface{}) field.ErrorList

ValidateListSetsAndMaps validates that arrays with x-kubernetes-list-type "map" and "set" fulfill the uniqueness invariants for the keys (maps) and whole elements (sets).

Source Files

validation.go

Version
v0.33.1 (latest)
Published
May 15, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
1 day ago

Tools for package owners.