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.26.6
- Published
- Jun 14, 2023
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 3 minutes ago –
Tools for package owners.