mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-03 20:40:26 -05:00
Introduces new testing helpers to simplify testing of declarative validation rules. The new `VerifyValidationEquivalence` and `VerifyUpdateValidationEquivalence` functions reduce boilerplate by encapsulating the logic for: - Toggling the `DeclarativeValidation` and `DeclarativeValidationTakeover` feature gates. - Comparing the validation output from the imperative and declarative paths. The declarative validation tests for CertificateSigningRequest and ReplicationController are updated to use these new, simpler helpers. |
||
|---|---|---|
| .. | ||
| compat | ||
| applyconfiguration_test.go | ||
| backward_compatibility_test.go | ||
| conversion.go | ||
| conversion_test.go | ||
| copy_test.go | ||
| deep_copy_test.go | ||
| defaulting_test.go | ||
| doc.go | ||
| fuzzer.go | ||
| install.go | ||
| meta_test.go | ||
| node_example.json | ||
| OWNERS | ||
| replication_controller_example.json | ||
| serialization_proto_test.go | ||
| serialization_test.go | ||
| unstructured_test.go | ||
| validate_pod_level_defaults_test.go | ||
| validation.go | ||
| validation_test.go | ||