mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-03-26 04:15:24 -04:00
Automatic merge from submit-queue Migrate to the new conversion generator - part1 This PR contains two commits: - few more fixes to the generator - migration of the pkg/api/v1 to use the new generator The second commit is big, but I reviewed the changes and they contain: - conversions between types that we didn't even generating conversion between - changes in how we handle maps/pointers/slices - previously we were explicitly referencing fields, now we are using "shadowing in, out" to make the code more generic - lack of auto-generated method for ReplicationControllerSpec (because these types are different (*int vs int for Replicas) and a preexisting conversion already exists Most of issues in the first commit (e.g. adding references to "in" and "out" for slices/maps/points) were discovered by our tests. So I'm pretty confident that this change is correct now. |
||
|---|---|---|
| .. | ||
| backward_compatibility_test.go | ||
| conversion.go | ||
| conversion_generated.go | ||
| conversion_test.go | ||
| deep_copy_generated.go | ||
| defaults.go | ||
| defaults_test.go | ||
| doc.go | ||
| register.go | ||
| types.generated.go | ||
| types.go | ||
| types_swagger_doc_generated.go | ||