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.21.3-rc.0
- Published
- Jun 17, 2021
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 2 minutes ago –
Tools for package owners.