kubernetes/staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go

type validationMatch

func required(path ...string) validationMatch {}

func invalid(path ...string) validationMatch {}

func invalidtypecode(path ...string) validationMatch {}

func invalidIndex(index int, path ...string) validationMatch {}

func unsupported(path ...string) validationMatch {}

func immutable(path ...string) validationMatch {}

func forbidden(path ...string) validationMatch {}

func duplicate(path ...string) validationMatch {}

func tooMany(path ...string) validationMatch {}

func (v validationMatch) matches(err *field.Error) bool {}

func (v validationMatch) contains(s string) validationMatch {}

func strPtr(s string) *string {}

var exampleCert

func TestValidateCustomResourceDefinition(t *testing.T) {}

func TestSelectableFields(t *testing.T) {}

func TestValidateFieldPath(t *testing.T) {}

func TestValidateCustomResourceDefinitionUpdate(t *testing.T) {}

func TestValidateCustomResourceDefinitionValidationRuleCompatibility(t *testing.T) {}

func TestValidateCustomResourceDefinitionValidation(t *testing.T) {}

func TestSchemaHasDefaults(t *testing.T) {}

func TestValidateCustomResourceDefinitionStoredVersions(t *testing.T) {}

func BenchmarkSchemaHas(b *testing.B) {}

var example

var validValidationSchema

var validUnstructuralValidationSchema

func float64Ptr(f float64) *float64 {}

func int64Ptr(f int64) *int64 {}

func jsonPtr(x interface{}

func jsonSlice(l ...interface{}

func Test_validateDeprecationWarning(t *testing.T) {}

func genMapSchema() *apiextensions.JSONSchemaProps {}

func withMaxProperties(mapSchema *apiextensions.JSONSchemaProps, maxProps *int64) *apiextensions.JSONSchemaProps {}

func genArraySchema() *apiextensions.JSONSchemaProps {}

func withMaxItems(arraySchema *apiextensions.JSONSchemaProps, maxItems *int64) *apiextensions.JSONSchemaProps {}

func genObjectSchema() *apiextensions.JSONSchemaProps {}

func TestCostInfo(t *testing.T) {}

func TestCelContext(t *testing.T) {}

func TestPerCRDEstimatedCost(t *testing.T) {}

func int64ptr(i int64) *int64 {}