kubernetes/test/integration/apiserver/crd_validation_expressions_test.go

// TestCustomResourceValidators tests x-kubernetes-validations compile and validate as expected when the feature gate
// is enabled.
func TestCustomResourceValidators(t *testing.T) {}

// TestCustomResourceValidatorsWithBlockingErrors tests x-kubernetes-validations is skipped when
// blocking errors occurred.
func TestCustomResourceValidatorsWithBlockingErrors(t *testing.T) {}

// TestCustomResourceValidatorsWithSchemaConversion tests CRD replacement with schema conversion issue should not panic.
func TestCustomResourceValidatorsWithSchemaConversion(t *testing.T) {}

func nonStructuralCrdWithValidations() *apiextensionsv1beta1.CustomResourceDefinition {}

func genLargeArray(n, x int64) []int64 {}

func crdWithSchema(t *testing.T, kind string, schemaJson []byte) *apiextensionsv1.CustomResourceDefinition {}

var structuralSchemaWithValidators

var structuralSchemaWithBlockingErr

var structuralSchemaWithItemsUnderArray

var structuralSchemaWithItemsUnderObject

var structuralSchemaWithValidMetadataValidators

var structuralSchemaWithInvalidMetadataValidators

var structuralSchemaWithValidTransitionRule

var structuralSchemaWithInvalidTransitionRule

var structuralSchemaWithDefaultMapKeyTransitionRule

var structuralSchemaWithCostLimit

var structuralSchemaWithEmptyObject