summaryrefslogtreecommitdiff
path: root/api_changes.md
diff options
context:
space:
mode:
authorYu-Ju Hong <yjhong@google.com>2015-08-26 13:02:57 -0700
committerYu-Ju Hong <yjhong@google.com>2015-08-26 13:02:57 -0700
commit5dc95069e0b7f9a91b2891663b949e27d719870b (patch)
tree50342866ea6038b2b4472f0351e030623bfa7046 /api_changes.md
parentf8bbb8bbe9a02a423564997e5061d92fd6a3f09b (diff)
parent96988acedbfedc32087610a04d4b8fb6ead25b4e (diff)
Merge pull request #12492 from derekwaynecarr/limit_range_api
LimitRange updates for Resource Requirements Requests
Diffstat (limited to 'api_changes.md')
-rw-r--r--api_changes.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/api_changes.md b/api_changes.md
index 72c38b7f..709f8c2c 100644
--- a/api_changes.md
+++ b/api_changes.md
@@ -345,6 +345,22 @@ generator to create it from scratch.
Unsurprisingly, adding manually written conversion also requires you to add tests to
`pkg/api/<version>/conversion_test.go`.
+## Edit deep copy files
+
+At this point you have both the versioned API changes and the internal
+structure changes done. You now need to generate code to handle deep copy
+of your versioned api objects.
+
+The deep copy code resides with each versioned API:
+ - `pkg/api/<version>/deep_copy_generated.go` containing auto-generated copy functions
+
+To regenerate them:
+ - run
+
+```sh
+hack/update-generated-deep-copies.sh
+```
+
## Update the fuzzer
Part of our testing regimen for APIs is to "fuzz" (fill with random values) API