mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-04-21 22:27:35 -04:00
Fuzzing must be performed on the internal version of objects because custom fuzzing functions are typically registered for internal types. This ensures that all fields are properly initialized with random values before being converted to various API versions for validation. Move fuzzing logic into VerifyVersionedValidationEquivalence via a new WithFuzzer option. This also fixes a panic that occurred when attempting to fuzz types without an internal version (e.g., APIGroupList) by adding a nil check after internal conversion. |
||
|---|---|---|
| .. | ||
| 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 | ||