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

Struct schemaValidation

pkg/validation/validation.go:31–33  ·  view source on GitHub ↗

schemaValidation validates the object against an OpenAPI schema.

Source from the content-addressed store, hash-verified

29
30// schemaValidation validates the object against an OpenAPI schema.
31type schemaValidation struct {
32 resourcesGetter openapi.OpenAPIResourcesGetter
33}
34
35// NewSchemaValidation creates a new Schema that can be used
36// to validate objects.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected