kubernetes/staging/src/k8s.io/kubectl/pkg/validation/schema.go

type Schema

type NullSchema

// ValidateBytes never fails for NullSchema.
func (NullSchema) ValidateBytes(data []byte) error {}

type NoDoubleKeySchema

// ValidateBytes validates bytes.
func (NoDoubleKeySchema) ValidateBytes(data []byte) error {}

func validateNoDuplicateKeys(data []byte, path ...string) error {}

type ConjunctiveSchema

// ValidateBytes validates bytes per a ConjunctiveSchema.
func (c ConjunctiveSchema) ValidateBytes(data []byte) error {}

func NewParamVerifyingSchema(s Schema, verifier resource.Verifier, directive string) Schema {}

type paramVerifyingSchema

// ValidateBytes validates bytes per a ParamVerifyingSchema
func (c *paramVerifyingSchema) ValidateBytes(data []byte) error {}