Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶
func Load(t testing.TB, filename string) *apiextensions.CustomResourceDefinition
Load applies the defaults and conversion used when the API server creates a CRD.
Types ¶
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
Validator evaluates transition rules from a generated CRD against typed resources.
func NewValidator ¶
NewValidator loads the v1alpha1 schema, including shared schemas after conversion.
Click to show internal directories.
Click to hide internal directories.