Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewValidatorForCRD ¶
func NewValidatorForCRD(crd *apiextensionsv1.CustomResourceDefinition, version string) (*validate.SchemaValidator, error)
NewValidatorForCRD creates a new validator based on the supplied CRD.
func NewValidatorForObject ¶
func NewValidatorForObject(obj runtime.Object) (*validate.SchemaValidator, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.