MCPcopy
hub / github.com/kubernetes/kubectl / NoDoubleKeySchema

Struct NoDoubleKeySchema

pkg/validation/schema.go:43–43  ·  view source on GitHub ↗

NoDoubleKeySchema is a schema that disallows double keys.

Source from the content-addressed store, hash-verified

41
42// NoDoubleKeySchema is a schema that disallows double keys.
43type NoDoubleKeySchema struct{}
44
45// ValidateBytes validates bytes.
46func (NoDoubleKeySchema) ValidateBytes(data []byte) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected