mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-04-20 21:57:09 -04:00
This commit adds an 'IgnoreObjectConversionErrors' option to the validation testing framework in 'k8s.io/apimachinery' and exposes it via 'pkg/api/testing'. This is useful for fuzzing tests where we might want to skip object versions that cannot be converted from the internal version (e.g. due to missing fields or incompatible types in older versions) but still want to test validation for the versions that *can* be converted. The 'autoscaling' group versions are added to 'TestVersionedValidationByFuzzing' with this option enabled. |
||
|---|---|---|
| .. | ||
| 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 | ||