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

Struct paramVerifyingSchema

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

paramVerifyingSchema only performs validation based on the fieldValidation query param being unsupported by the apiserver, because server-side validation will be performed instead of client-side validation.

Source from the content-addressed store, hash-verified

119// server-side validation will be performed instead
120// of client-side validation.
121type paramVerifyingSchema struct {
122 schema Schema
123 verifier resource.Verifier
124 directive string
125}
126
127// ValidateBytes validates bytes per a ParamVerifyingSchema
128func (c *paramVerifyingSchema) ValidateBytes(data []byte) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected