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