Merge pull request #49782 from supereagle/update-generated-deepcopy

Automatic merge from submit-queue (batch tested with PRs 50029, 48517, 49739, 49866, 49782)

Update generated deepcopy code

**What this PR does / why we need it**:
In generated deepcopy code, the method names in comments do not match the real method names.

**Which issue this PR fixes**: fixes #49755

**Special notes for your reviewer**:
/assign @sttts @caesarxuchao 


**Release note**:
```release-note
NONE
```
This commit is contained in:
Kubernetes Submit Queue 2017-08-02 12:46:57 -07:00 committed by GitHub
commit 84e0326eb1
99 changed files with 5368 additions and 5246 deletions

149
Godeps/Godeps.json generated
View File

@ -838,12 +838,12 @@
}, },
{ {
"ImportPath": "github.com/docker/distribution/digest", "ImportPath": "github.com/docker/distribution/digest",
"Comment": "v2.4.0-rc.1-38-gcd27f179", "Comment": "v2.4.0-rc.1-38-gcd27f17",
"Rev": "cd27f179f2c10c5d300e6d09025b538c475b0d51" "Rev": "cd27f179f2c10c5d300e6d09025b538c475b0d51"
}, },
{ {
"ImportPath": "github.com/docker/distribution/reference", "ImportPath": "github.com/docker/distribution/reference",
"Comment": "v2.4.0-rc.1-38-gcd27f179", "Comment": "v2.4.0-rc.1-38-gcd27f17",
"Rev": "cd27f179f2c10c5d300e6d09025b538c475b0d51" "Rev": "cd27f179f2c10c5d300e6d09025b538c475b0d51"
}, },
{ {
@ -1171,127 +1171,127 @@
}, },
{ {
"ImportPath": "github.com/gogo/protobuf/gogoproto", "ImportPath": "github.com/gogo/protobuf/gogoproto",
"Comment": "v0.4-3-gc0656edd", "Comment": "v0.4-3-gc0656ed",
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
}, },
{ {
"ImportPath": "github.com/gogo/protobuf/plugin/compare", "ImportPath": "github.com/gogo/protobuf/plugin/compare",
"Comment": "v0.4-3-gc0656edd", "Comment": "v0.4-3-gc0656ed",
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
}, },
{ {
"ImportPath": "github.com/gogo/protobuf/plugin/defaultcheck", "ImportPath": "github.com/gogo/protobuf/plugin/defaultcheck",
"Comment": "v0.4-3-gc0656edd", "Comment": "v0.4-3-gc0656ed",
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
}, },
{ {
"ImportPath": "github.com/gogo/protobuf/plugin/description", "ImportPath": "github.com/gogo/protobuf/plugin/description",
"Comment": "v0.4-3-gc0656edd", "Comment": "v0.4-3-gc0656ed",
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
}, },
{ {
"ImportPath": "github.com/gogo/protobuf/plugin/embedcheck", "ImportPath": "github.com/gogo/protobuf/plugin/embedcheck",
"Comment": "v0.4-3-gc0656edd", "Comment": "v0.4-3-gc0656ed",
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
}, },
{ {
"ImportPath": "github.com/gogo/protobuf/plugin/enumstringer", "ImportPath": "github.com/gogo/protobuf/plugin/enumstringer",
"Comment": "v0.4-3-gc0656edd", "Comment": "v0.4-3-gc0656ed",
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
}, },
{ {
"ImportPath": "github.com/gogo/protobuf/plugin/equal", "ImportPath": "github.com/gogo/protobuf/plugin/equal",
"Comment": "v0.4-3-gc0656edd", "Comment": "v0.4-3-gc0656ed",
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
}, },
{ {
"ImportPath": "github.com/gogo/protobuf/plugin/face", "ImportPath": "github.com/gogo/protobuf/plugin/face",
"Comment": "v0.4-3-gc0656edd", "Comment": "v0.4-3-gc0656ed",
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
}, },
{ {
"ImportPath": "github.com/gogo/protobuf/plugin/gostring", "ImportPath": "github.com/gogo/protobuf/plugin/gostring",
"Comment": "v0.4-3-gc0656edd", "Comment": "v0.4-3-gc0656ed",
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
}, },
{ {
"ImportPath": "github.com/gogo/protobuf/plugin/marshalto", "ImportPath": "github.com/gogo/protobuf/plugin/marshalto",
"Comment": "v0.4-3-gc0656edd", "Comment": "v0.4-3-gc0656ed",
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
}, },
{ {
"ImportPath": "github.com/gogo/protobuf/plugin/oneofcheck", "ImportPath": "github.com/gogo/protobuf/plugin/oneofcheck",
"Comment": "v0.4-3-gc0656edd", "Comment": "v0.4-3-gc0656ed",
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
}, },
{ {
"ImportPath": "github.com/gogo/protobuf/plugin/populate", "ImportPath": "github.com/gogo/protobuf/plugin/populate",
"Comment": "v0.4-3-gc0656edd", "Comment": "v0.4-3-gc0656ed",
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
}, },
{ {
"ImportPath": "github.com/gogo/protobuf/plugin/size", "ImportPath": "github.com/gogo/protobuf/plugin/size",
"Comment": "v0.4-3-gc0656edd", "Comment": "v0.4-3-gc0656ed",
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
}, },
{ {
"ImportPath": "github.com/gogo/protobuf/plugin/stringer", "ImportPath": "github.com/gogo/protobuf/plugin/stringer",
"Comment": "v0.4-3-gc0656edd", "Comment": "v0.4-3-gc0656ed",
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
}, },
{ {
"ImportPath": "github.com/gogo/protobuf/plugin/testgen", "ImportPath": "github.com/gogo/protobuf/plugin/testgen",
"Comment": "v0.4-3-gc0656edd", "Comment": "v0.4-3-gc0656ed",
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
}, },
{ {
"ImportPath": "github.com/gogo/protobuf/plugin/union", "ImportPath": "github.com/gogo/protobuf/plugin/union",
"Comment": "v0.4-3-gc0656edd", "Comment": "v0.4-3-gc0656ed",
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
}, },
{ {
"ImportPath": "github.com/gogo/protobuf/plugin/unmarshal", "ImportPath": "github.com/gogo/protobuf/plugin/unmarshal",
"Comment": "v0.4-3-gc0656edd", "Comment": "v0.4-3-gc0656ed",
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
}, },
{ {
"ImportPath": "github.com/gogo/protobuf/proto", "ImportPath": "github.com/gogo/protobuf/proto",
"Comment": "v0.4-3-gc0656edd", "Comment": "v0.4-3-gc0656ed",
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
}, },
{ {
"ImportPath": "github.com/gogo/protobuf/protoc-gen-gogo/descriptor", "ImportPath": "github.com/gogo/protobuf/protoc-gen-gogo/descriptor",
"Comment": "v0.4-3-gc0656edd", "Comment": "v0.4-3-gc0656ed",
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
}, },
{ {
"ImportPath": "github.com/gogo/protobuf/protoc-gen-gogo/generator", "ImportPath": "github.com/gogo/protobuf/protoc-gen-gogo/generator",
"Comment": "v0.4-3-gc0656edd", "Comment": "v0.4-3-gc0656ed",
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
}, },
{ {
"ImportPath": "github.com/gogo/protobuf/protoc-gen-gogo/grpc", "ImportPath": "github.com/gogo/protobuf/protoc-gen-gogo/grpc",
"Comment": "v0.4-3-gc0656edd", "Comment": "v0.4-3-gc0656ed",
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
}, },
{ {
"ImportPath": "github.com/gogo/protobuf/protoc-gen-gogo/plugin", "ImportPath": "github.com/gogo/protobuf/protoc-gen-gogo/plugin",
"Comment": "v0.4-3-gc0656edd", "Comment": "v0.4-3-gc0656ed",
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
}, },
{ {
"ImportPath": "github.com/gogo/protobuf/sortkeys", "ImportPath": "github.com/gogo/protobuf/sortkeys",
"Comment": "v0.4-3-gc0656edd", "Comment": "v0.4-3-gc0656ed",
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
}, },
{ {
"ImportPath": "github.com/gogo/protobuf/vanity", "ImportPath": "github.com/gogo/protobuf/vanity",
"Comment": "v0.4-3-gc0656edd", "Comment": "v0.4-3-gc0656ed",
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
}, },
{ {
"ImportPath": "github.com/gogo/protobuf/vanity/command", "ImportPath": "github.com/gogo/protobuf/vanity/command",
"Comment": "v0.4-3-gc0656edd", "Comment": "v0.4-3-gc0656ed",
"Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7"
}, },
{ {
@ -2147,82 +2147,82 @@
}, },
{ {
"ImportPath": "github.com/opencontainers/runc/libcontainer", "ImportPath": "github.com/opencontainers/runc/libcontainer",
"Comment": "v1.0.0-rc2-49-gd223e2ad", "Comment": "v1.0.0-rc2-49-gd223e2a",
"Rev": "d223e2adae83f62d58448a799a5da05730228089" "Rev": "d223e2adae83f62d58448a799a5da05730228089"
}, },
{ {
"ImportPath": "github.com/opencontainers/runc/libcontainer/apparmor", "ImportPath": "github.com/opencontainers/runc/libcontainer/apparmor",
"Comment": "v1.0.0-rc2-49-gd223e2ad", "Comment": "v1.0.0-rc2-49-gd223e2a",
"Rev": "d223e2adae83f62d58448a799a5da05730228089" "Rev": "d223e2adae83f62d58448a799a5da05730228089"
}, },
{ {
"ImportPath": "github.com/opencontainers/runc/libcontainer/cgroups", "ImportPath": "github.com/opencontainers/runc/libcontainer/cgroups",
"Comment": "v1.0.0-rc2-49-gd223e2ad", "Comment": "v1.0.0-rc2-49-gd223e2a",
"Rev": "d223e2adae83f62d58448a799a5da05730228089" "Rev": "d223e2adae83f62d58448a799a5da05730228089"
}, },
{ {
"ImportPath": "github.com/opencontainers/runc/libcontainer/cgroups/fs", "ImportPath": "github.com/opencontainers/runc/libcontainer/cgroups/fs",
"Comment": "v1.0.0-rc2-49-gd223e2ad", "Comment": "v1.0.0-rc2-49-gd223e2a",
"Rev": "d223e2adae83f62d58448a799a5da05730228089" "Rev": "d223e2adae83f62d58448a799a5da05730228089"
}, },
{ {
"ImportPath": "github.com/opencontainers/runc/libcontainer/cgroups/systemd", "ImportPath": "github.com/opencontainers/runc/libcontainer/cgroups/systemd",
"Comment": "v1.0.0-rc2-49-gd223e2ad", "Comment": "v1.0.0-rc2-49-gd223e2a",
"Rev": "d223e2adae83f62d58448a799a5da05730228089" "Rev": "d223e2adae83f62d58448a799a5da05730228089"
}, },
{ {
"ImportPath": "github.com/opencontainers/runc/libcontainer/configs", "ImportPath": "github.com/opencontainers/runc/libcontainer/configs",
"Comment": "v1.0.0-rc2-49-gd223e2ad", "Comment": "v1.0.0-rc2-49-gd223e2a",
"Rev": "d223e2adae83f62d58448a799a5da05730228089" "Rev": "d223e2adae83f62d58448a799a5da05730228089"
}, },
{ {
"ImportPath": "github.com/opencontainers/runc/libcontainer/configs/validate", "ImportPath": "github.com/opencontainers/runc/libcontainer/configs/validate",
"Comment": "v1.0.0-rc2-49-gd223e2ad", "Comment": "v1.0.0-rc2-49-gd223e2a",
"Rev": "d223e2adae83f62d58448a799a5da05730228089" "Rev": "d223e2adae83f62d58448a799a5da05730228089"
}, },
{ {
"ImportPath": "github.com/opencontainers/runc/libcontainer/criurpc", "ImportPath": "github.com/opencontainers/runc/libcontainer/criurpc",
"Comment": "v1.0.0-rc2-49-gd223e2ad", "Comment": "v1.0.0-rc2-49-gd223e2a",
"Rev": "d223e2adae83f62d58448a799a5da05730228089" "Rev": "d223e2adae83f62d58448a799a5da05730228089"
}, },
{ {
"ImportPath": "github.com/opencontainers/runc/libcontainer/keys", "ImportPath": "github.com/opencontainers/runc/libcontainer/keys",
"Comment": "v1.0.0-rc2-49-gd223e2ad", "Comment": "v1.0.0-rc2-49-gd223e2a",
"Rev": "d223e2adae83f62d58448a799a5da05730228089" "Rev": "d223e2adae83f62d58448a799a5da05730228089"
}, },
{ {
"ImportPath": "github.com/opencontainers/runc/libcontainer/label", "ImportPath": "github.com/opencontainers/runc/libcontainer/label",
"Comment": "v1.0.0-rc2-49-gd223e2ad", "Comment": "v1.0.0-rc2-49-gd223e2a",
"Rev": "d223e2adae83f62d58448a799a5da05730228089" "Rev": "d223e2adae83f62d58448a799a5da05730228089"
}, },
{ {
"ImportPath": "github.com/opencontainers/runc/libcontainer/seccomp", "ImportPath": "github.com/opencontainers/runc/libcontainer/seccomp",
"Comment": "v1.0.0-rc2-49-gd223e2ad", "Comment": "v1.0.0-rc2-49-gd223e2a",
"Rev": "d223e2adae83f62d58448a799a5da05730228089" "Rev": "d223e2adae83f62d58448a799a5da05730228089"
}, },
{ {
"ImportPath": "github.com/opencontainers/runc/libcontainer/selinux", "ImportPath": "github.com/opencontainers/runc/libcontainer/selinux",
"Comment": "v1.0.0-rc2-49-gd223e2ad", "Comment": "v1.0.0-rc2-49-gd223e2a",
"Rev": "d223e2adae83f62d58448a799a5da05730228089" "Rev": "d223e2adae83f62d58448a799a5da05730228089"
}, },
{ {
"ImportPath": "github.com/opencontainers/runc/libcontainer/stacktrace", "ImportPath": "github.com/opencontainers/runc/libcontainer/stacktrace",
"Comment": "v1.0.0-rc2-49-gd223e2ad", "Comment": "v1.0.0-rc2-49-gd223e2a",
"Rev": "d223e2adae83f62d58448a799a5da05730228089" "Rev": "d223e2adae83f62d58448a799a5da05730228089"
}, },
{ {
"ImportPath": "github.com/opencontainers/runc/libcontainer/system", "ImportPath": "github.com/opencontainers/runc/libcontainer/system",
"Comment": "v1.0.0-rc2-49-gd223e2ad", "Comment": "v1.0.0-rc2-49-gd223e2a",
"Rev": "d223e2adae83f62d58448a799a5da05730228089" "Rev": "d223e2adae83f62d58448a799a5da05730228089"
}, },
{ {
"ImportPath": "github.com/opencontainers/runc/libcontainer/user", "ImportPath": "github.com/opencontainers/runc/libcontainer/user",
"Comment": "v1.0.0-rc2-49-gd223e2ad", "Comment": "v1.0.0-rc2-49-gd223e2a",
"Rev": "d223e2adae83f62d58448a799a5da05730228089" "Rev": "d223e2adae83f62d58448a799a5da05730228089"
}, },
{ {
"ImportPath": "github.com/opencontainers/runc/libcontainer/utils", "ImportPath": "github.com/opencontainers/runc/libcontainer/utils",
"Comment": "v1.0.0-rc2-49-gd223e2ad", "Comment": "v1.0.0-rc2-49-gd223e2a",
"Rev": "d223e2adae83f62d58448a799a5da05730228089" "Rev": "d223e2adae83f62d58448a799a5da05730228089"
}, },
{ {
@ -2293,107 +2293,107 @@
}, },
{ {
"ImportPath": "github.com/rackspace/gophercloud", "ImportPath": "github.com/rackspace/gophercloud",
"Comment": "v1.0.0-1012-ge00690e8", "Comment": "v1.0.0-1012-ge00690e",
"Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063"
}, },
{ {
"ImportPath": "github.com/rackspace/gophercloud/openstack", "ImportPath": "github.com/rackspace/gophercloud/openstack",
"Comment": "v1.0.0-1012-ge00690e8", "Comment": "v1.0.0-1012-ge00690e",
"Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063"
}, },
{ {
"ImportPath": "github.com/rackspace/gophercloud/openstack/blockstorage/v1/volumes", "ImportPath": "github.com/rackspace/gophercloud/openstack/blockstorage/v1/volumes",
"Comment": "v1.0.0-1012-ge00690e8", "Comment": "v1.0.0-1012-ge00690e",
"Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063"
}, },
{ {
"ImportPath": "github.com/rackspace/gophercloud/openstack/compute/v2/extensions/bootfromvolume", "ImportPath": "github.com/rackspace/gophercloud/openstack/compute/v2/extensions/bootfromvolume",
"Comment": "v1.0.0-1012-ge00690e8", "Comment": "v1.0.0-1012-ge00690e",
"Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063"
}, },
{ {
"ImportPath": "github.com/rackspace/gophercloud/openstack/compute/v2/extensions/diskconfig", "ImportPath": "github.com/rackspace/gophercloud/openstack/compute/v2/extensions/diskconfig",
"Comment": "v1.0.0-1012-ge00690e8", "Comment": "v1.0.0-1012-ge00690e",
"Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063"
}, },
{ {
"ImportPath": "github.com/rackspace/gophercloud/openstack/compute/v2/extensions/volumeattach", "ImportPath": "github.com/rackspace/gophercloud/openstack/compute/v2/extensions/volumeattach",
"Comment": "v1.0.0-1012-ge00690e8", "Comment": "v1.0.0-1012-ge00690e",
"Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063"
}, },
{ {
"ImportPath": "github.com/rackspace/gophercloud/openstack/compute/v2/flavors", "ImportPath": "github.com/rackspace/gophercloud/openstack/compute/v2/flavors",
"Comment": "v1.0.0-1012-ge00690e8", "Comment": "v1.0.0-1012-ge00690e",
"Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063"
}, },
{ {
"ImportPath": "github.com/rackspace/gophercloud/openstack/compute/v2/images", "ImportPath": "github.com/rackspace/gophercloud/openstack/compute/v2/images",
"Comment": "v1.0.0-1012-ge00690e8", "Comment": "v1.0.0-1012-ge00690e",
"Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063"
}, },
{ {
"ImportPath": "github.com/rackspace/gophercloud/openstack/compute/v2/servers", "ImportPath": "github.com/rackspace/gophercloud/openstack/compute/v2/servers",
"Comment": "v1.0.0-1012-ge00690e8", "Comment": "v1.0.0-1012-ge00690e",
"Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063"
}, },
{ {
"ImportPath": "github.com/rackspace/gophercloud/openstack/identity/v2/tenants", "ImportPath": "github.com/rackspace/gophercloud/openstack/identity/v2/tenants",
"Comment": "v1.0.0-1012-ge00690e8", "Comment": "v1.0.0-1012-ge00690e",
"Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063"
}, },
{ {
"ImportPath": "github.com/rackspace/gophercloud/openstack/identity/v2/tokens", "ImportPath": "github.com/rackspace/gophercloud/openstack/identity/v2/tokens",
"Comment": "v1.0.0-1012-ge00690e8", "Comment": "v1.0.0-1012-ge00690e",
"Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063"
}, },
{ {
"ImportPath": "github.com/rackspace/gophercloud/openstack/identity/v3/tokens", "ImportPath": "github.com/rackspace/gophercloud/openstack/identity/v3/tokens",
"Comment": "v1.0.0-1012-ge00690e8", "Comment": "v1.0.0-1012-ge00690e",
"Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063"
}, },
{ {
"ImportPath": "github.com/rackspace/gophercloud/openstack/utils", "ImportPath": "github.com/rackspace/gophercloud/openstack/utils",
"Comment": "v1.0.0-1012-ge00690e8", "Comment": "v1.0.0-1012-ge00690e",
"Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063"
}, },
{ {
"ImportPath": "github.com/rackspace/gophercloud/pagination", "ImportPath": "github.com/rackspace/gophercloud/pagination",
"Comment": "v1.0.0-1012-ge00690e8", "Comment": "v1.0.0-1012-ge00690e",
"Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063"
}, },
{ {
"ImportPath": "github.com/rackspace/gophercloud/rackspace", "ImportPath": "github.com/rackspace/gophercloud/rackspace",
"Comment": "v1.0.0-1012-ge00690e8", "Comment": "v1.0.0-1012-ge00690e",
"Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063"
}, },
{ {
"ImportPath": "github.com/rackspace/gophercloud/rackspace/blockstorage/v1/volumes", "ImportPath": "github.com/rackspace/gophercloud/rackspace/blockstorage/v1/volumes",
"Comment": "v1.0.0-1012-ge00690e8", "Comment": "v1.0.0-1012-ge00690e",
"Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063"
}, },
{ {
"ImportPath": "github.com/rackspace/gophercloud/rackspace/compute/v2/servers", "ImportPath": "github.com/rackspace/gophercloud/rackspace/compute/v2/servers",
"Comment": "v1.0.0-1012-ge00690e8", "Comment": "v1.0.0-1012-ge00690e",
"Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063"
}, },
{ {
"ImportPath": "github.com/rackspace/gophercloud/rackspace/compute/v2/volumeattach", "ImportPath": "github.com/rackspace/gophercloud/rackspace/compute/v2/volumeattach",
"Comment": "v1.0.0-1012-ge00690e8", "Comment": "v1.0.0-1012-ge00690e",
"Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063"
}, },
{ {
"ImportPath": "github.com/rackspace/gophercloud/rackspace/identity/v2/tokens", "ImportPath": "github.com/rackspace/gophercloud/rackspace/identity/v2/tokens",
"Comment": "v1.0.0-1012-ge00690e8", "Comment": "v1.0.0-1012-ge00690e",
"Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063"
}, },
{ {
"ImportPath": "github.com/rackspace/gophercloud/testhelper", "ImportPath": "github.com/rackspace/gophercloud/testhelper",
"Comment": "v1.0.0-1012-ge00690e8", "Comment": "v1.0.0-1012-ge00690e",
"Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063"
}, },
{ {
"ImportPath": "github.com/rackspace/gophercloud/testhelper/client", "ImportPath": "github.com/rackspace/gophercloud/testhelper/client",
"Comment": "v1.0.0-1012-ge00690e8", "Comment": "v1.0.0-1012-ge00690e",
"Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063"
}, },
{ {
@ -2640,6 +2640,7 @@
}, },
{ {
"ImportPath": "github.com/xiang90/probing", "ImportPath": "github.com/xiang90/probing",
"Comment": "0.0.1",
"Rev": "07dd2e8dfe18522e9c447ba95f2fe95262f63bb2" "Rev": "07dd2e8dfe18522e9c447ba95f2fe95262f63bb2"
}, },
{ {
@ -2989,43 +2990,43 @@
}, },
{ {
"ImportPath": "k8s.io/gengo/args", "ImportPath": "k8s.io/gengo/args",
"Rev": "712a17394a0980fabbcf3d968972e185d80c0fa4" "Rev": "9e661e9308f078838e266cca1c673922088c0ea4"
}, },
{ {
"ImportPath": "k8s.io/gengo/examples/deepcopy-gen/generators", "ImportPath": "k8s.io/gengo/examples/deepcopy-gen/generators",
"Rev": "712a17394a0980fabbcf3d968972e185d80c0fa4" "Rev": "9e661e9308f078838e266cca1c673922088c0ea4"
}, },
{ {
"ImportPath": "k8s.io/gengo/examples/defaulter-gen/generators", "ImportPath": "k8s.io/gengo/examples/defaulter-gen/generators",
"Rev": "712a17394a0980fabbcf3d968972e185d80c0fa4" "Rev": "9e661e9308f078838e266cca1c673922088c0ea4"
}, },
{ {
"ImportPath": "k8s.io/gengo/examples/import-boss/generators", "ImportPath": "k8s.io/gengo/examples/import-boss/generators",
"Rev": "712a17394a0980fabbcf3d968972e185d80c0fa4" "Rev": "9e661e9308f078838e266cca1c673922088c0ea4"
}, },
{ {
"ImportPath": "k8s.io/gengo/examples/set-gen/generators", "ImportPath": "k8s.io/gengo/examples/set-gen/generators",
"Rev": "712a17394a0980fabbcf3d968972e185d80c0fa4" "Rev": "9e661e9308f078838e266cca1c673922088c0ea4"
}, },
{ {
"ImportPath": "k8s.io/gengo/examples/set-gen/sets", "ImportPath": "k8s.io/gengo/examples/set-gen/sets",
"Rev": "712a17394a0980fabbcf3d968972e185d80c0fa4" "Rev": "9e661e9308f078838e266cca1c673922088c0ea4"
}, },
{ {
"ImportPath": "k8s.io/gengo/generator", "ImportPath": "k8s.io/gengo/generator",
"Rev": "712a17394a0980fabbcf3d968972e185d80c0fa4" "Rev": "9e661e9308f078838e266cca1c673922088c0ea4"
}, },
{ {
"ImportPath": "k8s.io/gengo/namer", "ImportPath": "k8s.io/gengo/namer",
"Rev": "712a17394a0980fabbcf3d968972e185d80c0fa4" "Rev": "9e661e9308f078838e266cca1c673922088c0ea4"
}, },
{ {
"ImportPath": "k8s.io/gengo/parser", "ImportPath": "k8s.io/gengo/parser",
"Rev": "712a17394a0980fabbcf3d968972e185d80c0fa4" "Rev": "9e661e9308f078838e266cca1c673922088c0ea4"
}, },
{ {
"ImportPath": "k8s.io/gengo/types", "ImportPath": "k8s.io/gengo/types",
"Rev": "712a17394a0980fabbcf3d968972e185d80c0fa4" "Rev": "9e661e9308f078838e266cca1c673922088c0ea4"
}, },
{ {
"ImportPath": "k8s.io/heapster/metrics/api/v1/types", "ImportPath": "k8s.io/heapster/metrics/api/v1/types",

View File

@ -26,7 +26,9 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. // GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc { func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{ return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -62,13 +64,13 @@ func (in *API) DeepCopyInto(out *API) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new API. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new API.
func (x *API) DeepCopy() *API { func (in *API) DeepCopy() *API {
if x == nil { if in == nil {
return nil return nil
} }
out := new(API) out := new(API)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -90,13 +92,13 @@ func (in *Etcd) DeepCopyInto(out *Etcd) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Etcd. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Etcd.
func (x *Etcd) DeepCopy() *Etcd { func (in *Etcd) DeepCopy() *Etcd {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Etcd) out := new(Etcd)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -141,19 +143,19 @@ func (in *MasterConfiguration) DeepCopyInto(out *MasterConfiguration) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MasterConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MasterConfiguration.
func (x *MasterConfiguration) DeepCopy() *MasterConfiguration { func (in *MasterConfiguration) DeepCopy() *MasterConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(MasterConfiguration) out := new(MasterConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *MasterConfiguration) DeepCopyObject() runtime.Object { func (in *MasterConfiguration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -166,13 +168,13 @@ func (in *Networking) DeepCopyInto(out *Networking) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Networking. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Networking.
func (x *Networking) DeepCopy() *Networking { func (in *Networking) DeepCopy() *Networking {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Networking) out := new(Networking)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -188,19 +190,19 @@ func (in *NodeConfiguration) DeepCopyInto(out *NodeConfiguration) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfiguration.
func (x *NodeConfiguration) DeepCopy() *NodeConfiguration { func (in *NodeConfiguration) DeepCopy() *NodeConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NodeConfiguration) out := new(NodeConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *NodeConfiguration) DeepCopyObject() runtime.Object { func (in *NodeConfiguration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -218,12 +220,12 @@ func (in *TokenDiscovery) DeepCopyInto(out *TokenDiscovery) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenDiscovery. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenDiscovery.
func (x *TokenDiscovery) DeepCopy() *TokenDiscovery { func (in *TokenDiscovery) DeepCopy() *TokenDiscovery {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TokenDiscovery) out := new(TokenDiscovery)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -68,13 +69,13 @@ func (in *API) DeepCopyInto(out *API) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new API. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new API.
func (x *API) DeepCopy() *API { func (in *API) DeepCopy() *API {
if x == nil { if in == nil {
return nil return nil
} }
out := new(API) out := new(API)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -96,13 +97,13 @@ func (in *Etcd) DeepCopyInto(out *Etcd) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Etcd. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Etcd.
func (x *Etcd) DeepCopy() *Etcd { func (in *Etcd) DeepCopy() *Etcd {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Etcd) out := new(Etcd)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -147,19 +148,19 @@ func (in *MasterConfiguration) DeepCopyInto(out *MasterConfiguration) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MasterConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MasterConfiguration.
func (x *MasterConfiguration) DeepCopy() *MasterConfiguration { func (in *MasterConfiguration) DeepCopy() *MasterConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(MasterConfiguration) out := new(MasterConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *MasterConfiguration) DeepCopyObject() runtime.Object { func (in *MasterConfiguration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -172,13 +173,13 @@ func (in *Networking) DeepCopyInto(out *Networking) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Networking. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Networking.
func (x *Networking) DeepCopy() *Networking { func (in *Networking) DeepCopy() *Networking {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Networking) out := new(Networking)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -194,19 +195,19 @@ func (in *NodeConfiguration) DeepCopyInto(out *NodeConfiguration) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfiguration.
func (x *NodeConfiguration) DeepCopy() *NodeConfiguration { func (in *NodeConfiguration) DeepCopy() *NodeConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NodeConfiguration) out := new(NodeConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *NodeConfiguration) DeepCopyObject() runtime.Object { func (in *NodeConfiguration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -224,12 +225,12 @@ func (in *TokenDiscovery) DeepCopyInto(out *TokenDiscovery) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenDiscovery. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenDiscovery.
func (x *TokenDiscovery) DeepCopy() *TokenDiscovery { func (in *TokenDiscovery) DeepCopy() *TokenDiscovery {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TokenDiscovery) out := new(TokenDiscovery)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -27,13 +27,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -77,19 +78,19 @@ func (in *Cluster) DeepCopyInto(out *Cluster) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Cluster. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (x *Cluster) DeepCopy() *Cluster { func (in *Cluster) DeepCopy() *Cluster {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Cluster) out := new(Cluster)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Cluster) DeepCopyObject() runtime.Object { func (in *Cluster) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -104,13 +105,13 @@ func (in *ClusterCondition) DeepCopyInto(out *ClusterCondition) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCondition.
func (x *ClusterCondition) DeepCopy() *ClusterCondition { func (in *ClusterCondition) DeepCopy() *ClusterCondition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterCondition) out := new(ClusterCondition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -129,19 +130,19 @@ func (in *ClusterList) DeepCopyInto(out *ClusterList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
func (x *ClusterList) DeepCopy() *ClusterList { func (in *ClusterList) DeepCopy() *ClusterList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterList) out := new(ClusterList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ClusterList) DeepCopyObject() runtime.Object { func (in *ClusterList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -159,13 +160,13 @@ func (in *ClusterSelectorRequirement) DeepCopyInto(out *ClusterSelectorRequireme
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSelectorRequirement. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSelectorRequirement.
func (x *ClusterSelectorRequirement) DeepCopy() *ClusterSelectorRequirement { func (in *ClusterSelectorRequirement) DeepCopy() *ClusterSelectorRequirement {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterSelectorRequirement) out := new(ClusterSelectorRequirement)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -189,13 +190,13 @@ func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
func (x *ClusterSpec) DeepCopy() *ClusterSpec { func (in *ClusterSpec) DeepCopy() *ClusterSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterSpec) out := new(ClusterSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -217,13 +218,13 @@ func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
func (x *ClusterStatus) DeepCopy() *ClusterStatus { func (in *ClusterStatus) DeepCopy() *ClusterStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterStatus) out := new(ClusterStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -233,12 +234,12 @@ func (in *ServerAddressByClientCIDR) DeepCopyInto(out *ServerAddressByClientCIDR
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServerAddressByClientCIDR. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerAddressByClientCIDR.
func (x *ServerAddressByClientCIDR) DeepCopy() *ServerAddressByClientCIDR { func (in *ServerAddressByClientCIDR) DeepCopy() *ServerAddressByClientCIDR {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ServerAddressByClientCIDR) out := new(ServerAddressByClientCIDR)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -28,13 +28,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -90,19 +91,19 @@ func (in *Cluster) DeepCopyInto(out *Cluster) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Cluster. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (x *Cluster) DeepCopy() *Cluster { func (in *Cluster) DeepCopy() *Cluster {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Cluster) out := new(Cluster)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Cluster) DeepCopyObject() runtime.Object { func (in *Cluster) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -117,13 +118,13 @@ func (in *ClusterCondition) DeepCopyInto(out *ClusterCondition) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCondition.
func (x *ClusterCondition) DeepCopy() *ClusterCondition { func (in *ClusterCondition) DeepCopy() *ClusterCondition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterCondition) out := new(ClusterCondition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -142,19 +143,19 @@ func (in *ClusterList) DeepCopyInto(out *ClusterList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
func (x *ClusterList) DeepCopy() *ClusterList { func (in *ClusterList) DeepCopy() *ClusterList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterList) out := new(ClusterList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ClusterList) DeepCopyObject() runtime.Object { func (in *ClusterList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -176,13 +177,13 @@ func (in *ClusterPreferences) DeepCopyInto(out *ClusterPreferences) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPreferences. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPreferences.
func (x *ClusterPreferences) DeepCopy() *ClusterPreferences { func (in *ClusterPreferences) DeepCopy() *ClusterPreferences {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterPreferences) out := new(ClusterPreferences)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -197,13 +198,13 @@ func (in *ClusterServiceIngress) DeepCopyInto(out *ClusterServiceIngress) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterServiceIngress. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterServiceIngress.
func (x *ClusterServiceIngress) DeepCopy() *ClusterServiceIngress { func (in *ClusterServiceIngress) DeepCopy() *ClusterServiceIngress {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterServiceIngress) out := new(ClusterServiceIngress)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -227,13 +228,13 @@ func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
func (x *ClusterSpec) DeepCopy() *ClusterSpec { func (in *ClusterSpec) DeepCopy() *ClusterSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterSpec) out := new(ClusterSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -255,13 +256,13 @@ func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
func (x *ClusterStatus) DeepCopy() *ClusterStatus { func (in *ClusterStatus) DeepCopy() *ClusterStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterStatus) out := new(ClusterStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -278,13 +279,13 @@ func (in *FederatedServiceIngress) DeepCopyInto(out *FederatedServiceIngress) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FederatedServiceIngress. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedServiceIngress.
func (x *FederatedServiceIngress) DeepCopy() *FederatedServiceIngress { func (in *FederatedServiceIngress) DeepCopy() *FederatedServiceIngress {
if x == nil { if in == nil {
return nil return nil
} }
out := new(FederatedServiceIngress) out := new(FederatedServiceIngress)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -303,13 +304,13 @@ func (in *ReplicaAllocationPreferences) DeepCopyInto(out *ReplicaAllocationPrefe
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaAllocationPreferences. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaAllocationPreferences.
func (x *ReplicaAllocationPreferences) DeepCopy() *ReplicaAllocationPreferences { func (in *ReplicaAllocationPreferences) DeepCopy() *ReplicaAllocationPreferences {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ReplicaAllocationPreferences) out := new(ReplicaAllocationPreferences)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -319,12 +320,12 @@ func (in *ServerAddressByClientCIDR) DeepCopyInto(out *ServerAddressByClientCIDR
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServerAddressByClientCIDR. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerAddressByClientCIDR.
func (x *ServerAddressByClientCIDR) DeepCopy() *ServerAddressByClientCIDR { func (in *ServerAddressByClientCIDR) DeepCopy() *ServerAddressByClientCIDR {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ServerAddressByClientCIDR) out := new(ServerAddressByClientCIDR)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

File diff suppressed because it is too large Load Diff

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -49,19 +50,19 @@ func (in *Policy) DeepCopyInto(out *Policy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Policy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
func (x *Policy) DeepCopy() *Policy { func (in *Policy) DeepCopy() *Policy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Policy) out := new(Policy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Policy) DeepCopyObject() runtime.Object { func (in *Policy) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -54,19 +55,19 @@ func (in *Policy) DeepCopyInto(out *Policy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Policy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
func (x *Policy) DeepCopy() *Policy { func (in *Policy) DeepCopy() *Policy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Policy) out := new(Policy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Policy) DeepCopyObject() runtime.Object { func (in *Policy) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -79,12 +80,12 @@ func (in *PolicySpec) DeepCopyInto(out *PolicySpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec.
func (x *PolicySpec) DeepCopy() *PolicySpec { func (in *PolicySpec) DeepCopy() *PolicySpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PolicySpec) out := new(PolicySpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,7 +26,9 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. // GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc { func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{ return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -48,19 +50,19 @@ func (in *Policy) DeepCopyInto(out *Policy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Policy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
func (x *Policy) DeepCopy() *Policy { func (in *Policy) DeepCopy() *Policy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Policy) out := new(Policy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Policy) DeepCopyObject() runtime.Object { func (in *Policy) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -73,12 +75,12 @@ func (in *PolicySpec) DeepCopyInto(out *PolicySpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec.
func (x *PolicySpec) DeepCopy() *PolicySpec { func (in *PolicySpec) DeepCopy() *PolicySpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PolicySpec) out := new(PolicySpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -27,13 +27,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -60,19 +61,19 @@ func (in *AdmissionReview) DeepCopyInto(out *AdmissionReview) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReview. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReview.
func (x *AdmissionReview) DeepCopy() *AdmissionReview { func (in *AdmissionReview) DeepCopy() *AdmissionReview {
if x == nil { if in == nil {
return nil return nil
} }
out := new(AdmissionReview) out := new(AdmissionReview)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *AdmissionReview) DeepCopyObject() runtime.Object { func (in *AdmissionReview) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -98,13 +99,13 @@ func (in *AdmissionReviewSpec) DeepCopyInto(out *AdmissionReviewSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewSpec.
func (x *AdmissionReviewSpec) DeepCopy() *AdmissionReviewSpec { func (in *AdmissionReviewSpec) DeepCopy() *AdmissionReviewSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(AdmissionReviewSpec) out := new(AdmissionReviewSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -123,12 +124,12 @@ func (in *AdmissionReviewStatus) DeepCopyInto(out *AdmissionReviewStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewStatus.
func (x *AdmissionReviewStatus) DeepCopy() *AdmissionReviewStatus { func (in *AdmissionReviewStatus) DeepCopy() *AdmissionReviewStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(AdmissionReviewStatus) out := new(AdmissionReviewStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -90,13 +91,13 @@ func (in *AdmissionHookClientConfig) DeepCopyInto(out *AdmissionHookClientConfig
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionHookClientConfig. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionHookClientConfig.
func (x *AdmissionHookClientConfig) DeepCopy() *AdmissionHookClientConfig { func (in *AdmissionHookClientConfig) DeepCopy() *AdmissionHookClientConfig {
if x == nil { if in == nil {
return nil return nil
} }
out := new(AdmissionHookClientConfig) out := new(AdmissionHookClientConfig)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -123,13 +124,13 @@ func (in *ExternalAdmissionHook) DeepCopyInto(out *ExternalAdmissionHook) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHook. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHook.
func (x *ExternalAdmissionHook) DeepCopy() *ExternalAdmissionHook { func (in *ExternalAdmissionHook) DeepCopy() *ExternalAdmissionHook {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalAdmissionHook) out := new(ExternalAdmissionHook)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -148,19 +149,19 @@ func (in *ExternalAdmissionHookConfiguration) DeepCopyInto(out *ExternalAdmissio
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfiguration.
func (x *ExternalAdmissionHookConfiguration) DeepCopy() *ExternalAdmissionHookConfiguration { func (in *ExternalAdmissionHookConfiguration) DeepCopy() *ExternalAdmissionHookConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalAdmissionHookConfiguration) out := new(ExternalAdmissionHookConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalAdmissionHookConfiguration) DeepCopyObject() runtime.Object { func (in *ExternalAdmissionHookConfiguration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -182,19 +183,19 @@ func (in *ExternalAdmissionHookConfigurationList) DeepCopyInto(out *ExternalAdmi
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfigurationList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfigurationList.
func (x *ExternalAdmissionHookConfigurationList) DeepCopy() *ExternalAdmissionHookConfigurationList { func (in *ExternalAdmissionHookConfigurationList) DeepCopy() *ExternalAdmissionHookConfigurationList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalAdmissionHookConfigurationList) out := new(ExternalAdmissionHookConfigurationList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalAdmissionHookConfigurationList) DeepCopyObject() runtime.Object { func (in *ExternalAdmissionHookConfigurationList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -223,13 +224,13 @@ func (in *Initializer) DeepCopyInto(out *Initializer) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Initializer. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Initializer.
func (x *Initializer) DeepCopy() *Initializer { func (in *Initializer) DeepCopy() *Initializer {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Initializer) out := new(Initializer)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -248,19 +249,19 @@ func (in *InitializerConfiguration) DeepCopyInto(out *InitializerConfiguration)
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfiguration.
func (x *InitializerConfiguration) DeepCopy() *InitializerConfiguration { func (in *InitializerConfiguration) DeepCopy() *InitializerConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(InitializerConfiguration) out := new(InitializerConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *InitializerConfiguration) DeepCopyObject() runtime.Object { func (in *InitializerConfiguration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -282,19 +283,19 @@ func (in *InitializerConfigurationList) DeepCopyInto(out *InitializerConfigurati
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfigurationList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfigurationList.
func (x *InitializerConfigurationList) DeepCopy() *InitializerConfigurationList { func (in *InitializerConfigurationList) DeepCopy() *InitializerConfigurationList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(InitializerConfigurationList) out := new(InitializerConfigurationList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *InitializerConfigurationList) DeepCopyObject() runtime.Object { func (in *InitializerConfigurationList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -322,13 +323,13 @@ func (in *Rule) DeepCopyInto(out *Rule) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Rule. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule.
func (x *Rule) DeepCopy() *Rule { func (in *Rule) DeepCopy() *Rule {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Rule) out := new(Rule)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -344,13 +345,13 @@ func (in *RuleWithOperations) DeepCopyInto(out *RuleWithOperations) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RuleWithOperations. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleWithOperations.
func (x *RuleWithOperations) DeepCopy() *RuleWithOperations { func (in *RuleWithOperations) DeepCopy() *RuleWithOperations {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RuleWithOperations) out := new(RuleWithOperations)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -360,12 +361,12 @@ func (in *ServiceReference) DeepCopyInto(out *ServiceReference) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.
func (x *ServiceReference) DeepCopy() *ServiceReference { func (in *ServiceReference) DeepCopy() *ServiceReference {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ServiceReference) out := new(ServiceReference)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -28,13 +28,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -85,19 +86,19 @@ func (in *ControllerRevision) DeepCopyInto(out *ControllerRevision) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevision. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevision.
func (x *ControllerRevision) DeepCopy() *ControllerRevision { func (in *ControllerRevision) DeepCopy() *ControllerRevision {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ControllerRevision) out := new(ControllerRevision)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ControllerRevision) DeepCopyObject() runtime.Object { func (in *ControllerRevision) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -119,19 +120,19 @@ func (in *ControllerRevisionList) DeepCopyInto(out *ControllerRevisionList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevisionList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevisionList.
func (x *ControllerRevisionList) DeepCopy() *ControllerRevisionList { func (in *ControllerRevisionList) DeepCopy() *ControllerRevisionList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ControllerRevisionList) out := new(ControllerRevisionList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ControllerRevisionList) DeepCopyObject() runtime.Object { func (in *ControllerRevisionList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -144,13 +145,13 @@ func (in *RollingUpdateStatefulSetStrategy) DeepCopyInto(out *RollingUpdateState
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatefulSetStrategy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatefulSetStrategy.
func (x *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy { func (in *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RollingUpdateStatefulSetStrategy) out := new(RollingUpdateStatefulSetStrategy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -164,19 +165,19 @@ func (in *StatefulSet) DeepCopyInto(out *StatefulSet) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet.
func (x *StatefulSet) DeepCopy() *StatefulSet { func (in *StatefulSet) DeepCopy() *StatefulSet {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StatefulSet) out := new(StatefulSet)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *StatefulSet) DeepCopyObject() runtime.Object { func (in *StatefulSet) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -198,19 +199,19 @@ func (in *StatefulSetList) DeepCopyInto(out *StatefulSetList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList.
func (x *StatefulSetList) DeepCopy() *StatefulSetList { func (in *StatefulSetList) DeepCopy() *StatefulSetList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StatefulSetList) out := new(StatefulSetList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *StatefulSetList) DeepCopyObject() runtime.Object { func (in *StatefulSetList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -250,13 +251,13 @@ func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec.
func (x *StatefulSetSpec) DeepCopy() *StatefulSetSpec { func (in *StatefulSetSpec) DeepCopy() *StatefulSetSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StatefulSetSpec) out := new(StatefulSetSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -275,13 +276,13 @@ func (in *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus.
func (x *StatefulSetStatus) DeepCopy() *StatefulSetStatus { func (in *StatefulSetStatus) DeepCopy() *StatefulSetStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StatefulSetStatus) out := new(StatefulSetStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -300,12 +301,12 @@ func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy.
func (x *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy { func (in *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StatefulSetUpdateStrategy) out := new(StatefulSetUpdateStrategy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -64,19 +65,19 @@ func (in *TokenReview) DeepCopyInto(out *TokenReview) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview.
func (x *TokenReview) DeepCopy() *TokenReview { func (in *TokenReview) DeepCopy() *TokenReview {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TokenReview) out := new(TokenReview)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *TokenReview) DeepCopyObject() runtime.Object { func (in *TokenReview) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -89,13 +90,13 @@ func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec.
func (x *TokenReviewSpec) DeepCopy() *TokenReviewSpec { func (in *TokenReviewSpec) DeepCopy() *TokenReviewSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TokenReviewSpec) out := new(TokenReviewSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -106,13 +107,13 @@ func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus.
func (x *TokenReviewStatus) DeepCopy() *TokenReviewStatus { func (in *TokenReviewStatus) DeepCopy() *TokenReviewStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TokenReviewStatus) out := new(TokenReviewStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -135,12 +136,12 @@ func (in *UserInfo) DeepCopyInto(out *UserInfo) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo.
func (x *UserInfo) DeepCopy() *UserInfo { func (in *UserInfo) DeepCopy() *UserInfo {
if x == nil { if in == nil {
return nil return nil
} }
out := new(UserInfo) out := new(UserInfo)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -80,19 +81,19 @@ func (in *LocalSubjectAccessReview) DeepCopyInto(out *LocalSubjectAccessReview)
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LocalSubjectAccessReview. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalSubjectAccessReview.
func (x *LocalSubjectAccessReview) DeepCopy() *LocalSubjectAccessReview { func (in *LocalSubjectAccessReview) DeepCopy() *LocalSubjectAccessReview {
if x == nil { if in == nil {
return nil return nil
} }
out := new(LocalSubjectAccessReview) out := new(LocalSubjectAccessReview)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *LocalSubjectAccessReview) DeepCopyObject() runtime.Object { func (in *LocalSubjectAccessReview) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -105,13 +106,13 @@ func (in *NonResourceAttributes) DeepCopyInto(out *NonResourceAttributes) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NonResourceAttributes. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonResourceAttributes.
func (x *NonResourceAttributes) DeepCopy() *NonResourceAttributes { func (in *NonResourceAttributes) DeepCopy() *NonResourceAttributes {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NonResourceAttributes) out := new(NonResourceAttributes)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -121,13 +122,13 @@ func (in *ResourceAttributes) DeepCopyInto(out *ResourceAttributes) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAttributes. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAttributes.
func (x *ResourceAttributes) DeepCopy() *ResourceAttributes { func (in *ResourceAttributes) DeepCopy() *ResourceAttributes {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ResourceAttributes) out := new(ResourceAttributes)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -141,19 +142,19 @@ func (in *SelfSubjectAccessReview) DeepCopyInto(out *SelfSubjectAccessReview) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReview. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReview.
func (x *SelfSubjectAccessReview) DeepCopy() *SelfSubjectAccessReview { func (in *SelfSubjectAccessReview) DeepCopy() *SelfSubjectAccessReview {
if x == nil { if in == nil {
return nil return nil
} }
out := new(SelfSubjectAccessReview) out := new(SelfSubjectAccessReview)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *SelfSubjectAccessReview) DeepCopyObject() runtime.Object { func (in *SelfSubjectAccessReview) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -184,13 +185,13 @@ func (in *SelfSubjectAccessReviewSpec) DeepCopyInto(out *SelfSubjectAccessReview
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReviewSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReviewSpec.
func (x *SelfSubjectAccessReviewSpec) DeepCopy() *SelfSubjectAccessReviewSpec { func (in *SelfSubjectAccessReviewSpec) DeepCopy() *SelfSubjectAccessReviewSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(SelfSubjectAccessReviewSpec) out := new(SelfSubjectAccessReviewSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -204,19 +205,19 @@ func (in *SubjectAccessReview) DeepCopyInto(out *SubjectAccessReview) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReview. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReview.
func (x *SubjectAccessReview) DeepCopy() *SubjectAccessReview { func (in *SubjectAccessReview) DeepCopy() *SubjectAccessReview {
if x == nil { if in == nil {
return nil return nil
} }
out := new(SubjectAccessReview) out := new(SubjectAccessReview)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *SubjectAccessReview) DeepCopyObject() runtime.Object { func (in *SubjectAccessReview) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -260,13 +261,13 @@ func (in *SubjectAccessReviewSpec) DeepCopyInto(out *SubjectAccessReviewSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewSpec.
func (x *SubjectAccessReviewSpec) DeepCopy() *SubjectAccessReviewSpec { func (in *SubjectAccessReviewSpec) DeepCopy() *SubjectAccessReviewSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(SubjectAccessReviewSpec) out := new(SubjectAccessReviewSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -276,12 +277,12 @@ func (in *SubjectAccessReviewStatus) DeepCopyInto(out *SubjectAccessReviewStatus
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewStatus.
func (x *SubjectAccessReviewStatus) DeepCopy() *SubjectAccessReviewStatus { func (in *SubjectAccessReviewStatus) DeepCopy() *SubjectAccessReviewStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(SubjectAccessReviewStatus) out := new(SubjectAccessReviewStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -28,13 +28,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -114,13 +115,13 @@ func (in *CrossVersionObjectReference) DeepCopyInto(out *CrossVersionObjectRefer
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CrossVersionObjectReference. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossVersionObjectReference.
func (x *CrossVersionObjectReference) DeepCopy() *CrossVersionObjectReference { func (in *CrossVersionObjectReference) DeepCopy() *CrossVersionObjectReference {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CrossVersionObjectReference) out := new(CrossVersionObjectReference)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -134,19 +135,19 @@ func (in *HorizontalPodAutoscaler) DeepCopyInto(out *HorizontalPodAutoscaler) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscaler. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscaler.
func (x *HorizontalPodAutoscaler) DeepCopy() *HorizontalPodAutoscaler { func (in *HorizontalPodAutoscaler) DeepCopy() *HorizontalPodAutoscaler {
if x == nil { if in == nil {
return nil return nil
} }
out := new(HorizontalPodAutoscaler) out := new(HorizontalPodAutoscaler)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *HorizontalPodAutoscaler) DeepCopyObject() runtime.Object { func (in *HorizontalPodAutoscaler) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -160,13 +161,13 @@ func (in *HorizontalPodAutoscalerCondition) DeepCopyInto(out *HorizontalPodAutos
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerCondition.
func (x *HorizontalPodAutoscalerCondition) DeepCopy() *HorizontalPodAutoscalerCondition { func (in *HorizontalPodAutoscalerCondition) DeepCopy() *HorizontalPodAutoscalerCondition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(HorizontalPodAutoscalerCondition) out := new(HorizontalPodAutoscalerCondition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -185,19 +186,19 @@ func (in *HorizontalPodAutoscalerList) DeepCopyInto(out *HorizontalPodAutoscaler
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerList.
func (x *HorizontalPodAutoscalerList) DeepCopy() *HorizontalPodAutoscalerList { func (in *HorizontalPodAutoscalerList) DeepCopy() *HorizontalPodAutoscalerList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(HorizontalPodAutoscalerList) out := new(HorizontalPodAutoscalerList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *HorizontalPodAutoscalerList) DeepCopyObject() runtime.Object { func (in *HorizontalPodAutoscalerList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -227,13 +228,13 @@ func (in *HorizontalPodAutoscalerSpec) DeepCopyInto(out *HorizontalPodAutoscaler
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerSpec.
func (x *HorizontalPodAutoscalerSpec) DeepCopy() *HorizontalPodAutoscalerSpec { func (in *HorizontalPodAutoscalerSpec) DeepCopy() *HorizontalPodAutoscalerSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(HorizontalPodAutoscalerSpec) out := new(HorizontalPodAutoscalerSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -275,13 +276,13 @@ func (in *HorizontalPodAutoscalerStatus) DeepCopyInto(out *HorizontalPodAutoscal
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerStatus.
func (x *HorizontalPodAutoscalerStatus) DeepCopy() *HorizontalPodAutoscalerStatus { func (in *HorizontalPodAutoscalerStatus) DeepCopy() *HorizontalPodAutoscalerStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(HorizontalPodAutoscalerStatus) out := new(HorizontalPodAutoscalerStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -318,13 +319,13 @@ func (in *MetricSpec) DeepCopyInto(out *MetricSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetricSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricSpec.
func (x *MetricSpec) DeepCopy() *MetricSpec { func (in *MetricSpec) DeepCopy() *MetricSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(MetricSpec) out := new(MetricSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -361,13 +362,13 @@ func (in *MetricStatus) DeepCopyInto(out *MetricStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetricStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricStatus.
func (x *MetricStatus) DeepCopy() *MetricStatus { func (in *MetricStatus) DeepCopy() *MetricStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(MetricStatus) out := new(MetricStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -379,13 +380,13 @@ func (in *ObjectMetricSource) DeepCopyInto(out *ObjectMetricSource) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricSource. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricSource.
func (x *ObjectMetricSource) DeepCopy() *ObjectMetricSource { func (in *ObjectMetricSource) DeepCopy() *ObjectMetricSource {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ObjectMetricSource) out := new(ObjectMetricSource)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -397,13 +398,13 @@ func (in *ObjectMetricStatus) DeepCopyInto(out *ObjectMetricStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricStatus.
func (x *ObjectMetricStatus) DeepCopy() *ObjectMetricStatus { func (in *ObjectMetricStatus) DeepCopy() *ObjectMetricStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ObjectMetricStatus) out := new(ObjectMetricStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -414,13 +415,13 @@ func (in *PodsMetricSource) DeepCopyInto(out *PodsMetricSource) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricSource. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricSource.
func (x *PodsMetricSource) DeepCopy() *PodsMetricSource { func (in *PodsMetricSource) DeepCopy() *PodsMetricSource {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodsMetricSource) out := new(PodsMetricSource)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -431,13 +432,13 @@ func (in *PodsMetricStatus) DeepCopyInto(out *PodsMetricStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricStatus.
func (x *PodsMetricStatus) DeepCopy() *PodsMetricStatus { func (in *PodsMetricStatus) DeepCopy() *PodsMetricStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodsMetricStatus) out := new(PodsMetricStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -465,13 +466,13 @@ func (in *ResourceMetricSource) DeepCopyInto(out *ResourceMetricSource) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricSource. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricSource.
func (x *ResourceMetricSource) DeepCopy() *ResourceMetricSource { func (in *ResourceMetricSource) DeepCopy() *ResourceMetricSource {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ResourceMetricSource) out := new(ResourceMetricSource)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -491,13 +492,13 @@ func (in *ResourceMetricStatus) DeepCopyInto(out *ResourceMetricStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricStatus.
func (x *ResourceMetricStatus) DeepCopy() *ResourceMetricStatus { func (in *ResourceMetricStatus) DeepCopy() *ResourceMetricStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ResourceMetricStatus) out := new(ResourceMetricStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -511,19 +512,19 @@ func (in *Scale) DeepCopyInto(out *Scale) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Scale. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale.
func (x *Scale) DeepCopy() *Scale { func (in *Scale) DeepCopy() *Scale {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Scale) out := new(Scale)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Scale) DeepCopyObject() runtime.Object { func (in *Scale) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -536,13 +537,13 @@ func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec.
func (x *ScaleSpec) DeepCopy() *ScaleSpec { func (in *ScaleSpec) DeepCopy() *ScaleSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ScaleSpec) out := new(ScaleSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -552,12 +553,12 @@ func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus.
func (x *ScaleStatus) DeepCopy() *ScaleStatus { func (in *ScaleStatus) DeepCopy() *ScaleStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ScaleStatus) out := new(ScaleStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -28,13 +28,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -94,19 +95,19 @@ func (in *CronJob) DeepCopyInto(out *CronJob) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CronJob. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJob.
func (x *CronJob) DeepCopy() *CronJob { func (in *CronJob) DeepCopy() *CronJob {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CronJob) out := new(CronJob)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *CronJob) DeepCopyObject() runtime.Object { func (in *CronJob) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -128,19 +129,19 @@ func (in *CronJobList) DeepCopyInto(out *CronJobList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CronJobList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobList.
func (x *CronJobList) DeepCopy() *CronJobList { func (in *CronJobList) DeepCopy() *CronJobList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CronJobList) out := new(CronJobList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *CronJobList) DeepCopyObject() runtime.Object { func (in *CronJobList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -190,13 +191,13 @@ func (in *CronJobSpec) DeepCopyInto(out *CronJobSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CronJobSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobSpec.
func (x *CronJobSpec) DeepCopy() *CronJobSpec { func (in *CronJobSpec) DeepCopy() *CronJobSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CronJobSpec) out := new(CronJobSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -220,13 +221,13 @@ func (in *CronJobStatus) DeepCopyInto(out *CronJobStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CronJobStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobStatus.
func (x *CronJobStatus) DeepCopy() *CronJobStatus { func (in *CronJobStatus) DeepCopy() *CronJobStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CronJobStatus) out := new(CronJobStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -240,19 +241,19 @@ func (in *Job) DeepCopyInto(out *Job) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Job. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Job.
func (x *Job) DeepCopy() *Job { func (in *Job) DeepCopy() *Job {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Job) out := new(Job)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Job) DeepCopyObject() runtime.Object { func (in *Job) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -267,13 +268,13 @@ func (in *JobCondition) DeepCopyInto(out *JobCondition) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobCondition.
func (x *JobCondition) DeepCopy() *JobCondition { func (in *JobCondition) DeepCopy() *JobCondition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(JobCondition) out := new(JobCondition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -292,19 +293,19 @@ func (in *JobList) DeepCopyInto(out *JobList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobList.
func (x *JobList) DeepCopy() *JobList { func (in *JobList) DeepCopy() *JobList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(JobList) out := new(JobList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *JobList) DeepCopyObject() runtime.Object { func (in *JobList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -363,13 +364,13 @@ func (in *JobSpec) DeepCopyInto(out *JobSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec.
func (x *JobSpec) DeepCopy() *JobSpec { func (in *JobSpec) DeepCopy() *JobSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(JobSpec) out := new(JobSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -404,13 +405,13 @@ func (in *JobStatus) DeepCopyInto(out *JobStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus.
func (x *JobStatus) DeepCopy() *JobStatus { func (in *JobStatus) DeepCopy() *JobStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(JobStatus) out := new(JobStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -423,19 +424,19 @@ func (in *JobTemplate) DeepCopyInto(out *JobTemplate) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplate. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplate.
func (x *JobTemplate) DeepCopy() *JobTemplate { func (in *JobTemplate) DeepCopy() *JobTemplate {
if x == nil { if in == nil {
return nil return nil
} }
out := new(JobTemplate) out := new(JobTemplate)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *JobTemplate) DeepCopyObject() runtime.Object { func (in *JobTemplate) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -450,12 +451,12 @@ func (in *JobTemplateSpec) DeepCopyInto(out *JobTemplateSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateSpec.
func (x *JobTemplateSpec) DeepCopy() *JobTemplateSpec { func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(JobTemplateSpec) out := new(JobTemplateSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -68,19 +69,19 @@ func (in *CertificateSigningRequest) DeepCopyInto(out *CertificateSigningRequest
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequest. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequest.
func (x *CertificateSigningRequest) DeepCopy() *CertificateSigningRequest { func (in *CertificateSigningRequest) DeepCopy() *CertificateSigningRequest {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CertificateSigningRequest) out := new(CertificateSigningRequest)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *CertificateSigningRequest) DeepCopyObject() runtime.Object { func (in *CertificateSigningRequest) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -94,13 +95,13 @@ func (in *CertificateSigningRequestCondition) DeepCopyInto(out *CertificateSigni
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestCondition.
func (x *CertificateSigningRequestCondition) DeepCopy() *CertificateSigningRequestCondition { func (in *CertificateSigningRequestCondition) DeepCopy() *CertificateSigningRequestCondition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CertificateSigningRequestCondition) out := new(CertificateSigningRequestCondition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -119,19 +120,19 @@ func (in *CertificateSigningRequestList) DeepCopyInto(out *CertificateSigningReq
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestList.
func (x *CertificateSigningRequestList) DeepCopy() *CertificateSigningRequestList { func (in *CertificateSigningRequestList) DeepCopy() *CertificateSigningRequestList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CertificateSigningRequestList) out := new(CertificateSigningRequestList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *CertificateSigningRequestList) DeepCopyObject() runtime.Object { func (in *CertificateSigningRequestList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -167,13 +168,13 @@ func (in *CertificateSigningRequestSpec) DeepCopyInto(out *CertificateSigningReq
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestSpec.
func (x *CertificateSigningRequestSpec) DeepCopy() *CertificateSigningRequestSpec { func (in *CertificateSigningRequestSpec) DeepCopy() *CertificateSigningRequestSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CertificateSigningRequestSpec) out := new(CertificateSigningRequestSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -195,12 +196,12 @@ func (in *CertificateSigningRequestStatus) DeepCopyInto(out *CertificateSigningR
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestStatus.
func (x *CertificateSigningRequestStatus) DeepCopy() *CertificateSigningRequestStatus { func (in *CertificateSigningRequestStatus) DeepCopy() *CertificateSigningRequestStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CertificateSigningRequestStatus) out := new(CertificateSigningRequestStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -27,13 +27,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -97,13 +98,13 @@ func (in *ClientConnectionConfiguration) DeepCopyInto(out *ClientConnectionConfi
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClientConnectionConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientConnectionConfiguration.
func (x *ClientConnectionConfiguration) DeepCopy() *ClientConnectionConfiguration { func (in *ClientConnectionConfiguration) DeepCopy() *ClientConnectionConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClientConnectionConfiguration) out := new(ClientConnectionConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -128,19 +129,19 @@ func (in *KubeProxyConfiguration) DeepCopyInto(out *KubeProxyConfiguration) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyConfiguration.
func (x *KubeProxyConfiguration) DeepCopy() *KubeProxyConfiguration { func (in *KubeProxyConfiguration) DeepCopy() *KubeProxyConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(KubeProxyConfiguration) out := new(KubeProxyConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *KubeProxyConfiguration) DeepCopyObject() runtime.Object { func (in *KubeProxyConfiguration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -155,13 +156,13 @@ func (in *KubeProxyConntrackConfiguration) DeepCopyInto(out *KubeProxyConntrackC
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyConntrackConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyConntrackConfiguration.
func (x *KubeProxyConntrackConfiguration) DeepCopy() *KubeProxyConntrackConfiguration { func (in *KubeProxyConntrackConfiguration) DeepCopy() *KubeProxyConntrackConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(KubeProxyConntrackConfiguration) out := new(KubeProxyConntrackConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -182,13 +183,13 @@ func (in *KubeProxyIPTablesConfiguration) DeepCopyInto(out *KubeProxyIPTablesCon
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyIPTablesConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyIPTablesConfiguration.
func (x *KubeProxyIPTablesConfiguration) DeepCopy() *KubeProxyIPTablesConfiguration { func (in *KubeProxyIPTablesConfiguration) DeepCopy() *KubeProxyIPTablesConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(KubeProxyIPTablesConfiguration) out := new(KubeProxyIPTablesConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -209,19 +210,19 @@ func (in *KubeSchedulerConfiguration) DeepCopyInto(out *KubeSchedulerConfigurati
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeSchedulerConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeSchedulerConfiguration.
func (x *KubeSchedulerConfiguration) DeepCopy() *KubeSchedulerConfiguration { func (in *KubeSchedulerConfiguration) DeepCopy() *KubeSchedulerConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(KubeSchedulerConfiguration) out := new(KubeSchedulerConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *KubeSchedulerConfiguration) DeepCopyObject() runtime.Object { func (in *KubeSchedulerConfiguration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -243,13 +244,13 @@ func (in *KubeletAnonymousAuthentication) DeepCopyInto(out *KubeletAnonymousAuth
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAnonymousAuthentication. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAnonymousAuthentication.
func (x *KubeletAnonymousAuthentication) DeepCopy() *KubeletAnonymousAuthentication { func (in *KubeletAnonymousAuthentication) DeepCopy() *KubeletAnonymousAuthentication {
if x == nil { if in == nil {
return nil return nil
} }
out := new(KubeletAnonymousAuthentication) out := new(KubeletAnonymousAuthentication)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -262,13 +263,13 @@ func (in *KubeletAuthentication) DeepCopyInto(out *KubeletAuthentication) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAuthentication. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAuthentication.
func (x *KubeletAuthentication) DeepCopy() *KubeletAuthentication { func (in *KubeletAuthentication) DeepCopy() *KubeletAuthentication {
if x == nil { if in == nil {
return nil return nil
} }
out := new(KubeletAuthentication) out := new(KubeletAuthentication)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -279,13 +280,13 @@ func (in *KubeletAuthorization) DeepCopyInto(out *KubeletAuthorization) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAuthorization. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAuthorization.
func (x *KubeletAuthorization) DeepCopy() *KubeletAuthorization { func (in *KubeletAuthorization) DeepCopy() *KubeletAuthorization {
if x == nil { if in == nil {
return nil return nil
} }
out := new(KubeletAuthorization) out := new(KubeletAuthorization)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -589,19 +590,19 @@ func (in *KubeletConfiguration) DeepCopyInto(out *KubeletConfiguration) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletConfiguration.
func (x *KubeletConfiguration) DeepCopy() *KubeletConfiguration { func (in *KubeletConfiguration) DeepCopy() *KubeletConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(KubeletConfiguration) out := new(KubeletConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *KubeletConfiguration) DeepCopyObject() runtime.Object { func (in *KubeletConfiguration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -624,13 +625,13 @@ func (in *KubeletWebhookAuthentication) DeepCopyInto(out *KubeletWebhookAuthenti
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthentication. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthentication.
func (x *KubeletWebhookAuthentication) DeepCopy() *KubeletWebhookAuthentication { func (in *KubeletWebhookAuthentication) DeepCopy() *KubeletWebhookAuthentication {
if x == nil { if in == nil {
return nil return nil
} }
out := new(KubeletWebhookAuthentication) out := new(KubeletWebhookAuthentication)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -642,13 +643,13 @@ func (in *KubeletWebhookAuthorization) DeepCopyInto(out *KubeletWebhookAuthoriza
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthorization. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthorization.
func (x *KubeletWebhookAuthorization) DeepCopy() *KubeletWebhookAuthorization { func (in *KubeletWebhookAuthorization) DeepCopy() *KubeletWebhookAuthorization {
if x == nil { if in == nil {
return nil return nil
} }
out := new(KubeletWebhookAuthorization) out := new(KubeletWebhookAuthorization)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -658,13 +659,13 @@ func (in *KubeletX509Authentication) DeepCopyInto(out *KubeletX509Authentication
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletX509Authentication. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletX509Authentication.
func (x *KubeletX509Authentication) DeepCopy() *KubeletX509Authentication { func (in *KubeletX509Authentication) DeepCopy() *KubeletX509Authentication {
if x == nil { if in == nil {
return nil return nil
} }
out := new(KubeletX509Authentication) out := new(KubeletX509Authentication)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -686,12 +687,12 @@ func (in *LeaderElectionConfiguration) DeepCopyInto(out *LeaderElectionConfigura
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LeaderElectionConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaderElectionConfiguration.
func (x *LeaderElectionConfiguration) DeepCopy() *LeaderElectionConfiguration { func (in *LeaderElectionConfiguration) DeepCopy() *LeaderElectionConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(LeaderElectionConfiguration) out := new(LeaderElectionConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -27,13 +27,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -121,13 +122,13 @@ func (in *ClientConnectionConfiguration) DeepCopyInto(out *ClientConnectionConfi
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClientConnectionConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientConnectionConfiguration.
func (x *ClientConnectionConfiguration) DeepCopy() *ClientConnectionConfiguration { func (in *ClientConnectionConfiguration) DeepCopy() *ClientConnectionConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClientConnectionConfiguration) out := new(ClientConnectionConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -137,13 +138,13 @@ func (in *GroupResource) DeepCopyInto(out *GroupResource) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GroupResource. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupResource.
func (x *GroupResource) DeepCopy() *GroupResource { func (in *GroupResource) DeepCopy() *GroupResource {
if x == nil { if in == nil {
return nil return nil
} }
out := new(GroupResource) out := new(GroupResource)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -162,13 +163,13 @@ func (in *IPVar) DeepCopyInto(out *IPVar) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new IPVar. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPVar.
func (x *IPVar) DeepCopy() *IPVar { func (in *IPVar) DeepCopy() *IPVar {
if x == nil { if in == nil {
return nil return nil
} }
out := new(IPVar) out := new(IPVar)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -209,19 +210,19 @@ func (in *KubeControllerManagerConfiguration) DeepCopyInto(out *KubeControllerMa
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeControllerManagerConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeControllerManagerConfiguration.
func (x *KubeControllerManagerConfiguration) DeepCopy() *KubeControllerManagerConfiguration { func (in *KubeControllerManagerConfiguration) DeepCopy() *KubeControllerManagerConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(KubeControllerManagerConfiguration) out := new(KubeControllerManagerConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *KubeControllerManagerConfiguration) DeepCopyObject() runtime.Object { func (in *KubeControllerManagerConfiguration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -249,19 +250,19 @@ func (in *KubeProxyConfiguration) DeepCopyInto(out *KubeProxyConfiguration) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyConfiguration.
func (x *KubeProxyConfiguration) DeepCopy() *KubeProxyConfiguration { func (in *KubeProxyConfiguration) DeepCopy() *KubeProxyConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(KubeProxyConfiguration) out := new(KubeProxyConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *KubeProxyConfiguration) DeepCopyObject() runtime.Object { func (in *KubeProxyConfiguration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -276,13 +277,13 @@ func (in *KubeProxyConntrackConfiguration) DeepCopyInto(out *KubeProxyConntrackC
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyConntrackConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyConntrackConfiguration.
func (x *KubeProxyConntrackConfiguration) DeepCopy() *KubeProxyConntrackConfiguration { func (in *KubeProxyConntrackConfiguration) DeepCopy() *KubeProxyConntrackConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(KubeProxyConntrackConfiguration) out := new(KubeProxyConntrackConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -303,13 +304,13 @@ func (in *KubeProxyIPTablesConfiguration) DeepCopyInto(out *KubeProxyIPTablesCon
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyIPTablesConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyIPTablesConfiguration.
func (x *KubeProxyIPTablesConfiguration) DeepCopy() *KubeProxyIPTablesConfiguration { func (in *KubeProxyIPTablesConfiguration) DeepCopy() *KubeProxyIPTablesConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(KubeProxyIPTablesConfiguration) out := new(KubeProxyIPTablesConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -321,19 +322,19 @@ func (in *KubeSchedulerConfiguration) DeepCopyInto(out *KubeSchedulerConfigurati
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeSchedulerConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeSchedulerConfiguration.
func (x *KubeSchedulerConfiguration) DeepCopy() *KubeSchedulerConfiguration { func (in *KubeSchedulerConfiguration) DeepCopy() *KubeSchedulerConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(KubeSchedulerConfiguration) out := new(KubeSchedulerConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *KubeSchedulerConfiguration) DeepCopyObject() runtime.Object { func (in *KubeSchedulerConfiguration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -346,13 +347,13 @@ func (in *KubeletAnonymousAuthentication) DeepCopyInto(out *KubeletAnonymousAuth
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAnonymousAuthentication. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAnonymousAuthentication.
func (x *KubeletAnonymousAuthentication) DeepCopy() *KubeletAnonymousAuthentication { func (in *KubeletAnonymousAuthentication) DeepCopy() *KubeletAnonymousAuthentication {
if x == nil { if in == nil {
return nil return nil
} }
out := new(KubeletAnonymousAuthentication) out := new(KubeletAnonymousAuthentication)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -365,13 +366,13 @@ func (in *KubeletAuthentication) DeepCopyInto(out *KubeletAuthentication) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAuthentication. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAuthentication.
func (x *KubeletAuthentication) DeepCopy() *KubeletAuthentication { func (in *KubeletAuthentication) DeepCopy() *KubeletAuthentication {
if x == nil { if in == nil {
return nil return nil
} }
out := new(KubeletAuthentication) out := new(KubeletAuthentication)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -382,13 +383,13 @@ func (in *KubeletAuthorization) DeepCopyInto(out *KubeletAuthorization) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAuthorization. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAuthorization.
func (x *KubeletAuthorization) DeepCopy() *KubeletAuthorization { func (in *KubeletAuthorization) DeepCopy() *KubeletAuthorization {
if x == nil { if in == nil {
return nil return nil
} }
out := new(KubeletAuthorization) out := new(KubeletAuthorization)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -476,19 +477,19 @@ func (in *KubeletConfiguration) DeepCopyInto(out *KubeletConfiguration) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletConfiguration.
func (x *KubeletConfiguration) DeepCopy() *KubeletConfiguration { func (in *KubeletConfiguration) DeepCopy() *KubeletConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(KubeletConfiguration) out := new(KubeletConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *KubeletConfiguration) DeepCopyObject() runtime.Object { func (in *KubeletConfiguration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -502,13 +503,13 @@ func (in *KubeletWebhookAuthentication) DeepCopyInto(out *KubeletWebhookAuthenti
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthentication. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthentication.
func (x *KubeletWebhookAuthentication) DeepCopy() *KubeletWebhookAuthentication { func (in *KubeletWebhookAuthentication) DeepCopy() *KubeletWebhookAuthentication {
if x == nil { if in == nil {
return nil return nil
} }
out := new(KubeletWebhookAuthentication) out := new(KubeletWebhookAuthentication)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -520,13 +521,13 @@ func (in *KubeletWebhookAuthorization) DeepCopyInto(out *KubeletWebhookAuthoriza
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthorization. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthorization.
func (x *KubeletWebhookAuthorization) DeepCopy() *KubeletWebhookAuthorization { func (in *KubeletWebhookAuthorization) DeepCopy() *KubeletWebhookAuthorization {
if x == nil { if in == nil {
return nil return nil
} }
out := new(KubeletWebhookAuthorization) out := new(KubeletWebhookAuthorization)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -536,13 +537,13 @@ func (in *KubeletX509Authentication) DeepCopyInto(out *KubeletX509Authentication
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletX509Authentication. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletX509Authentication.
func (x *KubeletX509Authentication) DeepCopy() *KubeletX509Authentication { func (in *KubeletX509Authentication) DeepCopy() *KubeletX509Authentication {
if x == nil { if in == nil {
return nil return nil
} }
out := new(KubeletX509Authentication) out := new(KubeletX509Authentication)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -555,13 +556,13 @@ func (in *LeaderElectionConfiguration) DeepCopyInto(out *LeaderElectionConfigura
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LeaderElectionConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaderElectionConfiguration.
func (x *LeaderElectionConfiguration) DeepCopy() *LeaderElectionConfiguration { func (in *LeaderElectionConfiguration) DeepCopy() *LeaderElectionConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(LeaderElectionConfiguration) out := new(LeaderElectionConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -571,13 +572,13 @@ func (in *PersistentVolumeRecyclerConfiguration) DeepCopyInto(out *PersistentVol
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeRecyclerConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeRecyclerConfiguration.
func (x *PersistentVolumeRecyclerConfiguration) DeepCopy() *PersistentVolumeRecyclerConfiguration { func (in *PersistentVolumeRecyclerConfiguration) DeepCopy() *PersistentVolumeRecyclerConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PersistentVolumeRecyclerConfiguration) out := new(PersistentVolumeRecyclerConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -596,13 +597,13 @@ func (in *PortRangeVar) DeepCopyInto(out *PortRangeVar) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PortRangeVar. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortRangeVar.
func (x *PortRangeVar) DeepCopy() *PortRangeVar { func (in *PortRangeVar) DeepCopy() *PortRangeVar {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PortRangeVar) out := new(PortRangeVar)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -613,12 +614,12 @@ func (in *VolumeConfiguration) DeepCopyInto(out *VolumeConfiguration) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new VolumeConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeConfiguration.
func (x *VolumeConfiguration) DeepCopy() *VolumeConfiguration { func (in *VolumeConfiguration) DeepCopy() *VolumeConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(VolumeConfiguration) out := new(VolumeConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

File diff suppressed because it is too large Load Diff

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -64,19 +65,19 @@ func (in *ImageReview) DeepCopyInto(out *ImageReview) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ImageReview. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReview.
func (x *ImageReview) DeepCopy() *ImageReview { func (in *ImageReview) DeepCopy() *ImageReview {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ImageReview) out := new(ImageReview)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ImageReview) DeepCopyObject() runtime.Object { func (in *ImageReview) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -89,13 +90,13 @@ func (in *ImageReviewContainerSpec) DeepCopyInto(out *ImageReviewContainerSpec)
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewContainerSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewContainerSpec.
func (x *ImageReviewContainerSpec) DeepCopy() *ImageReviewContainerSpec { func (in *ImageReviewContainerSpec) DeepCopy() *ImageReviewContainerSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ImageReviewContainerSpec) out := new(ImageReviewContainerSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -117,13 +118,13 @@ func (in *ImageReviewSpec) DeepCopyInto(out *ImageReviewSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewSpec.
func (x *ImageReviewSpec) DeepCopy() *ImageReviewSpec { func (in *ImageReviewSpec) DeepCopy() *ImageReviewSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ImageReviewSpec) out := new(ImageReviewSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -133,12 +134,12 @@ func (in *ImageReviewStatus) DeepCopyInto(out *ImageReviewStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewStatus.
func (x *ImageReviewStatus) DeepCopy() *ImageReviewStatus { func (in *ImageReviewStatus) DeepCopy() *ImageReviewStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ImageReviewStatus) out := new(ImageReviewStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -29,13 +29,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -74,19 +75,19 @@ func (in *NetworkPolicy) DeepCopyInto(out *NetworkPolicy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicy.
func (x *NetworkPolicy) DeepCopy() *NetworkPolicy { func (in *NetworkPolicy) DeepCopy() *NetworkPolicy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NetworkPolicy) out := new(NetworkPolicy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *NetworkPolicy) DeepCopyObject() runtime.Object { func (in *NetworkPolicy) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -113,13 +114,13 @@ func (in *NetworkPolicyIngressRule) DeepCopyInto(out *NetworkPolicyIngressRule)
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyIngressRule. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyIngressRule.
func (x *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule { func (in *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NetworkPolicyIngressRule) out := new(NetworkPolicyIngressRule)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -138,19 +139,19 @@ func (in *NetworkPolicyList) DeepCopyInto(out *NetworkPolicyList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyList.
func (x *NetworkPolicyList) DeepCopy() *NetworkPolicyList { func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NetworkPolicyList) out := new(NetworkPolicyList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *NetworkPolicyList) DeepCopyObject() runtime.Object { func (in *NetworkPolicyList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -181,13 +182,13 @@ func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPeer. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPeer.
func (x *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer { func (in *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NetworkPolicyPeer) out := new(NetworkPolicyPeer)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -215,13 +216,13 @@ func (in *NetworkPolicyPort) DeepCopyInto(out *NetworkPolicyPort) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPort. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPort.
func (x *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort { func (in *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NetworkPolicyPort) out := new(NetworkPolicyPort)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -239,12 +240,12 @@ func (in *NetworkPolicySpec) DeepCopyInto(out *NetworkPolicySpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpec.
func (x *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec { func (in *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NetworkPolicySpec) out := new(NetworkPolicySpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -27,13 +27,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -76,19 +77,19 @@ func (in *Eviction) DeepCopyInto(out *Eviction) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Eviction. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Eviction.
func (x *Eviction) DeepCopy() *Eviction { func (in *Eviction) DeepCopy() *Eviction {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Eviction) out := new(Eviction)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Eviction) DeepCopyObject() runtime.Object { func (in *Eviction) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -105,19 +106,19 @@ func (in *PodDisruptionBudget) DeepCopyInto(out *PodDisruptionBudget) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudget. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudget.
func (x *PodDisruptionBudget) DeepCopy() *PodDisruptionBudget { func (in *PodDisruptionBudget) DeepCopy() *PodDisruptionBudget {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodDisruptionBudget) out := new(PodDisruptionBudget)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PodDisruptionBudget) DeepCopyObject() runtime.Object { func (in *PodDisruptionBudget) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -139,19 +140,19 @@ func (in *PodDisruptionBudgetList) DeepCopyInto(out *PodDisruptionBudgetList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetList.
func (x *PodDisruptionBudgetList) DeepCopy() *PodDisruptionBudgetList { func (in *PodDisruptionBudgetList) DeepCopy() *PodDisruptionBudgetList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodDisruptionBudgetList) out := new(PodDisruptionBudgetList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PodDisruptionBudgetList) DeepCopyObject() runtime.Object { func (in *PodDisruptionBudgetList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -174,13 +175,13 @@ func (in *PodDisruptionBudgetSpec) DeepCopyInto(out *PodDisruptionBudgetSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetSpec.
func (x *PodDisruptionBudgetSpec) DeepCopy() *PodDisruptionBudgetSpec { func (in *PodDisruptionBudgetSpec) DeepCopy() *PodDisruptionBudgetSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodDisruptionBudgetSpec) out := new(PodDisruptionBudgetSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -190,12 +191,12 @@ func (in *PodDisruptionBudgetStatus) DeepCopyInto(out *PodDisruptionBudgetStatus
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetStatus.
func (x *PodDisruptionBudgetStatus) DeepCopy() *PodDisruptionBudgetStatus { func (in *PodDisruptionBudgetStatus) DeepCopy() *PodDisruptionBudgetStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodDisruptionBudgetStatus) out := new(PodDisruptionBudgetStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -28,13 +28,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -77,19 +78,19 @@ func (in *Eviction) DeepCopyInto(out *Eviction) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Eviction. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Eviction.
func (x *Eviction) DeepCopy() *Eviction { func (in *Eviction) DeepCopy() *Eviction {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Eviction) out := new(Eviction)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Eviction) DeepCopyObject() runtime.Object { func (in *Eviction) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -106,19 +107,19 @@ func (in *PodDisruptionBudget) DeepCopyInto(out *PodDisruptionBudget) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudget. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudget.
func (x *PodDisruptionBudget) DeepCopy() *PodDisruptionBudget { func (in *PodDisruptionBudget) DeepCopy() *PodDisruptionBudget {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodDisruptionBudget) out := new(PodDisruptionBudget)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PodDisruptionBudget) DeepCopyObject() runtime.Object { func (in *PodDisruptionBudget) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -140,19 +141,19 @@ func (in *PodDisruptionBudgetList) DeepCopyInto(out *PodDisruptionBudgetList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetList.
func (x *PodDisruptionBudgetList) DeepCopy() *PodDisruptionBudgetList { func (in *PodDisruptionBudgetList) DeepCopy() *PodDisruptionBudgetList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodDisruptionBudgetList) out := new(PodDisruptionBudgetList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PodDisruptionBudgetList) DeepCopyObject() runtime.Object { func (in *PodDisruptionBudgetList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -192,13 +193,13 @@ func (in *PodDisruptionBudgetSpec) DeepCopyInto(out *PodDisruptionBudgetSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetSpec.
func (x *PodDisruptionBudgetSpec) DeepCopy() *PodDisruptionBudgetSpec { func (in *PodDisruptionBudgetSpec) DeepCopy() *PodDisruptionBudgetSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodDisruptionBudgetSpec) out := new(PodDisruptionBudgetSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -215,12 +216,12 @@ func (in *PodDisruptionBudgetStatus) DeepCopyInto(out *PodDisruptionBudgetStatus
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetStatus.
func (x *PodDisruptionBudgetStatus) DeepCopy() *PodDisruptionBudgetStatus { func (in *PodDisruptionBudgetStatus) DeepCopy() *PodDisruptionBudgetStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodDisruptionBudgetStatus) out := new(PodDisruptionBudgetStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -97,19 +98,19 @@ func (in *ClusterRole) DeepCopyInto(out *ClusterRole) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRole. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRole.
func (x *ClusterRole) DeepCopy() *ClusterRole { func (in *ClusterRole) DeepCopy() *ClusterRole {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterRole) out := new(ClusterRole)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ClusterRole) DeepCopyObject() runtime.Object { func (in *ClusterRole) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -130,19 +131,19 @@ func (in *ClusterRoleBinding) DeepCopyInto(out *ClusterRoleBinding) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBinding. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBinding.
func (x *ClusterRoleBinding) DeepCopy() *ClusterRoleBinding { func (in *ClusterRoleBinding) DeepCopy() *ClusterRoleBinding {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterRoleBinding) out := new(ClusterRoleBinding)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ClusterRoleBinding) DeepCopyObject() runtime.Object { func (in *ClusterRoleBinding) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -164,19 +165,19 @@ func (in *ClusterRoleBindingList) DeepCopyInto(out *ClusterRoleBindingList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBindingList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBindingList.
func (x *ClusterRoleBindingList) DeepCopy() *ClusterRoleBindingList { func (in *ClusterRoleBindingList) DeepCopy() *ClusterRoleBindingList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterRoleBindingList) out := new(ClusterRoleBindingList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ClusterRoleBindingList) DeepCopyObject() runtime.Object { func (in *ClusterRoleBindingList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -198,19 +199,19 @@ func (in *ClusterRoleList) DeepCopyInto(out *ClusterRoleList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleList.
func (x *ClusterRoleList) DeepCopy() *ClusterRoleList { func (in *ClusterRoleList) DeepCopy() *ClusterRoleList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterRoleList) out := new(ClusterRoleList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ClusterRoleList) DeepCopyObject() runtime.Object { func (in *ClusterRoleList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -248,13 +249,13 @@ func (in *PolicyRule) DeepCopyInto(out *PolicyRule) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule.
func (x *PolicyRule) DeepCopy() *PolicyRule { func (in *PolicyRule) DeepCopy() *PolicyRule {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PolicyRule) out := new(PolicyRule)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -273,19 +274,19 @@ func (in *Role) DeepCopyInto(out *Role) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Role. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Role.
func (x *Role) DeepCopy() *Role { func (in *Role) DeepCopy() *Role {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Role) out := new(Role)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Role) DeepCopyObject() runtime.Object { func (in *Role) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -306,19 +307,19 @@ func (in *RoleBinding) DeepCopyInto(out *RoleBinding) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleBinding. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBinding.
func (x *RoleBinding) DeepCopy() *RoleBinding { func (in *RoleBinding) DeepCopy() *RoleBinding {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RoleBinding) out := new(RoleBinding)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *RoleBinding) DeepCopyObject() runtime.Object { func (in *RoleBinding) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -340,19 +341,19 @@ func (in *RoleBindingList) DeepCopyInto(out *RoleBindingList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingList.
func (x *RoleBindingList) DeepCopy() *RoleBindingList { func (in *RoleBindingList) DeepCopy() *RoleBindingList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RoleBindingList) out := new(RoleBindingList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *RoleBindingList) DeepCopyObject() runtime.Object { func (in *RoleBindingList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -374,19 +375,19 @@ func (in *RoleList) DeepCopyInto(out *RoleList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleList.
func (x *RoleList) DeepCopy() *RoleList { func (in *RoleList) DeepCopy() *RoleList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RoleList) out := new(RoleList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *RoleList) DeepCopyObject() runtime.Object { func (in *RoleList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -399,13 +400,13 @@ func (in *RoleRef) DeepCopyInto(out *RoleRef) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleRef. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleRef.
func (x *RoleRef) DeepCopy() *RoleRef { func (in *RoleRef) DeepCopy() *RoleRef {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RoleRef) out := new(RoleRef)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -415,12 +416,12 @@ func (in *Subject) DeepCopyInto(out *Subject) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Subject. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subject.
func (x *Subject) DeepCopy() *Subject { func (in *Subject) DeepCopy() *Subject {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Subject) out := new(Subject)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -54,19 +55,19 @@ func (in *PriorityClass) DeepCopyInto(out *PriorityClass) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClass. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClass.
func (x *PriorityClass) DeepCopy() *PriorityClass { func (in *PriorityClass) DeepCopy() *PriorityClass {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PriorityClass) out := new(PriorityClass)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PriorityClass) DeepCopyObject() runtime.Object { func (in *PriorityClass) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -88,19 +89,19 @@ func (in *PriorityClassList) DeepCopyInto(out *PriorityClassList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClassList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClassList.
func (x *PriorityClassList) DeepCopy() *PriorityClassList { func (in *PriorityClassList) DeepCopy() *PriorityClassList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PriorityClassList) out := new(PriorityClassList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PriorityClassList) DeepCopyObject() runtime.Object { func (in *PriorityClassList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil

View File

@ -27,13 +27,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -60,19 +61,19 @@ func (in *PodPreset) DeepCopyInto(out *PodPreset) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodPreset. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPreset.
func (x *PodPreset) DeepCopy() *PodPreset { func (in *PodPreset) DeepCopy() *PodPreset {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodPreset) out := new(PodPreset)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PodPreset) DeepCopyObject() runtime.Object { func (in *PodPreset) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -94,19 +95,19 @@ func (in *PodPresetList) DeepCopyInto(out *PodPresetList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetList.
func (x *PodPresetList) DeepCopy() *PodPresetList { func (in *PodPresetList) DeepCopy() *PodPresetList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodPresetList) out := new(PodPresetList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PodPresetList) DeepCopyObject() runtime.Object { func (in *PodPresetList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -146,12 +147,12 @@ func (in *PodPresetSpec) DeepCopyInto(out *PodPresetSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetSpec.
func (x *PodPresetSpec) DeepCopy() *PodPresetSpec { func (in *PodPresetSpec) DeepCopy() *PodPresetSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodPresetSpec) out := new(PodPresetSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -61,19 +62,19 @@ func (in *StorageClass) DeepCopyInto(out *StorageClass) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StorageClass. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClass.
func (x *StorageClass) DeepCopy() *StorageClass { func (in *StorageClass) DeepCopy() *StorageClass {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StorageClass) out := new(StorageClass)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *StorageClass) DeepCopyObject() runtime.Object { func (in *StorageClass) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -95,19 +96,19 @@ func (in *StorageClassList) DeepCopyInto(out *StorageClassList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassList.
func (x *StorageClassList) DeepCopy() *StorageClassList { func (in *StorageClassList) DeepCopy() *StorageClassList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StorageClassList) out := new(StorageClassList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *StorageClassList) DeepCopyObject() runtime.Object { func (in *StorageClassList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil

View File

@ -26,7 +26,9 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. // GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc { func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{ return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -48,19 +50,19 @@ func (in *MetadataOnlyObject) DeepCopyInto(out *MetadataOnlyObject) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOnlyObject. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOnlyObject.
func (x *MetadataOnlyObject) DeepCopy() *MetadataOnlyObject { func (in *MetadataOnlyObject) DeepCopy() *MetadataOnlyObject {
if x == nil { if in == nil {
return nil return nil
} }
out := new(MetadataOnlyObject) out := new(MetadataOnlyObject)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *MetadataOnlyObject) DeepCopyObject() runtime.Object { func (in *MetadataOnlyObject) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -82,19 +84,19 @@ func (in *MetadataOnlyObjectList) DeepCopyInto(out *MetadataOnlyObjectList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOnlyObjectList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOnlyObjectList.
func (x *MetadataOnlyObjectList) DeepCopy() *MetadataOnlyObjectList { func (in *MetadataOnlyObjectList) DeepCopy() *MetadataOnlyObjectList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(MetadataOnlyObjectList) out := new(MetadataOnlyObjectList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *MetadataOnlyObjectList) DeepCopyObject() runtime.Object { func (in *MetadataOnlyObjectList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil

View File

@ -26,7 +26,9 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. // GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc { func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{ return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -62,19 +64,19 @@ func (in *ExternalNamespacedType) DeepCopyInto(out *ExternalNamespacedType) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalNamespacedType. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalNamespacedType.
func (x *ExternalNamespacedType) DeepCopy() *ExternalNamespacedType { func (in *ExternalNamespacedType) DeepCopy() *ExternalNamespacedType {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalNamespacedType) out := new(ExternalNamespacedType)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalNamespacedType) DeepCopyObject() runtime.Object { func (in *ExternalNamespacedType) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -87,19 +89,19 @@ func (in *ExternalNamespacedType2) DeepCopyInto(out *ExternalNamespacedType2) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalNamespacedType2. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalNamespacedType2.
func (x *ExternalNamespacedType2) DeepCopy() *ExternalNamespacedType2 { func (in *ExternalNamespacedType2) DeepCopy() *ExternalNamespacedType2 {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalNamespacedType2) out := new(ExternalNamespacedType2)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalNamespacedType2) DeepCopyObject() runtime.Object { func (in *ExternalNamespacedType2) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -112,19 +114,19 @@ func (in *ExternalType) DeepCopyInto(out *ExternalType) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalType. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalType.
func (x *ExternalType) DeepCopy() *ExternalType { func (in *ExternalType) DeepCopy() *ExternalType {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalType) out := new(ExternalType)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalType) DeepCopyObject() runtime.Object { func (in *ExternalType) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -137,19 +139,19 @@ func (in *ExternalType2) DeepCopyInto(out *ExternalType2) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalType2. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalType2.
func (x *ExternalType2) DeepCopy() *ExternalType2 { func (in *ExternalType2) DeepCopy() *ExternalType2 {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalType2) out := new(ExternalType2)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalType2) DeepCopyObject() runtime.Object { func (in *ExternalType2) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -162,19 +164,19 @@ func (in *InternalNamespacedType) DeepCopyInto(out *InternalNamespacedType) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InternalNamespacedType. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalNamespacedType.
func (x *InternalNamespacedType) DeepCopy() *InternalNamespacedType { func (in *InternalNamespacedType) DeepCopy() *InternalNamespacedType {
if x == nil { if in == nil {
return nil return nil
} }
out := new(InternalNamespacedType) out := new(InternalNamespacedType)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *InternalNamespacedType) DeepCopyObject() runtime.Object { func (in *InternalNamespacedType) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -187,19 +189,19 @@ func (in *InternalType) DeepCopyInto(out *InternalType) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InternalType. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalType.
func (x *InternalType) DeepCopy() *InternalType { func (in *InternalType) DeepCopy() *InternalType {
if x == nil { if in == nil {
return nil return nil
} }
out := new(InternalType) out := new(InternalType)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *InternalType) DeepCopyObject() runtime.Object { func (in *InternalType) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil

View File

@ -27,13 +27,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -64,19 +65,19 @@ func (in *Configuration) DeepCopyInto(out *Configuration) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Configuration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration.
func (x *Configuration) DeepCopy() *Configuration { func (in *Configuration) DeepCopy() *Configuration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Configuration) out := new(Configuration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Configuration) DeepCopyObject() runtime.Object { func (in *Configuration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil

View File

@ -27,13 +27,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -64,19 +65,19 @@ func (in *Configuration) DeepCopyInto(out *Configuration) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Configuration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration.
func (x *Configuration) DeepCopy() *Configuration { func (in *Configuration) DeepCopy() *Configuration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Configuration) out := new(Configuration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Configuration) DeepCopyObject() runtime.Object { func (in *Configuration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -60,19 +61,19 @@ func (in *Configuration) DeepCopyInto(out *Configuration) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Configuration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration.
func (x *Configuration) DeepCopy() *Configuration { func (in *Configuration) DeepCopy() *Configuration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Configuration) out := new(Configuration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Configuration) DeepCopyObject() runtime.Object { func (in *Configuration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -90,12 +91,12 @@ func (in *LimitedResource) DeepCopyInto(out *LimitedResource) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LimitedResource. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitedResource.
func (x *LimitedResource) DeepCopy() *LimitedResource { func (in *LimitedResource) DeepCopy() *LimitedResource {
if x == nil { if in == nil {
return nil return nil
} }
out := new(LimitedResource) out := new(LimitedResource)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -60,19 +61,19 @@ func (in *Configuration) DeepCopyInto(out *Configuration) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Configuration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration.
func (x *Configuration) DeepCopy() *Configuration { func (in *Configuration) DeepCopy() *Configuration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Configuration) out := new(Configuration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Configuration) DeepCopyObject() runtime.Object { func (in *Configuration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -90,12 +91,12 @@ func (in *LimitedResource) DeepCopyInto(out *LimitedResource) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LimitedResource. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitedResource.
func (x *LimitedResource) DeepCopy() *LimitedResource { func (in *LimitedResource) DeepCopy() *LimitedResource {
if x == nil { if in == nil {
return nil return nil
} }
out := new(LimitedResource) out := new(LimitedResource)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -28,13 +28,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -129,13 +130,13 @@ func (in *ExtenderArgs) DeepCopyInto(out *ExtenderArgs) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderArgs. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderArgs.
func (x *ExtenderArgs) DeepCopy() *ExtenderArgs { func (in *ExtenderArgs) DeepCopy() *ExtenderArgs {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExtenderArgs) out := new(ExtenderArgs)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -145,13 +146,13 @@ func (in *ExtenderBindingArgs) DeepCopyInto(out *ExtenderBindingArgs) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingArgs. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingArgs.
func (x *ExtenderBindingArgs) DeepCopy() *ExtenderBindingArgs { func (in *ExtenderBindingArgs) DeepCopy() *ExtenderBindingArgs {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExtenderBindingArgs) out := new(ExtenderBindingArgs)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -161,13 +162,13 @@ func (in *ExtenderBindingResult) DeepCopyInto(out *ExtenderBindingResult) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingResult. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingResult.
func (x *ExtenderBindingResult) DeepCopy() *ExtenderBindingResult { func (in *ExtenderBindingResult) DeepCopy() *ExtenderBindingResult {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExtenderBindingResult) out := new(ExtenderBindingResult)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -186,13 +187,13 @@ func (in *ExtenderConfig) DeepCopyInto(out *ExtenderConfig) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderConfig. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderConfig.
func (x *ExtenderConfig) DeepCopy() *ExtenderConfig { func (in *ExtenderConfig) DeepCopy() *ExtenderConfig {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExtenderConfig) out := new(ExtenderConfig)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -231,13 +232,13 @@ func (in *ExtenderFilterResult) DeepCopyInto(out *ExtenderFilterResult) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderFilterResult. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderFilterResult.
func (x *ExtenderFilterResult) DeepCopy() *ExtenderFilterResult { func (in *ExtenderFilterResult) DeepCopy() *ExtenderFilterResult {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExtenderFilterResult) out := new(ExtenderFilterResult)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -247,13 +248,13 @@ func (in *HostPriority) DeepCopyInto(out *HostPriority) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HostPriority. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPriority.
func (x *HostPriority) DeepCopy() *HostPriority { func (in *HostPriority) DeepCopy() *HostPriority {
if x == nil { if in == nil {
return nil return nil
} }
out := new(HostPriority) out := new(HostPriority)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -263,13 +264,13 @@ func (in *LabelPreference) DeepCopyInto(out *LabelPreference) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LabelPreference. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelPreference.
func (x *LabelPreference) DeepCopy() *LabelPreference { func (in *LabelPreference) DeepCopy() *LabelPreference {
if x == nil { if in == nil {
return nil return nil
} }
out := new(LabelPreference) out := new(LabelPreference)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -284,13 +285,13 @@ func (in *LabelsPresence) DeepCopyInto(out *LabelsPresence) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LabelsPresence. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelsPresence.
func (x *LabelsPresence) DeepCopy() *LabelsPresence { func (in *LabelsPresence) DeepCopy() *LabelsPresence {
if x == nil { if in == nil {
return nil return nil
} }
out := new(LabelsPresence) out := new(LabelsPresence)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -322,19 +323,19 @@ func (in *Policy) DeepCopyInto(out *Policy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Policy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
func (x *Policy) DeepCopy() *Policy { func (in *Policy) DeepCopy() *Policy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Policy) out := new(Policy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Policy) DeepCopyObject() runtime.Object { func (in *Policy) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -365,13 +366,13 @@ func (in *PredicateArgument) DeepCopyInto(out *PredicateArgument) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PredicateArgument. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredicateArgument.
func (x *PredicateArgument) DeepCopy() *PredicateArgument { func (in *PredicateArgument) DeepCopy() *PredicateArgument {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PredicateArgument) out := new(PredicateArgument)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -390,13 +391,13 @@ func (in *PredicatePolicy) DeepCopyInto(out *PredicatePolicy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PredicatePolicy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredicatePolicy.
func (x *PredicatePolicy) DeepCopy() *PredicatePolicy { func (in *PredicatePolicy) DeepCopy() *PredicatePolicy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PredicatePolicy) out := new(PredicatePolicy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -424,13 +425,13 @@ func (in *PriorityArgument) DeepCopyInto(out *PriorityArgument) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PriorityArgument. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityArgument.
func (x *PriorityArgument) DeepCopy() *PriorityArgument { func (in *PriorityArgument) DeepCopy() *PriorityArgument {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PriorityArgument) out := new(PriorityArgument)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -449,13 +450,13 @@ func (in *PriorityPolicy) DeepCopyInto(out *PriorityPolicy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PriorityPolicy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityPolicy.
func (x *PriorityPolicy) DeepCopy() *PriorityPolicy { func (in *PriorityPolicy) DeepCopy() *PriorityPolicy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PriorityPolicy) out := new(PriorityPolicy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -470,13 +471,13 @@ func (in *ServiceAffinity) DeepCopyInto(out *ServiceAffinity) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAffinity. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAffinity.
func (x *ServiceAffinity) DeepCopy() *ServiceAffinity { func (in *ServiceAffinity) DeepCopy() *ServiceAffinity {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ServiceAffinity) out := new(ServiceAffinity)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -486,12 +487,12 @@ func (in *ServiceAntiAffinity) DeepCopyInto(out *ServiceAntiAffinity) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAntiAffinity. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAntiAffinity.
func (x *ServiceAntiAffinity) DeepCopy() *ServiceAntiAffinity { func (in *ServiceAntiAffinity) DeepCopy() *ServiceAntiAffinity {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ServiceAntiAffinity) out := new(ServiceAntiAffinity)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -28,13 +28,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -129,13 +130,13 @@ func (in *ExtenderArgs) DeepCopyInto(out *ExtenderArgs) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderArgs. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderArgs.
func (x *ExtenderArgs) DeepCopy() *ExtenderArgs { func (in *ExtenderArgs) DeepCopy() *ExtenderArgs {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExtenderArgs) out := new(ExtenderArgs)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -145,13 +146,13 @@ func (in *ExtenderBindingArgs) DeepCopyInto(out *ExtenderBindingArgs) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingArgs. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingArgs.
func (x *ExtenderBindingArgs) DeepCopy() *ExtenderBindingArgs { func (in *ExtenderBindingArgs) DeepCopy() *ExtenderBindingArgs {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExtenderBindingArgs) out := new(ExtenderBindingArgs)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -161,13 +162,13 @@ func (in *ExtenderBindingResult) DeepCopyInto(out *ExtenderBindingResult) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingResult. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingResult.
func (x *ExtenderBindingResult) DeepCopy() *ExtenderBindingResult { func (in *ExtenderBindingResult) DeepCopy() *ExtenderBindingResult {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExtenderBindingResult) out := new(ExtenderBindingResult)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -186,13 +187,13 @@ func (in *ExtenderConfig) DeepCopyInto(out *ExtenderConfig) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderConfig. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderConfig.
func (x *ExtenderConfig) DeepCopy() *ExtenderConfig { func (in *ExtenderConfig) DeepCopy() *ExtenderConfig {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExtenderConfig) out := new(ExtenderConfig)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -231,13 +232,13 @@ func (in *ExtenderFilterResult) DeepCopyInto(out *ExtenderFilterResult) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderFilterResult. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderFilterResult.
func (x *ExtenderFilterResult) DeepCopy() *ExtenderFilterResult { func (in *ExtenderFilterResult) DeepCopy() *ExtenderFilterResult {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExtenderFilterResult) out := new(ExtenderFilterResult)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -247,13 +248,13 @@ func (in *HostPriority) DeepCopyInto(out *HostPriority) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HostPriority. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPriority.
func (x *HostPriority) DeepCopy() *HostPriority { func (in *HostPriority) DeepCopy() *HostPriority {
if x == nil { if in == nil {
return nil return nil
} }
out := new(HostPriority) out := new(HostPriority)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -263,13 +264,13 @@ func (in *LabelPreference) DeepCopyInto(out *LabelPreference) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LabelPreference. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelPreference.
func (x *LabelPreference) DeepCopy() *LabelPreference { func (in *LabelPreference) DeepCopy() *LabelPreference {
if x == nil { if in == nil {
return nil return nil
} }
out := new(LabelPreference) out := new(LabelPreference)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -284,13 +285,13 @@ func (in *LabelsPresence) DeepCopyInto(out *LabelsPresence) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LabelsPresence. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelsPresence.
func (x *LabelsPresence) DeepCopy() *LabelsPresence { func (in *LabelsPresence) DeepCopy() *LabelsPresence {
if x == nil { if in == nil {
return nil return nil
} }
out := new(LabelsPresence) out := new(LabelsPresence)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -322,19 +323,19 @@ func (in *Policy) DeepCopyInto(out *Policy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Policy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
func (x *Policy) DeepCopy() *Policy { func (in *Policy) DeepCopy() *Policy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Policy) out := new(Policy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Policy) DeepCopyObject() runtime.Object { func (in *Policy) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -365,13 +366,13 @@ func (in *PredicateArgument) DeepCopyInto(out *PredicateArgument) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PredicateArgument. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredicateArgument.
func (x *PredicateArgument) DeepCopy() *PredicateArgument { func (in *PredicateArgument) DeepCopy() *PredicateArgument {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PredicateArgument) out := new(PredicateArgument)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -390,13 +391,13 @@ func (in *PredicatePolicy) DeepCopyInto(out *PredicatePolicy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PredicatePolicy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredicatePolicy.
func (x *PredicatePolicy) DeepCopy() *PredicatePolicy { func (in *PredicatePolicy) DeepCopy() *PredicatePolicy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PredicatePolicy) out := new(PredicatePolicy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -424,13 +425,13 @@ func (in *PriorityArgument) DeepCopyInto(out *PriorityArgument) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PriorityArgument. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityArgument.
func (x *PriorityArgument) DeepCopy() *PriorityArgument { func (in *PriorityArgument) DeepCopy() *PriorityArgument {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PriorityArgument) out := new(PriorityArgument)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -449,13 +450,13 @@ func (in *PriorityPolicy) DeepCopyInto(out *PriorityPolicy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PriorityPolicy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityPolicy.
func (x *PriorityPolicy) DeepCopy() *PriorityPolicy { func (in *PriorityPolicy) DeepCopy() *PriorityPolicy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PriorityPolicy) out := new(PriorityPolicy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -470,13 +471,13 @@ func (in *ServiceAffinity) DeepCopyInto(out *ServiceAffinity) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAffinity. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAffinity.
func (x *ServiceAffinity) DeepCopy() *ServiceAffinity { func (in *ServiceAffinity) DeepCopy() *ServiceAffinity {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ServiceAffinity) out := new(ServiceAffinity)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -486,12 +487,12 @@ func (in *ServiceAntiAffinity) DeepCopyInto(out *ServiceAntiAffinity) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAntiAffinity. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAntiAffinity.
func (x *ServiceAntiAffinity) DeepCopy() *ServiceAntiAffinity { func (in *ServiceAntiAffinity) DeepCopy() *ServiceAntiAffinity {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ServiceAntiAffinity) out := new(ServiceAntiAffinity)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -27,13 +27,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -60,19 +61,19 @@ func (in *AdmissionReview) DeepCopyInto(out *AdmissionReview) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReview. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReview.
func (x *AdmissionReview) DeepCopy() *AdmissionReview { func (in *AdmissionReview) DeepCopy() *AdmissionReview {
if x == nil { if in == nil {
return nil return nil
} }
out := new(AdmissionReview) out := new(AdmissionReview)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *AdmissionReview) DeepCopyObject() runtime.Object { func (in *AdmissionReview) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -90,13 +91,13 @@ func (in *AdmissionReviewSpec) DeepCopyInto(out *AdmissionReviewSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewSpec.
func (x *AdmissionReviewSpec) DeepCopy() *AdmissionReviewSpec { func (in *AdmissionReviewSpec) DeepCopy() *AdmissionReviewSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(AdmissionReviewSpec) out := new(AdmissionReviewSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -115,12 +116,12 @@ func (in *AdmissionReviewStatus) DeepCopyInto(out *AdmissionReviewStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewStatus.
func (x *AdmissionReviewStatus) DeepCopy() *AdmissionReviewStatus { func (in *AdmissionReviewStatus) DeepCopy() *AdmissionReviewStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(AdmissionReviewStatus) out := new(AdmissionReviewStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -90,13 +91,13 @@ func (in *AdmissionHookClientConfig) DeepCopyInto(out *AdmissionHookClientConfig
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionHookClientConfig. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionHookClientConfig.
func (x *AdmissionHookClientConfig) DeepCopy() *AdmissionHookClientConfig { func (in *AdmissionHookClientConfig) DeepCopy() *AdmissionHookClientConfig {
if x == nil { if in == nil {
return nil return nil
} }
out := new(AdmissionHookClientConfig) out := new(AdmissionHookClientConfig)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -123,13 +124,13 @@ func (in *ExternalAdmissionHook) DeepCopyInto(out *ExternalAdmissionHook) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHook. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHook.
func (x *ExternalAdmissionHook) DeepCopy() *ExternalAdmissionHook { func (in *ExternalAdmissionHook) DeepCopy() *ExternalAdmissionHook {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalAdmissionHook) out := new(ExternalAdmissionHook)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -148,19 +149,19 @@ func (in *ExternalAdmissionHookConfiguration) DeepCopyInto(out *ExternalAdmissio
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfiguration.
func (x *ExternalAdmissionHookConfiguration) DeepCopy() *ExternalAdmissionHookConfiguration { func (in *ExternalAdmissionHookConfiguration) DeepCopy() *ExternalAdmissionHookConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalAdmissionHookConfiguration) out := new(ExternalAdmissionHookConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalAdmissionHookConfiguration) DeepCopyObject() runtime.Object { func (in *ExternalAdmissionHookConfiguration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -182,19 +183,19 @@ func (in *ExternalAdmissionHookConfigurationList) DeepCopyInto(out *ExternalAdmi
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfigurationList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfigurationList.
func (x *ExternalAdmissionHookConfigurationList) DeepCopy() *ExternalAdmissionHookConfigurationList { func (in *ExternalAdmissionHookConfigurationList) DeepCopy() *ExternalAdmissionHookConfigurationList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalAdmissionHookConfigurationList) out := new(ExternalAdmissionHookConfigurationList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalAdmissionHookConfigurationList) DeepCopyObject() runtime.Object { func (in *ExternalAdmissionHookConfigurationList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -223,13 +224,13 @@ func (in *Initializer) DeepCopyInto(out *Initializer) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Initializer. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Initializer.
func (x *Initializer) DeepCopy() *Initializer { func (in *Initializer) DeepCopy() *Initializer {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Initializer) out := new(Initializer)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -248,19 +249,19 @@ func (in *InitializerConfiguration) DeepCopyInto(out *InitializerConfiguration)
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfiguration.
func (x *InitializerConfiguration) DeepCopy() *InitializerConfiguration { func (in *InitializerConfiguration) DeepCopy() *InitializerConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(InitializerConfiguration) out := new(InitializerConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *InitializerConfiguration) DeepCopyObject() runtime.Object { func (in *InitializerConfiguration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -282,19 +283,19 @@ func (in *InitializerConfigurationList) DeepCopyInto(out *InitializerConfigurati
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfigurationList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfigurationList.
func (x *InitializerConfigurationList) DeepCopy() *InitializerConfigurationList { func (in *InitializerConfigurationList) DeepCopy() *InitializerConfigurationList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(InitializerConfigurationList) out := new(InitializerConfigurationList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *InitializerConfigurationList) DeepCopyObject() runtime.Object { func (in *InitializerConfigurationList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -322,13 +323,13 @@ func (in *Rule) DeepCopyInto(out *Rule) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Rule. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule.
func (x *Rule) DeepCopy() *Rule { func (in *Rule) DeepCopy() *Rule {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Rule) out := new(Rule)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -344,13 +345,13 @@ func (in *RuleWithOperations) DeepCopyInto(out *RuleWithOperations) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RuleWithOperations. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleWithOperations.
func (x *RuleWithOperations) DeepCopy() *RuleWithOperations { func (in *RuleWithOperations) DeepCopy() *RuleWithOperations {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RuleWithOperations) out := new(RuleWithOperations)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -360,12 +361,12 @@ func (in *ServiceReference) DeepCopyInto(out *ServiceReference) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.
func (x *ServiceReference) DeepCopy() *ServiceReference { func (in *ServiceReference) DeepCopy() *ServiceReference {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ServiceReference) out := new(ServiceReference)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -29,13 +29,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -130,19 +131,19 @@ func (in *ControllerRevision) DeepCopyInto(out *ControllerRevision) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevision. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevision.
func (x *ControllerRevision) DeepCopy() *ControllerRevision { func (in *ControllerRevision) DeepCopy() *ControllerRevision {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ControllerRevision) out := new(ControllerRevision)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ControllerRevision) DeepCopyObject() runtime.Object { func (in *ControllerRevision) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -164,19 +165,19 @@ func (in *ControllerRevisionList) DeepCopyInto(out *ControllerRevisionList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevisionList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevisionList.
func (x *ControllerRevisionList) DeepCopy() *ControllerRevisionList { func (in *ControllerRevisionList) DeepCopy() *ControllerRevisionList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ControllerRevisionList) out := new(ControllerRevisionList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ControllerRevisionList) DeepCopyObject() runtime.Object { func (in *ControllerRevisionList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -193,19 +194,19 @@ func (in *Deployment) DeepCopyInto(out *Deployment) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Deployment. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deployment.
func (x *Deployment) DeepCopy() *Deployment { func (in *Deployment) DeepCopy() *Deployment {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Deployment) out := new(Deployment)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Deployment) DeepCopyObject() runtime.Object { func (in *Deployment) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -220,13 +221,13 @@ func (in *DeploymentCondition) DeepCopyInto(out *DeploymentCondition) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCondition.
func (x *DeploymentCondition) DeepCopy() *DeploymentCondition { func (in *DeploymentCondition) DeepCopy() *DeploymentCondition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(DeploymentCondition) out := new(DeploymentCondition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -245,19 +246,19 @@ func (in *DeploymentList) DeepCopyInto(out *DeploymentList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList.
func (x *DeploymentList) DeepCopy() *DeploymentList { func (in *DeploymentList) DeepCopy() *DeploymentList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(DeploymentList) out := new(DeploymentList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *DeploymentList) DeepCopyObject() runtime.Object { func (in *DeploymentList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -279,19 +280,19 @@ func (in *DeploymentRollback) DeepCopyInto(out *DeploymentRollback) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentRollback. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentRollback.
func (x *DeploymentRollback) DeepCopy() *DeploymentRollback { func (in *DeploymentRollback) DeepCopy() *DeploymentRollback {
if x == nil { if in == nil {
return nil return nil
} }
out := new(DeploymentRollback) out := new(DeploymentRollback)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *DeploymentRollback) DeepCopyObject() runtime.Object { func (in *DeploymentRollback) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -351,13 +352,13 @@ func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec.
func (x *DeploymentSpec) DeepCopy() *DeploymentSpec { func (in *DeploymentSpec) DeepCopy() *DeploymentSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(DeploymentSpec) out := new(DeploymentSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -383,13 +384,13 @@ func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus.
func (x *DeploymentStatus) DeepCopy() *DeploymentStatus { func (in *DeploymentStatus) DeepCopy() *DeploymentStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(DeploymentStatus) out := new(DeploymentStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -408,13 +409,13 @@ func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy.
func (x *DeploymentStrategy) DeepCopy() *DeploymentStrategy { func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(DeploymentStrategy) out := new(DeploymentStrategy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -424,13 +425,13 @@ func (in *RollbackConfig) DeepCopyInto(out *RollbackConfig) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RollbackConfig. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollbackConfig.
func (x *RollbackConfig) DeepCopy() *RollbackConfig { func (in *RollbackConfig) DeepCopy() *RollbackConfig {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RollbackConfig) out := new(RollbackConfig)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -458,13 +459,13 @@ func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment.
func (x *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment { func (in *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RollingUpdateDeployment) out := new(RollingUpdateDeployment)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -483,13 +484,13 @@ func (in *RollingUpdateStatefulSetStrategy) DeepCopyInto(out *RollingUpdateState
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatefulSetStrategy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatefulSetStrategy.
func (x *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy { func (in *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RollingUpdateStatefulSetStrategy) out := new(RollingUpdateStatefulSetStrategy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -503,19 +504,19 @@ func (in *Scale) DeepCopyInto(out *Scale) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Scale. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale.
func (x *Scale) DeepCopy() *Scale { func (in *Scale) DeepCopy() *Scale {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Scale) out := new(Scale)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Scale) DeepCopyObject() runtime.Object { func (in *Scale) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -528,13 +529,13 @@ func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec.
func (x *ScaleSpec) DeepCopy() *ScaleSpec { func (in *ScaleSpec) DeepCopy() *ScaleSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ScaleSpec) out := new(ScaleSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -551,13 +552,13 @@ func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus.
func (x *ScaleStatus) DeepCopy() *ScaleStatus { func (in *ScaleStatus) DeepCopy() *ScaleStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ScaleStatus) out := new(ScaleStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -571,19 +572,19 @@ func (in *StatefulSet) DeepCopyInto(out *StatefulSet) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet.
func (x *StatefulSet) DeepCopy() *StatefulSet { func (in *StatefulSet) DeepCopy() *StatefulSet {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StatefulSet) out := new(StatefulSet)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *StatefulSet) DeepCopyObject() runtime.Object { func (in *StatefulSet) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -605,19 +606,19 @@ func (in *StatefulSetList) DeepCopyInto(out *StatefulSetList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList.
func (x *StatefulSetList) DeepCopy() *StatefulSetList { func (in *StatefulSetList) DeepCopy() *StatefulSetList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StatefulSetList) out := new(StatefulSetList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *StatefulSetList) DeepCopyObject() runtime.Object { func (in *StatefulSetList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -666,13 +667,13 @@ func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec.
func (x *StatefulSetSpec) DeepCopy() *StatefulSetSpec { func (in *StatefulSetSpec) DeepCopy() *StatefulSetSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StatefulSetSpec) out := new(StatefulSetSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -691,13 +692,13 @@ func (in *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus.
func (x *StatefulSetStatus) DeepCopy() *StatefulSetStatus { func (in *StatefulSetStatus) DeepCopy() *StatefulSetStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StatefulSetStatus) out := new(StatefulSetStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -716,12 +717,12 @@ func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy.
func (x *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy { func (in *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StatefulSetUpdateStrategy) out := new(StatefulSetUpdateStrategy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -29,13 +29,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -167,19 +168,19 @@ func (in *DaemonSet) DeepCopyInto(out *DaemonSet) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSet. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSet.
func (x *DaemonSet) DeepCopy() *DaemonSet { func (in *DaemonSet) DeepCopy() *DaemonSet {
if x == nil { if in == nil {
return nil return nil
} }
out := new(DaemonSet) out := new(DaemonSet)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *DaemonSet) DeepCopyObject() runtime.Object { func (in *DaemonSet) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -201,19 +202,19 @@ func (in *DaemonSetList) DeepCopyInto(out *DaemonSetList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetList.
func (x *DaemonSetList) DeepCopy() *DaemonSetList { func (in *DaemonSetList) DeepCopy() *DaemonSetList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(DaemonSetList) out := new(DaemonSetList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *DaemonSetList) DeepCopyObject() runtime.Object { func (in *DaemonSetList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -246,13 +247,13 @@ func (in *DaemonSetSpec) DeepCopyInto(out *DaemonSetSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetSpec.
func (x *DaemonSetSpec) DeepCopy() *DaemonSetSpec { func (in *DaemonSetSpec) DeepCopy() *DaemonSetSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(DaemonSetSpec) out := new(DaemonSetSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -271,13 +272,13 @@ func (in *DaemonSetStatus) DeepCopyInto(out *DaemonSetStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetStatus.
func (x *DaemonSetStatus) DeepCopy() *DaemonSetStatus { func (in *DaemonSetStatus) DeepCopy() *DaemonSetStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(DaemonSetStatus) out := new(DaemonSetStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -296,13 +297,13 @@ func (in *DaemonSetUpdateStrategy) DeepCopyInto(out *DaemonSetUpdateStrategy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetUpdateStrategy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetUpdateStrategy.
func (x *DaemonSetUpdateStrategy) DeepCopy() *DaemonSetUpdateStrategy { func (in *DaemonSetUpdateStrategy) DeepCopy() *DaemonSetUpdateStrategy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(DaemonSetUpdateStrategy) out := new(DaemonSetUpdateStrategy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -316,19 +317,19 @@ func (in *Deployment) DeepCopyInto(out *Deployment) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Deployment. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deployment.
func (x *Deployment) DeepCopy() *Deployment { func (in *Deployment) DeepCopy() *Deployment {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Deployment) out := new(Deployment)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Deployment) DeepCopyObject() runtime.Object { func (in *Deployment) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -343,13 +344,13 @@ func (in *DeploymentCondition) DeepCopyInto(out *DeploymentCondition) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCondition.
func (x *DeploymentCondition) DeepCopy() *DeploymentCondition { func (in *DeploymentCondition) DeepCopy() *DeploymentCondition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(DeploymentCondition) out := new(DeploymentCondition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -368,19 +369,19 @@ func (in *DeploymentList) DeepCopyInto(out *DeploymentList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList.
func (x *DeploymentList) DeepCopy() *DeploymentList { func (in *DeploymentList) DeepCopy() *DeploymentList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(DeploymentList) out := new(DeploymentList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *DeploymentList) DeepCopyObject() runtime.Object { func (in *DeploymentList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -402,19 +403,19 @@ func (in *DeploymentRollback) DeepCopyInto(out *DeploymentRollback) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentRollback. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentRollback.
func (x *DeploymentRollback) DeepCopy() *DeploymentRollback { func (in *DeploymentRollback) DeepCopy() *DeploymentRollback {
if x == nil { if in == nil {
return nil return nil
} }
out := new(DeploymentRollback) out := new(DeploymentRollback)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *DeploymentRollback) DeepCopyObject() runtime.Object { func (in *DeploymentRollback) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -474,13 +475,13 @@ func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec.
func (x *DeploymentSpec) DeepCopy() *DeploymentSpec { func (in *DeploymentSpec) DeepCopy() *DeploymentSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(DeploymentSpec) out := new(DeploymentSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -506,13 +507,13 @@ func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus.
func (x *DeploymentStatus) DeepCopy() *DeploymentStatus { func (in *DeploymentStatus) DeepCopy() *DeploymentStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(DeploymentStatus) out := new(DeploymentStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -531,13 +532,13 @@ func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy.
func (x *DeploymentStrategy) DeepCopy() *DeploymentStrategy { func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(DeploymentStrategy) out := new(DeploymentStrategy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -551,19 +552,19 @@ func (in *ReplicaSet) DeepCopyInto(out *ReplicaSet) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSet. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSet.
func (x *ReplicaSet) DeepCopy() *ReplicaSet { func (in *ReplicaSet) DeepCopy() *ReplicaSet {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ReplicaSet) out := new(ReplicaSet)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ReplicaSet) DeepCopyObject() runtime.Object { func (in *ReplicaSet) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -577,13 +578,13 @@ func (in *ReplicaSetCondition) DeepCopyInto(out *ReplicaSetCondition) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetCondition.
func (x *ReplicaSetCondition) DeepCopy() *ReplicaSetCondition { func (in *ReplicaSetCondition) DeepCopy() *ReplicaSetCondition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ReplicaSetCondition) out := new(ReplicaSetCondition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -602,19 +603,19 @@ func (in *ReplicaSetList) DeepCopyInto(out *ReplicaSetList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetList.
func (x *ReplicaSetList) DeepCopy() *ReplicaSetList { func (in *ReplicaSetList) DeepCopy() *ReplicaSetList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ReplicaSetList) out := new(ReplicaSetList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ReplicaSetList) DeepCopyObject() runtime.Object { func (in *ReplicaSetList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -646,13 +647,13 @@ func (in *ReplicaSetSpec) DeepCopyInto(out *ReplicaSetSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetSpec.
func (x *ReplicaSetSpec) DeepCopy() *ReplicaSetSpec { func (in *ReplicaSetSpec) DeepCopy() *ReplicaSetSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ReplicaSetSpec) out := new(ReplicaSetSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -669,13 +670,13 @@ func (in *ReplicaSetStatus) DeepCopyInto(out *ReplicaSetStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetStatus.
func (x *ReplicaSetStatus) DeepCopy() *ReplicaSetStatus { func (in *ReplicaSetStatus) DeepCopy() *ReplicaSetStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ReplicaSetStatus) out := new(ReplicaSetStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -685,13 +686,13 @@ func (in *RollbackConfig) DeepCopyInto(out *RollbackConfig) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RollbackConfig. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollbackConfig.
func (x *RollbackConfig) DeepCopy() *RollbackConfig { func (in *RollbackConfig) DeepCopy() *RollbackConfig {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RollbackConfig) out := new(RollbackConfig)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -710,13 +711,13 @@ func (in *RollingUpdateDaemonSet) DeepCopyInto(out *RollingUpdateDaemonSet) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDaemonSet. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDaemonSet.
func (x *RollingUpdateDaemonSet) DeepCopy() *RollingUpdateDaemonSet { func (in *RollingUpdateDaemonSet) DeepCopy() *RollingUpdateDaemonSet {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RollingUpdateDaemonSet) out := new(RollingUpdateDaemonSet)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -744,13 +745,13 @@ func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment.
func (x *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment { func (in *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RollingUpdateDeployment) out := new(RollingUpdateDeployment)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -769,13 +770,13 @@ func (in *RollingUpdateStatefulSetStrategy) DeepCopyInto(out *RollingUpdateState
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatefulSetStrategy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatefulSetStrategy.
func (x *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy { func (in *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RollingUpdateStatefulSetStrategy) out := new(RollingUpdateStatefulSetStrategy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -789,19 +790,19 @@ func (in *Scale) DeepCopyInto(out *Scale) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Scale. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale.
func (x *Scale) DeepCopy() *Scale { func (in *Scale) DeepCopy() *Scale {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Scale) out := new(Scale)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Scale) DeepCopyObject() runtime.Object { func (in *Scale) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -814,13 +815,13 @@ func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec.
func (x *ScaleSpec) DeepCopy() *ScaleSpec { func (in *ScaleSpec) DeepCopy() *ScaleSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ScaleSpec) out := new(ScaleSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -837,13 +838,13 @@ func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus.
func (x *ScaleStatus) DeepCopy() *ScaleStatus { func (in *ScaleStatus) DeepCopy() *ScaleStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ScaleStatus) out := new(ScaleStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -857,19 +858,19 @@ func (in *StatefulSet) DeepCopyInto(out *StatefulSet) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet.
func (x *StatefulSet) DeepCopy() *StatefulSet { func (in *StatefulSet) DeepCopy() *StatefulSet {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StatefulSet) out := new(StatefulSet)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *StatefulSet) DeepCopyObject() runtime.Object { func (in *StatefulSet) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -891,19 +892,19 @@ func (in *StatefulSetList) DeepCopyInto(out *StatefulSetList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList.
func (x *StatefulSetList) DeepCopy() *StatefulSetList { func (in *StatefulSetList) DeepCopy() *StatefulSetList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StatefulSetList) out := new(StatefulSetList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *StatefulSetList) DeepCopyObject() runtime.Object { func (in *StatefulSetList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -952,13 +953,13 @@ func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec.
func (x *StatefulSetSpec) DeepCopy() *StatefulSetSpec { func (in *StatefulSetSpec) DeepCopy() *StatefulSetSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StatefulSetSpec) out := new(StatefulSetSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -977,13 +978,13 @@ func (in *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus.
func (x *StatefulSetStatus) DeepCopy() *StatefulSetStatus { func (in *StatefulSetStatus) DeepCopy() *StatefulSetStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StatefulSetStatus) out := new(StatefulSetStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -1002,12 +1003,12 @@ func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy.
func (x *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy { func (in *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StatefulSetUpdateStrategy) out := new(StatefulSetUpdateStrategy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -64,19 +65,19 @@ func (in *TokenReview) DeepCopyInto(out *TokenReview) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview.
func (x *TokenReview) DeepCopy() *TokenReview { func (in *TokenReview) DeepCopy() *TokenReview {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TokenReview) out := new(TokenReview)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *TokenReview) DeepCopyObject() runtime.Object { func (in *TokenReview) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -89,13 +90,13 @@ func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec.
func (x *TokenReviewSpec) DeepCopy() *TokenReviewSpec { func (in *TokenReviewSpec) DeepCopy() *TokenReviewSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TokenReviewSpec) out := new(TokenReviewSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -106,13 +107,13 @@ func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus.
func (x *TokenReviewStatus) DeepCopy() *TokenReviewStatus { func (in *TokenReviewStatus) DeepCopy() *TokenReviewStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TokenReviewStatus) out := new(TokenReviewStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -135,12 +136,12 @@ func (in *UserInfo) DeepCopyInto(out *UserInfo) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo.
func (x *UserInfo) DeepCopy() *UserInfo { func (in *UserInfo) DeepCopy() *UserInfo {
if x == nil { if in == nil {
return nil return nil
} }
out := new(UserInfo) out := new(UserInfo)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -64,19 +65,19 @@ func (in *TokenReview) DeepCopyInto(out *TokenReview) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview.
func (x *TokenReview) DeepCopy() *TokenReview { func (in *TokenReview) DeepCopy() *TokenReview {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TokenReview) out := new(TokenReview)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *TokenReview) DeepCopyObject() runtime.Object { func (in *TokenReview) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -89,13 +90,13 @@ func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec.
func (x *TokenReviewSpec) DeepCopy() *TokenReviewSpec { func (in *TokenReviewSpec) DeepCopy() *TokenReviewSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TokenReviewSpec) out := new(TokenReviewSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -106,13 +107,13 @@ func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus.
func (x *TokenReviewStatus) DeepCopy() *TokenReviewStatus { func (in *TokenReviewStatus) DeepCopy() *TokenReviewStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TokenReviewStatus) out := new(TokenReviewStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -135,12 +136,12 @@ func (in *UserInfo) DeepCopyInto(out *UserInfo) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo.
func (x *UserInfo) DeepCopy() *UserInfo { func (in *UserInfo) DeepCopy() *UserInfo {
if x == nil { if in == nil {
return nil return nil
} }
out := new(UserInfo) out := new(UserInfo)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -80,19 +81,19 @@ func (in *LocalSubjectAccessReview) DeepCopyInto(out *LocalSubjectAccessReview)
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LocalSubjectAccessReview. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalSubjectAccessReview.
func (x *LocalSubjectAccessReview) DeepCopy() *LocalSubjectAccessReview { func (in *LocalSubjectAccessReview) DeepCopy() *LocalSubjectAccessReview {
if x == nil { if in == nil {
return nil return nil
} }
out := new(LocalSubjectAccessReview) out := new(LocalSubjectAccessReview)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *LocalSubjectAccessReview) DeepCopyObject() runtime.Object { func (in *LocalSubjectAccessReview) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -105,13 +106,13 @@ func (in *NonResourceAttributes) DeepCopyInto(out *NonResourceAttributes) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NonResourceAttributes. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonResourceAttributes.
func (x *NonResourceAttributes) DeepCopy() *NonResourceAttributes { func (in *NonResourceAttributes) DeepCopy() *NonResourceAttributes {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NonResourceAttributes) out := new(NonResourceAttributes)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -121,13 +122,13 @@ func (in *ResourceAttributes) DeepCopyInto(out *ResourceAttributes) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAttributes. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAttributes.
func (x *ResourceAttributes) DeepCopy() *ResourceAttributes { func (in *ResourceAttributes) DeepCopy() *ResourceAttributes {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ResourceAttributes) out := new(ResourceAttributes)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -141,19 +142,19 @@ func (in *SelfSubjectAccessReview) DeepCopyInto(out *SelfSubjectAccessReview) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReview. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReview.
func (x *SelfSubjectAccessReview) DeepCopy() *SelfSubjectAccessReview { func (in *SelfSubjectAccessReview) DeepCopy() *SelfSubjectAccessReview {
if x == nil { if in == nil {
return nil return nil
} }
out := new(SelfSubjectAccessReview) out := new(SelfSubjectAccessReview)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *SelfSubjectAccessReview) DeepCopyObject() runtime.Object { func (in *SelfSubjectAccessReview) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -184,13 +185,13 @@ func (in *SelfSubjectAccessReviewSpec) DeepCopyInto(out *SelfSubjectAccessReview
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReviewSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReviewSpec.
func (x *SelfSubjectAccessReviewSpec) DeepCopy() *SelfSubjectAccessReviewSpec { func (in *SelfSubjectAccessReviewSpec) DeepCopy() *SelfSubjectAccessReviewSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(SelfSubjectAccessReviewSpec) out := new(SelfSubjectAccessReviewSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -204,19 +205,19 @@ func (in *SubjectAccessReview) DeepCopyInto(out *SubjectAccessReview) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReview. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReview.
func (x *SubjectAccessReview) DeepCopy() *SubjectAccessReview { func (in *SubjectAccessReview) DeepCopy() *SubjectAccessReview {
if x == nil { if in == nil {
return nil return nil
} }
out := new(SubjectAccessReview) out := new(SubjectAccessReview)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *SubjectAccessReview) DeepCopyObject() runtime.Object { func (in *SubjectAccessReview) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -260,13 +261,13 @@ func (in *SubjectAccessReviewSpec) DeepCopyInto(out *SubjectAccessReviewSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewSpec.
func (x *SubjectAccessReviewSpec) DeepCopy() *SubjectAccessReviewSpec { func (in *SubjectAccessReviewSpec) DeepCopy() *SubjectAccessReviewSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(SubjectAccessReviewSpec) out := new(SubjectAccessReviewSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -276,12 +277,12 @@ func (in *SubjectAccessReviewStatus) DeepCopyInto(out *SubjectAccessReviewStatus
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewStatus.
func (x *SubjectAccessReviewStatus) DeepCopy() *SubjectAccessReviewStatus { func (in *SubjectAccessReviewStatus) DeepCopy() *SubjectAccessReviewStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(SubjectAccessReviewStatus) out := new(SubjectAccessReviewStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -80,19 +81,19 @@ func (in *LocalSubjectAccessReview) DeepCopyInto(out *LocalSubjectAccessReview)
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LocalSubjectAccessReview. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalSubjectAccessReview.
func (x *LocalSubjectAccessReview) DeepCopy() *LocalSubjectAccessReview { func (in *LocalSubjectAccessReview) DeepCopy() *LocalSubjectAccessReview {
if x == nil { if in == nil {
return nil return nil
} }
out := new(LocalSubjectAccessReview) out := new(LocalSubjectAccessReview)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *LocalSubjectAccessReview) DeepCopyObject() runtime.Object { func (in *LocalSubjectAccessReview) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -105,13 +106,13 @@ func (in *NonResourceAttributes) DeepCopyInto(out *NonResourceAttributes) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NonResourceAttributes. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonResourceAttributes.
func (x *NonResourceAttributes) DeepCopy() *NonResourceAttributes { func (in *NonResourceAttributes) DeepCopy() *NonResourceAttributes {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NonResourceAttributes) out := new(NonResourceAttributes)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -121,13 +122,13 @@ func (in *ResourceAttributes) DeepCopyInto(out *ResourceAttributes) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAttributes. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAttributes.
func (x *ResourceAttributes) DeepCopy() *ResourceAttributes { func (in *ResourceAttributes) DeepCopy() *ResourceAttributes {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ResourceAttributes) out := new(ResourceAttributes)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -141,19 +142,19 @@ func (in *SelfSubjectAccessReview) DeepCopyInto(out *SelfSubjectAccessReview) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReview. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReview.
func (x *SelfSubjectAccessReview) DeepCopy() *SelfSubjectAccessReview { func (in *SelfSubjectAccessReview) DeepCopy() *SelfSubjectAccessReview {
if x == nil { if in == nil {
return nil return nil
} }
out := new(SelfSubjectAccessReview) out := new(SelfSubjectAccessReview)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *SelfSubjectAccessReview) DeepCopyObject() runtime.Object { func (in *SelfSubjectAccessReview) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -184,13 +185,13 @@ func (in *SelfSubjectAccessReviewSpec) DeepCopyInto(out *SelfSubjectAccessReview
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReviewSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReviewSpec.
func (x *SelfSubjectAccessReviewSpec) DeepCopy() *SelfSubjectAccessReviewSpec { func (in *SelfSubjectAccessReviewSpec) DeepCopy() *SelfSubjectAccessReviewSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(SelfSubjectAccessReviewSpec) out := new(SelfSubjectAccessReviewSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -204,19 +205,19 @@ func (in *SubjectAccessReview) DeepCopyInto(out *SubjectAccessReview) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReview. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReview.
func (x *SubjectAccessReview) DeepCopy() *SubjectAccessReview { func (in *SubjectAccessReview) DeepCopy() *SubjectAccessReview {
if x == nil { if in == nil {
return nil return nil
} }
out := new(SubjectAccessReview) out := new(SubjectAccessReview)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *SubjectAccessReview) DeepCopyObject() runtime.Object { func (in *SubjectAccessReview) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -260,13 +261,13 @@ func (in *SubjectAccessReviewSpec) DeepCopyInto(out *SubjectAccessReviewSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewSpec.
func (x *SubjectAccessReviewSpec) DeepCopy() *SubjectAccessReviewSpec { func (in *SubjectAccessReviewSpec) DeepCopy() *SubjectAccessReviewSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(SubjectAccessReviewSpec) out := new(SubjectAccessReviewSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -276,12 +277,12 @@ func (in *SubjectAccessReviewStatus) DeepCopyInto(out *SubjectAccessReviewStatus
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewStatus.
func (x *SubjectAccessReviewStatus) DeepCopy() *SubjectAccessReviewStatus { func (in *SubjectAccessReviewStatus) DeepCopy() *SubjectAccessReviewStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(SubjectAccessReviewStatus) out := new(SubjectAccessReviewStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -28,13 +28,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -114,13 +115,13 @@ func (in *CrossVersionObjectReference) DeepCopyInto(out *CrossVersionObjectRefer
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CrossVersionObjectReference. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossVersionObjectReference.
func (x *CrossVersionObjectReference) DeepCopy() *CrossVersionObjectReference { func (in *CrossVersionObjectReference) DeepCopy() *CrossVersionObjectReference {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CrossVersionObjectReference) out := new(CrossVersionObjectReference)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -134,19 +135,19 @@ func (in *HorizontalPodAutoscaler) DeepCopyInto(out *HorizontalPodAutoscaler) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscaler. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscaler.
func (x *HorizontalPodAutoscaler) DeepCopy() *HorizontalPodAutoscaler { func (in *HorizontalPodAutoscaler) DeepCopy() *HorizontalPodAutoscaler {
if x == nil { if in == nil {
return nil return nil
} }
out := new(HorizontalPodAutoscaler) out := new(HorizontalPodAutoscaler)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *HorizontalPodAutoscaler) DeepCopyObject() runtime.Object { func (in *HorizontalPodAutoscaler) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -160,13 +161,13 @@ func (in *HorizontalPodAutoscalerCondition) DeepCopyInto(out *HorizontalPodAutos
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerCondition.
func (x *HorizontalPodAutoscalerCondition) DeepCopy() *HorizontalPodAutoscalerCondition { func (in *HorizontalPodAutoscalerCondition) DeepCopy() *HorizontalPodAutoscalerCondition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(HorizontalPodAutoscalerCondition) out := new(HorizontalPodAutoscalerCondition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -185,19 +186,19 @@ func (in *HorizontalPodAutoscalerList) DeepCopyInto(out *HorizontalPodAutoscaler
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerList.
func (x *HorizontalPodAutoscalerList) DeepCopy() *HorizontalPodAutoscalerList { func (in *HorizontalPodAutoscalerList) DeepCopy() *HorizontalPodAutoscalerList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(HorizontalPodAutoscalerList) out := new(HorizontalPodAutoscalerList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *HorizontalPodAutoscalerList) DeepCopyObject() runtime.Object { func (in *HorizontalPodAutoscalerList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -229,13 +230,13 @@ func (in *HorizontalPodAutoscalerSpec) DeepCopyInto(out *HorizontalPodAutoscaler
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerSpec.
func (x *HorizontalPodAutoscalerSpec) DeepCopy() *HorizontalPodAutoscalerSpec { func (in *HorizontalPodAutoscalerSpec) DeepCopy() *HorizontalPodAutoscalerSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(HorizontalPodAutoscalerSpec) out := new(HorizontalPodAutoscalerSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -272,13 +273,13 @@ func (in *HorizontalPodAutoscalerStatus) DeepCopyInto(out *HorizontalPodAutoscal
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerStatus.
func (x *HorizontalPodAutoscalerStatus) DeepCopy() *HorizontalPodAutoscalerStatus { func (in *HorizontalPodAutoscalerStatus) DeepCopy() *HorizontalPodAutoscalerStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(HorizontalPodAutoscalerStatus) out := new(HorizontalPodAutoscalerStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -315,13 +316,13 @@ func (in *MetricSpec) DeepCopyInto(out *MetricSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetricSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricSpec.
func (x *MetricSpec) DeepCopy() *MetricSpec { func (in *MetricSpec) DeepCopy() *MetricSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(MetricSpec) out := new(MetricSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -358,13 +359,13 @@ func (in *MetricStatus) DeepCopyInto(out *MetricStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetricStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricStatus.
func (x *MetricStatus) DeepCopy() *MetricStatus { func (in *MetricStatus) DeepCopy() *MetricStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(MetricStatus) out := new(MetricStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -376,13 +377,13 @@ func (in *ObjectMetricSource) DeepCopyInto(out *ObjectMetricSource) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricSource. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricSource.
func (x *ObjectMetricSource) DeepCopy() *ObjectMetricSource { func (in *ObjectMetricSource) DeepCopy() *ObjectMetricSource {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ObjectMetricSource) out := new(ObjectMetricSource)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -394,13 +395,13 @@ func (in *ObjectMetricStatus) DeepCopyInto(out *ObjectMetricStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricStatus.
func (x *ObjectMetricStatus) DeepCopy() *ObjectMetricStatus { func (in *ObjectMetricStatus) DeepCopy() *ObjectMetricStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ObjectMetricStatus) out := new(ObjectMetricStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -411,13 +412,13 @@ func (in *PodsMetricSource) DeepCopyInto(out *PodsMetricSource) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricSource. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricSource.
func (x *PodsMetricSource) DeepCopy() *PodsMetricSource { func (in *PodsMetricSource) DeepCopy() *PodsMetricSource {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodsMetricSource) out := new(PodsMetricSource)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -428,13 +429,13 @@ func (in *PodsMetricStatus) DeepCopyInto(out *PodsMetricStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricStatus.
func (x *PodsMetricStatus) DeepCopy() *PodsMetricStatus { func (in *PodsMetricStatus) DeepCopy() *PodsMetricStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodsMetricStatus) out := new(PodsMetricStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -462,13 +463,13 @@ func (in *ResourceMetricSource) DeepCopyInto(out *ResourceMetricSource) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricSource. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricSource.
func (x *ResourceMetricSource) DeepCopy() *ResourceMetricSource { func (in *ResourceMetricSource) DeepCopy() *ResourceMetricSource {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ResourceMetricSource) out := new(ResourceMetricSource)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -488,13 +489,13 @@ func (in *ResourceMetricStatus) DeepCopyInto(out *ResourceMetricStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricStatus.
func (x *ResourceMetricStatus) DeepCopy() *ResourceMetricStatus { func (in *ResourceMetricStatus) DeepCopy() *ResourceMetricStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ResourceMetricStatus) out := new(ResourceMetricStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -508,19 +509,19 @@ func (in *Scale) DeepCopyInto(out *Scale) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Scale. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale.
func (x *Scale) DeepCopy() *Scale { func (in *Scale) DeepCopy() *Scale {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Scale) out := new(Scale)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Scale) DeepCopyObject() runtime.Object { func (in *Scale) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -533,13 +534,13 @@ func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec.
func (x *ScaleSpec) DeepCopy() *ScaleSpec { func (in *ScaleSpec) DeepCopy() *ScaleSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ScaleSpec) out := new(ScaleSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -549,12 +550,12 @@ func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus.
func (x *ScaleStatus) DeepCopy() *ScaleStatus { func (in *ScaleStatus) DeepCopy() *ScaleStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ScaleStatus) out := new(ScaleStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -28,13 +28,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -102,13 +103,13 @@ func (in *CrossVersionObjectReference) DeepCopyInto(out *CrossVersionObjectRefer
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CrossVersionObjectReference. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossVersionObjectReference.
func (x *CrossVersionObjectReference) DeepCopy() *CrossVersionObjectReference { func (in *CrossVersionObjectReference) DeepCopy() *CrossVersionObjectReference {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CrossVersionObjectReference) out := new(CrossVersionObjectReference)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -122,19 +123,19 @@ func (in *HorizontalPodAutoscaler) DeepCopyInto(out *HorizontalPodAutoscaler) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscaler. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscaler.
func (x *HorizontalPodAutoscaler) DeepCopy() *HorizontalPodAutoscaler { func (in *HorizontalPodAutoscaler) DeepCopy() *HorizontalPodAutoscaler {
if x == nil { if in == nil {
return nil return nil
} }
out := new(HorizontalPodAutoscaler) out := new(HorizontalPodAutoscaler)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *HorizontalPodAutoscaler) DeepCopyObject() runtime.Object { func (in *HorizontalPodAutoscaler) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -148,13 +149,13 @@ func (in *HorizontalPodAutoscalerCondition) DeepCopyInto(out *HorizontalPodAutos
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerCondition.
func (x *HorizontalPodAutoscalerCondition) DeepCopy() *HorizontalPodAutoscalerCondition { func (in *HorizontalPodAutoscalerCondition) DeepCopy() *HorizontalPodAutoscalerCondition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(HorizontalPodAutoscalerCondition) out := new(HorizontalPodAutoscalerCondition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -173,19 +174,19 @@ func (in *HorizontalPodAutoscalerList) DeepCopyInto(out *HorizontalPodAutoscaler
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerList.
func (x *HorizontalPodAutoscalerList) DeepCopy() *HorizontalPodAutoscalerList { func (in *HorizontalPodAutoscalerList) DeepCopy() *HorizontalPodAutoscalerList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(HorizontalPodAutoscalerList) out := new(HorizontalPodAutoscalerList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *HorizontalPodAutoscalerList) DeepCopyObject() runtime.Object { func (in *HorizontalPodAutoscalerList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -215,13 +216,13 @@ func (in *HorizontalPodAutoscalerSpec) DeepCopyInto(out *HorizontalPodAutoscaler
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerSpec.
func (x *HorizontalPodAutoscalerSpec) DeepCopy() *HorizontalPodAutoscalerSpec { func (in *HorizontalPodAutoscalerSpec) DeepCopy() *HorizontalPodAutoscalerSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(HorizontalPodAutoscalerSpec) out := new(HorizontalPodAutoscalerSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -263,13 +264,13 @@ func (in *HorizontalPodAutoscalerStatus) DeepCopyInto(out *HorizontalPodAutoscal
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerStatus.
func (x *HorizontalPodAutoscalerStatus) DeepCopy() *HorizontalPodAutoscalerStatus { func (in *HorizontalPodAutoscalerStatus) DeepCopy() *HorizontalPodAutoscalerStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(HorizontalPodAutoscalerStatus) out := new(HorizontalPodAutoscalerStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -306,13 +307,13 @@ func (in *MetricSpec) DeepCopyInto(out *MetricSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetricSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricSpec.
func (x *MetricSpec) DeepCopy() *MetricSpec { func (in *MetricSpec) DeepCopy() *MetricSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(MetricSpec) out := new(MetricSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -349,13 +350,13 @@ func (in *MetricStatus) DeepCopyInto(out *MetricStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetricStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricStatus.
func (x *MetricStatus) DeepCopy() *MetricStatus { func (in *MetricStatus) DeepCopy() *MetricStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(MetricStatus) out := new(MetricStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -367,13 +368,13 @@ func (in *ObjectMetricSource) DeepCopyInto(out *ObjectMetricSource) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricSource. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricSource.
func (x *ObjectMetricSource) DeepCopy() *ObjectMetricSource { func (in *ObjectMetricSource) DeepCopy() *ObjectMetricSource {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ObjectMetricSource) out := new(ObjectMetricSource)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -385,13 +386,13 @@ func (in *ObjectMetricStatus) DeepCopyInto(out *ObjectMetricStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricStatus.
func (x *ObjectMetricStatus) DeepCopy() *ObjectMetricStatus { func (in *ObjectMetricStatus) DeepCopy() *ObjectMetricStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ObjectMetricStatus) out := new(ObjectMetricStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -402,13 +403,13 @@ func (in *PodsMetricSource) DeepCopyInto(out *PodsMetricSource) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricSource. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricSource.
func (x *PodsMetricSource) DeepCopy() *PodsMetricSource { func (in *PodsMetricSource) DeepCopy() *PodsMetricSource {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodsMetricSource) out := new(PodsMetricSource)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -419,13 +420,13 @@ func (in *PodsMetricStatus) DeepCopyInto(out *PodsMetricStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricStatus.
func (x *PodsMetricStatus) DeepCopy() *PodsMetricStatus { func (in *PodsMetricStatus) DeepCopy() *PodsMetricStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodsMetricStatus) out := new(PodsMetricStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -453,13 +454,13 @@ func (in *ResourceMetricSource) DeepCopyInto(out *ResourceMetricSource) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricSource. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricSource.
func (x *ResourceMetricSource) DeepCopy() *ResourceMetricSource { func (in *ResourceMetricSource) DeepCopy() *ResourceMetricSource {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ResourceMetricSource) out := new(ResourceMetricSource)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -479,12 +480,12 @@ func (in *ResourceMetricStatus) DeepCopyInto(out *ResourceMetricStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricStatus.
func (x *ResourceMetricStatus) DeepCopy() *ResourceMetricStatus { func (in *ResourceMetricStatus) DeepCopy() *ResourceMetricStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ResourceMetricStatus) out := new(ResourceMetricStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -27,13 +27,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -69,19 +70,19 @@ func (in *Job) DeepCopyInto(out *Job) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Job. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Job.
func (x *Job) DeepCopy() *Job { func (in *Job) DeepCopy() *Job {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Job) out := new(Job)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Job) DeepCopyObject() runtime.Object { func (in *Job) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -96,13 +97,13 @@ func (in *JobCondition) DeepCopyInto(out *JobCondition) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobCondition.
func (x *JobCondition) DeepCopy() *JobCondition { func (in *JobCondition) DeepCopy() *JobCondition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(JobCondition) out := new(JobCondition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -121,19 +122,19 @@ func (in *JobList) DeepCopyInto(out *JobList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobList.
func (x *JobList) DeepCopy() *JobList { func (in *JobList) DeepCopy() *JobList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(JobList) out := new(JobList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *JobList) DeepCopyObject() runtime.Object { func (in *JobList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -192,13 +193,13 @@ func (in *JobSpec) DeepCopyInto(out *JobSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec.
func (x *JobSpec) DeepCopy() *JobSpec { func (in *JobSpec) DeepCopy() *JobSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(JobSpec) out := new(JobSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -233,12 +234,12 @@ func (in *JobStatus) DeepCopyInto(out *JobStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus.
func (x *JobStatus) DeepCopy() *JobStatus { func (in *JobStatus) DeepCopy() *JobStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(JobStatus) out := new(JobStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -28,13 +28,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -74,19 +75,19 @@ func (in *CronJob) DeepCopyInto(out *CronJob) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CronJob. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJob.
func (x *CronJob) DeepCopy() *CronJob { func (in *CronJob) DeepCopy() *CronJob {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CronJob) out := new(CronJob)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *CronJob) DeepCopyObject() runtime.Object { func (in *CronJob) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -108,19 +109,19 @@ func (in *CronJobList) DeepCopyInto(out *CronJobList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CronJobList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobList.
func (x *CronJobList) DeepCopy() *CronJobList { func (in *CronJobList) DeepCopy() *CronJobList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CronJobList) out := new(CronJobList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *CronJobList) DeepCopyObject() runtime.Object { func (in *CronJobList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -170,13 +171,13 @@ func (in *CronJobSpec) DeepCopyInto(out *CronJobSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CronJobSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobSpec.
func (x *CronJobSpec) DeepCopy() *CronJobSpec { func (in *CronJobSpec) DeepCopy() *CronJobSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CronJobSpec) out := new(CronJobSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -200,13 +201,13 @@ func (in *CronJobStatus) DeepCopyInto(out *CronJobStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CronJobStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobStatus.
func (x *CronJobStatus) DeepCopy() *CronJobStatus { func (in *CronJobStatus) DeepCopy() *CronJobStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CronJobStatus) out := new(CronJobStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -219,19 +220,19 @@ func (in *JobTemplate) DeepCopyInto(out *JobTemplate) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplate. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplate.
func (x *JobTemplate) DeepCopy() *JobTemplate { func (in *JobTemplate) DeepCopy() *JobTemplate {
if x == nil { if in == nil {
return nil return nil
} }
out := new(JobTemplate) out := new(JobTemplate)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *JobTemplate) DeepCopyObject() runtime.Object { func (in *JobTemplate) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -246,12 +247,12 @@ func (in *JobTemplateSpec) DeepCopyInto(out *JobTemplateSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateSpec.
func (x *JobTemplateSpec) DeepCopy() *JobTemplateSpec { func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(JobTemplateSpec) out := new(JobTemplateSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -68,19 +69,19 @@ func (in *CertificateSigningRequest) DeepCopyInto(out *CertificateSigningRequest
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequest. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequest.
func (x *CertificateSigningRequest) DeepCopy() *CertificateSigningRequest { func (in *CertificateSigningRequest) DeepCopy() *CertificateSigningRequest {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CertificateSigningRequest) out := new(CertificateSigningRequest)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *CertificateSigningRequest) DeepCopyObject() runtime.Object { func (in *CertificateSigningRequest) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -94,13 +95,13 @@ func (in *CertificateSigningRequestCondition) DeepCopyInto(out *CertificateSigni
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestCondition.
func (x *CertificateSigningRequestCondition) DeepCopy() *CertificateSigningRequestCondition { func (in *CertificateSigningRequestCondition) DeepCopy() *CertificateSigningRequestCondition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CertificateSigningRequestCondition) out := new(CertificateSigningRequestCondition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -119,19 +120,19 @@ func (in *CertificateSigningRequestList) DeepCopyInto(out *CertificateSigningReq
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestList.
func (x *CertificateSigningRequestList) DeepCopy() *CertificateSigningRequestList { func (in *CertificateSigningRequestList) DeepCopy() *CertificateSigningRequestList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CertificateSigningRequestList) out := new(CertificateSigningRequestList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *CertificateSigningRequestList) DeepCopyObject() runtime.Object { func (in *CertificateSigningRequestList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -167,13 +168,13 @@ func (in *CertificateSigningRequestSpec) DeepCopyInto(out *CertificateSigningReq
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestSpec.
func (x *CertificateSigningRequestSpec) DeepCopy() *CertificateSigningRequestSpec { func (in *CertificateSigningRequestSpec) DeepCopy() *CertificateSigningRequestSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CertificateSigningRequestSpec) out := new(CertificateSigningRequestSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -195,12 +196,12 @@ func (in *CertificateSigningRequestStatus) DeepCopyInto(out *CertificateSigningR
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestStatus.
func (x *CertificateSigningRequestStatus) DeepCopy() *CertificateSigningRequestStatus { func (in *CertificateSigningRequestStatus) DeepCopy() *CertificateSigningRequestStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CertificateSigningRequestStatus) out := new(CertificateSigningRequestStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

File diff suppressed because it is too large Load Diff

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -64,19 +65,19 @@ func (in *ImageReview) DeepCopyInto(out *ImageReview) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ImageReview. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReview.
func (x *ImageReview) DeepCopy() *ImageReview { func (in *ImageReview) DeepCopy() *ImageReview {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ImageReview) out := new(ImageReview)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ImageReview) DeepCopyObject() runtime.Object { func (in *ImageReview) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -89,13 +90,13 @@ func (in *ImageReviewContainerSpec) DeepCopyInto(out *ImageReviewContainerSpec)
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewContainerSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewContainerSpec.
func (x *ImageReviewContainerSpec) DeepCopy() *ImageReviewContainerSpec { func (in *ImageReviewContainerSpec) DeepCopy() *ImageReviewContainerSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ImageReviewContainerSpec) out := new(ImageReviewContainerSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -117,13 +118,13 @@ func (in *ImageReviewSpec) DeepCopyInto(out *ImageReviewSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewSpec.
func (x *ImageReviewSpec) DeepCopy() *ImageReviewSpec { func (in *ImageReviewSpec) DeepCopy() *ImageReviewSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ImageReviewSpec) out := new(ImageReviewSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -133,12 +134,12 @@ func (in *ImageReviewStatus) DeepCopyInto(out *ImageReviewStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewStatus.
func (x *ImageReviewStatus) DeepCopy() *ImageReviewStatus { func (in *ImageReviewStatus) DeepCopy() *ImageReviewStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ImageReviewStatus) out := new(ImageReviewStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -29,13 +29,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -74,19 +75,19 @@ func (in *NetworkPolicy) DeepCopyInto(out *NetworkPolicy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicy.
func (x *NetworkPolicy) DeepCopy() *NetworkPolicy { func (in *NetworkPolicy) DeepCopy() *NetworkPolicy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NetworkPolicy) out := new(NetworkPolicy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *NetworkPolicy) DeepCopyObject() runtime.Object { func (in *NetworkPolicy) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -113,13 +114,13 @@ func (in *NetworkPolicyIngressRule) DeepCopyInto(out *NetworkPolicyIngressRule)
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyIngressRule. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyIngressRule.
func (x *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule { func (in *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NetworkPolicyIngressRule) out := new(NetworkPolicyIngressRule)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -138,19 +139,19 @@ func (in *NetworkPolicyList) DeepCopyInto(out *NetworkPolicyList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyList.
func (x *NetworkPolicyList) DeepCopy() *NetworkPolicyList { func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NetworkPolicyList) out := new(NetworkPolicyList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *NetworkPolicyList) DeepCopyObject() runtime.Object { func (in *NetworkPolicyList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -181,13 +182,13 @@ func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPeer. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPeer.
func (x *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer { func (in *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NetworkPolicyPeer) out := new(NetworkPolicyPeer)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -215,13 +216,13 @@ func (in *NetworkPolicyPort) DeepCopyInto(out *NetworkPolicyPort) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPort. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPort.
func (x *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort { func (in *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NetworkPolicyPort) out := new(NetworkPolicyPort)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -239,12 +240,12 @@ func (in *NetworkPolicySpec) DeepCopyInto(out *NetworkPolicySpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpec.
func (x *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec { func (in *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NetworkPolicySpec) out := new(NetworkPolicySpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -28,13 +28,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -77,19 +78,19 @@ func (in *Eviction) DeepCopyInto(out *Eviction) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Eviction. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Eviction.
func (x *Eviction) DeepCopy() *Eviction { func (in *Eviction) DeepCopy() *Eviction {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Eviction) out := new(Eviction)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Eviction) DeepCopyObject() runtime.Object { func (in *Eviction) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -106,19 +107,19 @@ func (in *PodDisruptionBudget) DeepCopyInto(out *PodDisruptionBudget) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudget. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudget.
func (x *PodDisruptionBudget) DeepCopy() *PodDisruptionBudget { func (in *PodDisruptionBudget) DeepCopy() *PodDisruptionBudget {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodDisruptionBudget) out := new(PodDisruptionBudget)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PodDisruptionBudget) DeepCopyObject() runtime.Object { func (in *PodDisruptionBudget) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -140,19 +141,19 @@ func (in *PodDisruptionBudgetList) DeepCopyInto(out *PodDisruptionBudgetList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetList.
func (x *PodDisruptionBudgetList) DeepCopy() *PodDisruptionBudgetList { func (in *PodDisruptionBudgetList) DeepCopy() *PodDisruptionBudgetList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodDisruptionBudgetList) out := new(PodDisruptionBudgetList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PodDisruptionBudgetList) DeepCopyObject() runtime.Object { func (in *PodDisruptionBudgetList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -192,13 +193,13 @@ func (in *PodDisruptionBudgetSpec) DeepCopyInto(out *PodDisruptionBudgetSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetSpec.
func (x *PodDisruptionBudgetSpec) DeepCopy() *PodDisruptionBudgetSpec { func (in *PodDisruptionBudgetSpec) DeepCopy() *PodDisruptionBudgetSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodDisruptionBudgetSpec) out := new(PodDisruptionBudgetSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -215,12 +216,12 @@ func (in *PodDisruptionBudgetStatus) DeepCopyInto(out *PodDisruptionBudgetStatus
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetStatus.
func (x *PodDisruptionBudgetStatus) DeepCopy() *PodDisruptionBudgetStatus { func (in *PodDisruptionBudgetStatus) DeepCopy() *PodDisruptionBudgetStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodDisruptionBudgetStatus) out := new(PodDisruptionBudgetStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -97,19 +98,19 @@ func (in *ClusterRole) DeepCopyInto(out *ClusterRole) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRole. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRole.
func (x *ClusterRole) DeepCopy() *ClusterRole { func (in *ClusterRole) DeepCopy() *ClusterRole {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterRole) out := new(ClusterRole)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ClusterRole) DeepCopyObject() runtime.Object { func (in *ClusterRole) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -130,19 +131,19 @@ func (in *ClusterRoleBinding) DeepCopyInto(out *ClusterRoleBinding) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBinding. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBinding.
func (x *ClusterRoleBinding) DeepCopy() *ClusterRoleBinding { func (in *ClusterRoleBinding) DeepCopy() *ClusterRoleBinding {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterRoleBinding) out := new(ClusterRoleBinding)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ClusterRoleBinding) DeepCopyObject() runtime.Object { func (in *ClusterRoleBinding) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -164,19 +165,19 @@ func (in *ClusterRoleBindingList) DeepCopyInto(out *ClusterRoleBindingList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBindingList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBindingList.
func (x *ClusterRoleBindingList) DeepCopy() *ClusterRoleBindingList { func (in *ClusterRoleBindingList) DeepCopy() *ClusterRoleBindingList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterRoleBindingList) out := new(ClusterRoleBindingList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ClusterRoleBindingList) DeepCopyObject() runtime.Object { func (in *ClusterRoleBindingList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -198,19 +199,19 @@ func (in *ClusterRoleList) DeepCopyInto(out *ClusterRoleList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleList.
func (x *ClusterRoleList) DeepCopy() *ClusterRoleList { func (in *ClusterRoleList) DeepCopy() *ClusterRoleList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterRoleList) out := new(ClusterRoleList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ClusterRoleList) DeepCopyObject() runtime.Object { func (in *ClusterRoleList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -248,13 +249,13 @@ func (in *PolicyRule) DeepCopyInto(out *PolicyRule) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule.
func (x *PolicyRule) DeepCopy() *PolicyRule { func (in *PolicyRule) DeepCopy() *PolicyRule {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PolicyRule) out := new(PolicyRule)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -273,19 +274,19 @@ func (in *Role) DeepCopyInto(out *Role) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Role. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Role.
func (x *Role) DeepCopy() *Role { func (in *Role) DeepCopy() *Role {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Role) out := new(Role)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Role) DeepCopyObject() runtime.Object { func (in *Role) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -306,19 +307,19 @@ func (in *RoleBinding) DeepCopyInto(out *RoleBinding) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleBinding. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBinding.
func (x *RoleBinding) DeepCopy() *RoleBinding { func (in *RoleBinding) DeepCopy() *RoleBinding {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RoleBinding) out := new(RoleBinding)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *RoleBinding) DeepCopyObject() runtime.Object { func (in *RoleBinding) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -340,19 +341,19 @@ func (in *RoleBindingList) DeepCopyInto(out *RoleBindingList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingList.
func (x *RoleBindingList) DeepCopy() *RoleBindingList { func (in *RoleBindingList) DeepCopy() *RoleBindingList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RoleBindingList) out := new(RoleBindingList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *RoleBindingList) DeepCopyObject() runtime.Object { func (in *RoleBindingList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -374,19 +375,19 @@ func (in *RoleList) DeepCopyInto(out *RoleList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleList.
func (x *RoleList) DeepCopy() *RoleList { func (in *RoleList) DeepCopy() *RoleList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RoleList) out := new(RoleList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *RoleList) DeepCopyObject() runtime.Object { func (in *RoleList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -399,13 +400,13 @@ func (in *RoleRef) DeepCopyInto(out *RoleRef) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleRef. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleRef.
func (x *RoleRef) DeepCopy() *RoleRef { func (in *RoleRef) DeepCopy() *RoleRef {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RoleRef) out := new(RoleRef)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -415,12 +416,12 @@ func (in *Subject) DeepCopyInto(out *Subject) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Subject. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subject.
func (x *Subject) DeepCopy() *Subject { func (in *Subject) DeepCopy() *Subject {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Subject) out := new(Subject)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -97,19 +98,19 @@ func (in *ClusterRole) DeepCopyInto(out *ClusterRole) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRole. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRole.
func (x *ClusterRole) DeepCopy() *ClusterRole { func (in *ClusterRole) DeepCopy() *ClusterRole {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterRole) out := new(ClusterRole)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ClusterRole) DeepCopyObject() runtime.Object { func (in *ClusterRole) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -130,19 +131,19 @@ func (in *ClusterRoleBinding) DeepCopyInto(out *ClusterRoleBinding) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBinding. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBinding.
func (x *ClusterRoleBinding) DeepCopy() *ClusterRoleBinding { func (in *ClusterRoleBinding) DeepCopy() *ClusterRoleBinding {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterRoleBinding) out := new(ClusterRoleBinding)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ClusterRoleBinding) DeepCopyObject() runtime.Object { func (in *ClusterRoleBinding) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -164,19 +165,19 @@ func (in *ClusterRoleBindingList) DeepCopyInto(out *ClusterRoleBindingList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBindingList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBindingList.
func (x *ClusterRoleBindingList) DeepCopy() *ClusterRoleBindingList { func (in *ClusterRoleBindingList) DeepCopy() *ClusterRoleBindingList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterRoleBindingList) out := new(ClusterRoleBindingList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ClusterRoleBindingList) DeepCopyObject() runtime.Object { func (in *ClusterRoleBindingList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -198,19 +199,19 @@ func (in *ClusterRoleList) DeepCopyInto(out *ClusterRoleList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleList.
func (x *ClusterRoleList) DeepCopy() *ClusterRoleList { func (in *ClusterRoleList) DeepCopy() *ClusterRoleList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterRoleList) out := new(ClusterRoleList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ClusterRoleList) DeepCopyObject() runtime.Object { func (in *ClusterRoleList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -248,13 +249,13 @@ func (in *PolicyRule) DeepCopyInto(out *PolicyRule) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule.
func (x *PolicyRule) DeepCopy() *PolicyRule { func (in *PolicyRule) DeepCopy() *PolicyRule {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PolicyRule) out := new(PolicyRule)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -273,19 +274,19 @@ func (in *Role) DeepCopyInto(out *Role) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Role. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Role.
func (x *Role) DeepCopy() *Role { func (in *Role) DeepCopy() *Role {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Role) out := new(Role)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Role) DeepCopyObject() runtime.Object { func (in *Role) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -306,19 +307,19 @@ func (in *RoleBinding) DeepCopyInto(out *RoleBinding) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleBinding. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBinding.
func (x *RoleBinding) DeepCopy() *RoleBinding { func (in *RoleBinding) DeepCopy() *RoleBinding {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RoleBinding) out := new(RoleBinding)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *RoleBinding) DeepCopyObject() runtime.Object { func (in *RoleBinding) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -340,19 +341,19 @@ func (in *RoleBindingList) DeepCopyInto(out *RoleBindingList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingList.
func (x *RoleBindingList) DeepCopy() *RoleBindingList { func (in *RoleBindingList) DeepCopy() *RoleBindingList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RoleBindingList) out := new(RoleBindingList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *RoleBindingList) DeepCopyObject() runtime.Object { func (in *RoleBindingList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -374,19 +375,19 @@ func (in *RoleList) DeepCopyInto(out *RoleList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleList.
func (x *RoleList) DeepCopy() *RoleList { func (in *RoleList) DeepCopy() *RoleList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RoleList) out := new(RoleList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *RoleList) DeepCopyObject() runtime.Object { func (in *RoleList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -399,13 +400,13 @@ func (in *RoleRef) DeepCopyInto(out *RoleRef) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleRef. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleRef.
func (x *RoleRef) DeepCopy() *RoleRef { func (in *RoleRef) DeepCopy() *RoleRef {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RoleRef) out := new(RoleRef)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -415,12 +416,12 @@ func (in *Subject) DeepCopyInto(out *Subject) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Subject. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subject.
func (x *Subject) DeepCopy() *Subject { func (in *Subject) DeepCopy() *Subject {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Subject) out := new(Subject)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -54,19 +55,19 @@ func (in *PriorityClass) DeepCopyInto(out *PriorityClass) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClass. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClass.
func (x *PriorityClass) DeepCopy() *PriorityClass { func (in *PriorityClass) DeepCopy() *PriorityClass {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PriorityClass) out := new(PriorityClass)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PriorityClass) DeepCopyObject() runtime.Object { func (in *PriorityClass) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -88,19 +89,19 @@ func (in *PriorityClassList) DeepCopyInto(out *PriorityClassList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClassList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClassList.
func (x *PriorityClassList) DeepCopy() *PriorityClassList { func (in *PriorityClassList) DeepCopy() *PriorityClassList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PriorityClassList) out := new(PriorityClassList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PriorityClassList) DeepCopyObject() runtime.Object { func (in *PriorityClassList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil

View File

@ -27,13 +27,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -60,19 +61,19 @@ func (in *PodPreset) DeepCopyInto(out *PodPreset) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodPreset. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPreset.
func (x *PodPreset) DeepCopy() *PodPreset { func (in *PodPreset) DeepCopy() *PodPreset {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodPreset) out := new(PodPreset)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PodPreset) DeepCopyObject() runtime.Object { func (in *PodPreset) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -94,19 +95,19 @@ func (in *PodPresetList) DeepCopyInto(out *PodPresetList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetList.
func (x *PodPresetList) DeepCopy() *PodPresetList { func (in *PodPresetList) DeepCopy() *PodPresetList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodPresetList) out := new(PodPresetList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PodPresetList) DeepCopyObject() runtime.Object { func (in *PodPresetList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -146,12 +147,12 @@ func (in *PodPresetSpec) DeepCopyInto(out *PodPresetSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetSpec.
func (x *PodPresetSpec) DeepCopy() *PodPresetSpec { func (in *PodPresetSpec) DeepCopy() *PodPresetSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodPresetSpec) out := new(PodPresetSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -61,19 +62,19 @@ func (in *StorageClass) DeepCopyInto(out *StorageClass) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StorageClass. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClass.
func (x *StorageClass) DeepCopy() *StorageClass { func (in *StorageClass) DeepCopy() *StorageClass {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StorageClass) out := new(StorageClass)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *StorageClass) DeepCopyObject() runtime.Object { func (in *StorageClass) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -95,19 +96,19 @@ func (in *StorageClassList) DeepCopyInto(out *StorageClassList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassList.
func (x *StorageClassList) DeepCopy() *StorageClassList { func (in *StorageClassList) DeepCopy() *StorageClassList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StorageClassList) out := new(StorageClassList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *StorageClassList) DeepCopyObject() runtime.Object { func (in *StorageClassList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -61,19 +62,19 @@ func (in *StorageClass) DeepCopyInto(out *StorageClass) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StorageClass. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClass.
func (x *StorageClass) DeepCopy() *StorageClass { func (in *StorageClass) DeepCopy() *StorageClass {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StorageClass) out := new(StorageClass)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *StorageClass) DeepCopyObject() runtime.Object { func (in *StorageClass) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -95,19 +96,19 @@ func (in *StorageClassList) DeepCopyInto(out *StorageClassList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassList.
func (x *StorageClassList) DeepCopy() *StorageClassList { func (in *StorageClassList) DeepCopy() *StorageClassList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StorageClassList) out := new(StorageClassList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *StorageClassList) DeepCopyObject() runtime.Object { func (in *StorageClassList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil

View File

@ -26,7 +26,9 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. // GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc { func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{ return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -58,19 +60,19 @@ func (in *Example) DeepCopyInto(out *Example) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Example. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Example.
func (x *Example) DeepCopy() *Example { func (in *Example) DeepCopy() *Example {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Example) out := new(Example)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Example) DeepCopyObject() runtime.Object { func (in *Example) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -92,19 +94,19 @@ func (in *ExampleList) DeepCopyInto(out *ExampleList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExampleList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExampleList.
func (x *ExampleList) DeepCopy() *ExampleList { func (in *ExampleList) DeepCopy() *ExampleList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExampleList) out := new(ExampleList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExampleList) DeepCopyObject() runtime.Object { func (in *ExampleList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -117,13 +119,13 @@ func (in *ExampleSpec) DeepCopyInto(out *ExampleSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExampleSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExampleSpec.
func (x *ExampleSpec) DeepCopy() *ExampleSpec { func (in *ExampleSpec) DeepCopy() *ExampleSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExampleSpec) out := new(ExampleSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -133,12 +135,12 @@ func (in *ExampleStatus) DeepCopyInto(out *ExampleStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExampleStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExampleStatus.
func (x *ExampleStatus) DeepCopy() *ExampleStatus { func (in *ExampleStatus) DeepCopy() *ExampleStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExampleStatus) out := new(ExampleStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -72,19 +73,19 @@ func (in *CustomResourceDefinition) DeepCopyInto(out *CustomResourceDefinition)
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinition.
func (x *CustomResourceDefinition) DeepCopy() *CustomResourceDefinition { func (in *CustomResourceDefinition) DeepCopy() *CustomResourceDefinition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CustomResourceDefinition) out := new(CustomResourceDefinition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *CustomResourceDefinition) DeepCopyObject() runtime.Object { func (in *CustomResourceDefinition) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -98,13 +99,13 @@ func (in *CustomResourceDefinitionCondition) DeepCopyInto(out *CustomResourceDef
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionCondition.
func (x *CustomResourceDefinitionCondition) DeepCopy() *CustomResourceDefinitionCondition { func (in *CustomResourceDefinitionCondition) DeepCopy() *CustomResourceDefinitionCondition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CustomResourceDefinitionCondition) out := new(CustomResourceDefinitionCondition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -123,19 +124,19 @@ func (in *CustomResourceDefinitionList) DeepCopyInto(out *CustomResourceDefiniti
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionList.
func (x *CustomResourceDefinitionList) DeepCopy() *CustomResourceDefinitionList { func (in *CustomResourceDefinitionList) DeepCopy() *CustomResourceDefinitionList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CustomResourceDefinitionList) out := new(CustomResourceDefinitionList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *CustomResourceDefinitionList) DeepCopyObject() runtime.Object { func (in *CustomResourceDefinitionList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -153,13 +154,13 @@ func (in *CustomResourceDefinitionNames) DeepCopyInto(out *CustomResourceDefinit
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionNames. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionNames.
func (x *CustomResourceDefinitionNames) DeepCopy() *CustomResourceDefinitionNames { func (in *CustomResourceDefinitionNames) DeepCopy() *CustomResourceDefinitionNames {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CustomResourceDefinitionNames) out := new(CustomResourceDefinitionNames)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -170,13 +171,13 @@ func (in *CustomResourceDefinitionSpec) DeepCopyInto(out *CustomResourceDefiniti
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionSpec.
func (x *CustomResourceDefinitionSpec) DeepCopy() *CustomResourceDefinitionSpec { func (in *CustomResourceDefinitionSpec) DeepCopy() *CustomResourceDefinitionSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CustomResourceDefinitionSpec) out := new(CustomResourceDefinitionSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -194,12 +195,12 @@ func (in *CustomResourceDefinitionStatus) DeepCopyInto(out *CustomResourceDefini
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionStatus.
func (x *CustomResourceDefinitionStatus) DeepCopy() *CustomResourceDefinitionStatus { func (in *CustomResourceDefinitionStatus) DeepCopy() *CustomResourceDefinitionStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CustomResourceDefinitionStatus) out := new(CustomResourceDefinitionStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -72,19 +73,19 @@ func (in *CustomResourceDefinition) DeepCopyInto(out *CustomResourceDefinition)
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinition.
func (x *CustomResourceDefinition) DeepCopy() *CustomResourceDefinition { func (in *CustomResourceDefinition) DeepCopy() *CustomResourceDefinition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CustomResourceDefinition) out := new(CustomResourceDefinition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *CustomResourceDefinition) DeepCopyObject() runtime.Object { func (in *CustomResourceDefinition) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -98,13 +99,13 @@ func (in *CustomResourceDefinitionCondition) DeepCopyInto(out *CustomResourceDef
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionCondition.
func (x *CustomResourceDefinitionCondition) DeepCopy() *CustomResourceDefinitionCondition { func (in *CustomResourceDefinitionCondition) DeepCopy() *CustomResourceDefinitionCondition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CustomResourceDefinitionCondition) out := new(CustomResourceDefinitionCondition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -123,19 +124,19 @@ func (in *CustomResourceDefinitionList) DeepCopyInto(out *CustomResourceDefiniti
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionList.
func (x *CustomResourceDefinitionList) DeepCopy() *CustomResourceDefinitionList { func (in *CustomResourceDefinitionList) DeepCopy() *CustomResourceDefinitionList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CustomResourceDefinitionList) out := new(CustomResourceDefinitionList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *CustomResourceDefinitionList) DeepCopyObject() runtime.Object { func (in *CustomResourceDefinitionList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -153,13 +154,13 @@ func (in *CustomResourceDefinitionNames) DeepCopyInto(out *CustomResourceDefinit
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionNames. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionNames.
func (x *CustomResourceDefinitionNames) DeepCopy() *CustomResourceDefinitionNames { func (in *CustomResourceDefinitionNames) DeepCopy() *CustomResourceDefinitionNames {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CustomResourceDefinitionNames) out := new(CustomResourceDefinitionNames)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -170,13 +171,13 @@ func (in *CustomResourceDefinitionSpec) DeepCopyInto(out *CustomResourceDefiniti
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionSpec.
func (x *CustomResourceDefinitionSpec) DeepCopy() *CustomResourceDefinitionSpec { func (in *CustomResourceDefinitionSpec) DeepCopy() *CustomResourceDefinitionSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CustomResourceDefinitionSpec) out := new(CustomResourceDefinitionSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -194,12 +195,12 @@ func (in *CustomResourceDefinitionStatus) DeepCopyInto(out *CustomResourceDefini
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionStatus.
func (x *CustomResourceDefinitionStatus) DeepCopy() *CustomResourceDefinitionStatus { func (in *CustomResourceDefinitionStatus) DeepCopy() *CustomResourceDefinitionStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CustomResourceDefinitionStatus) out := new(CustomResourceDefinitionStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,7 +26,9 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. // GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc { func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{ return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -62,19 +64,19 @@ func (in *ListOptions) DeepCopyInto(out *ListOptions) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ListOptions. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListOptions.
func (x *ListOptions) DeepCopy() *ListOptions { func (in *ListOptions) DeepCopy() *ListOptions {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ListOptions) out := new(ListOptions)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ListOptions) DeepCopyObject() runtime.Object { func (in *ListOptions) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil

View File

@ -26,7 +26,9 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. // GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc { func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{ return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -48,8 +50,8 @@ func (in *Unstructured) DeepCopyInto(out *Unstructured) {
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Unstructured) DeepCopyObject() runtime.Object { func (in *Unstructured) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -64,8 +66,8 @@ func (in *UnstructuredList) DeepCopyInto(out *UnstructuredList) {
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *UnstructuredList) DeepCopyObject() runtime.Object { func (in *UnstructuredList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil

View File

@ -27,7 +27,9 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. // GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc { func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{ return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -191,19 +193,19 @@ func (in *APIGroup) DeepCopyInto(out *APIGroup) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIGroup. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIGroup.
func (x *APIGroup) DeepCopy() *APIGroup { func (in *APIGroup) DeepCopy() *APIGroup {
if x == nil { if in == nil {
return nil return nil
} }
out := new(APIGroup) out := new(APIGroup)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *APIGroup) DeepCopyObject() runtime.Object { func (in *APIGroup) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -224,19 +226,19 @@ func (in *APIGroupList) DeepCopyInto(out *APIGroupList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIGroupList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIGroupList.
func (x *APIGroupList) DeepCopy() *APIGroupList { func (in *APIGroupList) DeepCopy() *APIGroupList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(APIGroupList) out := new(APIGroupList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *APIGroupList) DeepCopyObject() runtime.Object { func (in *APIGroupList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -264,13 +266,13 @@ func (in *APIResource) DeepCopyInto(out *APIResource) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIResource. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIResource.
func (x *APIResource) DeepCopy() *APIResource { func (in *APIResource) DeepCopy() *APIResource {
if x == nil { if in == nil {
return nil return nil
} }
out := new(APIResource) out := new(APIResource)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -288,19 +290,19 @@ func (in *APIResourceList) DeepCopyInto(out *APIResourceList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIResourceList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIResourceList.
func (x *APIResourceList) DeepCopy() *APIResourceList { func (in *APIResourceList) DeepCopy() *APIResourceList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(APIResourceList) out := new(APIResourceList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *APIResourceList) DeepCopyObject() runtime.Object { func (in *APIResourceList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -324,19 +326,19 @@ func (in *APIVersions) DeepCopyInto(out *APIVersions) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIVersions. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIVersions.
func (x *APIVersions) DeepCopy() *APIVersions { func (in *APIVersions) DeepCopy() *APIVersions {
if x == nil { if in == nil {
return nil return nil
} }
out := new(APIVersions) out := new(APIVersions)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *APIVersions) DeepCopyObject() runtime.Object { func (in *APIVersions) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -386,19 +388,19 @@ func (in *DeleteOptions) DeepCopyInto(out *DeleteOptions) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeleteOptions. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteOptions.
func (x *DeleteOptions) DeepCopy() *DeleteOptions { func (in *DeleteOptions) DeepCopy() *DeleteOptions {
if x == nil { if in == nil {
return nil return nil
} }
out := new(DeleteOptions) out := new(DeleteOptions)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *DeleteOptions) DeepCopyObject() runtime.Object { func (in *DeleteOptions) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -411,13 +413,13 @@ func (in *Duration) DeepCopyInto(out *Duration) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Duration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Duration.
func (x *Duration) DeepCopy() *Duration { func (in *Duration) DeepCopy() *Duration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Duration) out := new(Duration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -428,19 +430,19 @@ func (in *ExportOptions) DeepCopyInto(out *ExportOptions) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExportOptions. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExportOptions.
func (x *ExportOptions) DeepCopy() *ExportOptions { func (in *ExportOptions) DeepCopy() *ExportOptions {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExportOptions) out := new(ExportOptions)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExportOptions) DeepCopyObject() runtime.Object { func (in *ExportOptions) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -454,19 +456,19 @@ func (in *GetOptions) DeepCopyInto(out *GetOptions) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GetOptions. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetOptions.
func (x *GetOptions) DeepCopy() *GetOptions { func (in *GetOptions) DeepCopy() *GetOptions {
if x == nil { if in == nil {
return nil return nil
} }
out := new(GetOptions) out := new(GetOptions)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *GetOptions) DeepCopyObject() runtime.Object { func (in *GetOptions) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -479,13 +481,13 @@ func (in *GroupKind) DeepCopyInto(out *GroupKind) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GroupKind. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupKind.
func (x *GroupKind) DeepCopy() *GroupKind { func (in *GroupKind) DeepCopy() *GroupKind {
if x == nil { if in == nil {
return nil return nil
} }
out := new(GroupKind) out := new(GroupKind)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -495,13 +497,13 @@ func (in *GroupResource) DeepCopyInto(out *GroupResource) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GroupResource. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupResource.
func (x *GroupResource) DeepCopy() *GroupResource { func (in *GroupResource) DeepCopy() *GroupResource {
if x == nil { if in == nil {
return nil return nil
} }
out := new(GroupResource) out := new(GroupResource)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -511,13 +513,13 @@ func (in *GroupVersion) DeepCopyInto(out *GroupVersion) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersion. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersion.
func (x *GroupVersion) DeepCopy() *GroupVersion { func (in *GroupVersion) DeepCopy() *GroupVersion {
if x == nil { if in == nil {
return nil return nil
} }
out := new(GroupVersion) out := new(GroupVersion)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -527,13 +529,13 @@ func (in *GroupVersionForDiscovery) DeepCopyInto(out *GroupVersionForDiscovery)
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionForDiscovery. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionForDiscovery.
func (x *GroupVersionForDiscovery) DeepCopy() *GroupVersionForDiscovery { func (in *GroupVersionForDiscovery) DeepCopy() *GroupVersionForDiscovery {
if x == nil { if in == nil {
return nil return nil
} }
out := new(GroupVersionForDiscovery) out := new(GroupVersionForDiscovery)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -543,13 +545,13 @@ func (in *GroupVersionKind) DeepCopyInto(out *GroupVersionKind) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionKind. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionKind.
func (x *GroupVersionKind) DeepCopy() *GroupVersionKind { func (in *GroupVersionKind) DeepCopy() *GroupVersionKind {
if x == nil { if in == nil {
return nil return nil
} }
out := new(GroupVersionKind) out := new(GroupVersionKind)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -559,13 +561,13 @@ func (in *GroupVersionResource) DeepCopyInto(out *GroupVersionResource) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionResource. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionResource.
func (x *GroupVersionResource) DeepCopy() *GroupVersionResource { func (in *GroupVersionResource) DeepCopy() *GroupVersionResource {
if x == nil { if in == nil {
return nil return nil
} }
out := new(GroupVersionResource) out := new(GroupVersionResource)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -575,13 +577,13 @@ func (in *Initializer) DeepCopyInto(out *Initializer) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Initializer. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Initializer.
func (x *Initializer) DeepCopy() *Initializer { func (in *Initializer) DeepCopy() *Initializer {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Initializer) out := new(Initializer)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -605,13 +607,13 @@ func (in *Initializers) DeepCopyInto(out *Initializers) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Initializers. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Initializers.
func (x *Initializers) DeepCopy() *Initializers { func (in *Initializers) DeepCopy() *Initializers {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Initializers) out := new(Initializers)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -626,13 +628,13 @@ func (in *InternalEvent) DeepCopyInto(out *InternalEvent) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InternalEvent. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalEvent.
func (x *InternalEvent) DeepCopy() *InternalEvent { func (in *InternalEvent) DeepCopy() *InternalEvent {
if x == nil { if in == nil {
return nil return nil
} }
out := new(InternalEvent) out := new(InternalEvent)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -656,13 +658,13 @@ func (in *LabelSelector) DeepCopyInto(out *LabelSelector) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LabelSelector. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelSelector.
func (x *LabelSelector) DeepCopy() *LabelSelector { func (in *LabelSelector) DeepCopy() *LabelSelector {
if x == nil { if in == nil {
return nil return nil
} }
out := new(LabelSelector) out := new(LabelSelector)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -677,13 +679,13 @@ func (in *LabelSelectorRequirement) DeepCopyInto(out *LabelSelectorRequirement)
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LabelSelectorRequirement. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelSelectorRequirement.
func (x *LabelSelectorRequirement) DeepCopy() *LabelSelectorRequirement { func (in *LabelSelectorRequirement) DeepCopy() *LabelSelectorRequirement {
if x == nil { if in == nil {
return nil return nil
} }
out := new(LabelSelectorRequirement) out := new(LabelSelectorRequirement)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -693,13 +695,13 @@ func (in *ListMeta) DeepCopyInto(out *ListMeta) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ListMeta. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListMeta.
func (x *ListMeta) DeepCopy() *ListMeta { func (in *ListMeta) DeepCopy() *ListMeta {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ListMeta) out := new(ListMeta)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -719,19 +721,19 @@ func (in *ListOptions) DeepCopyInto(out *ListOptions) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ListOptions. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListOptions.
func (x *ListOptions) DeepCopy() *ListOptions { func (in *ListOptions) DeepCopy() *ListOptions {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ListOptions) out := new(ListOptions)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ListOptions) DeepCopyObject() runtime.Object { func (in *ListOptions) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -804,13 +806,13 @@ func (in *ObjectMeta) DeepCopyInto(out *ObjectMeta) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMeta. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMeta.
func (x *ObjectMeta) DeepCopy() *ObjectMeta { func (in *ObjectMeta) DeepCopy() *ObjectMeta {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ObjectMeta) out := new(ObjectMeta)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -838,13 +840,13 @@ func (in *OwnerReference) DeepCopyInto(out *OwnerReference) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new OwnerReference. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OwnerReference.
func (x *OwnerReference) DeepCopy() *OwnerReference { func (in *OwnerReference) DeepCopy() *OwnerReference {
if x == nil { if in == nil {
return nil return nil
} }
out := new(OwnerReference) out := new(OwnerReference)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -854,13 +856,13 @@ func (in *Patch) DeepCopyInto(out *Patch) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Patch. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Patch.
func (x *Patch) DeepCopy() *Patch { func (in *Patch) DeepCopy() *Patch {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Patch) out := new(Patch)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -879,13 +881,13 @@ func (in *Preconditions) DeepCopyInto(out *Preconditions) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Preconditions. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Preconditions.
func (x *Preconditions) DeepCopy() *Preconditions { func (in *Preconditions) DeepCopy() *Preconditions {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Preconditions) out := new(Preconditions)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -900,13 +902,13 @@ func (in *RootPaths) DeepCopyInto(out *RootPaths) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RootPaths. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RootPaths.
func (x *RootPaths) DeepCopy() *RootPaths { func (in *RootPaths) DeepCopy() *RootPaths {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RootPaths) out := new(RootPaths)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -916,13 +918,13 @@ func (in *ServerAddressByClientCIDR) DeepCopyInto(out *ServerAddressByClientCIDR
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServerAddressByClientCIDR. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerAddressByClientCIDR.
func (x *ServerAddressByClientCIDR) DeepCopy() *ServerAddressByClientCIDR { func (in *ServerAddressByClientCIDR) DeepCopy() *ServerAddressByClientCIDR {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ServerAddressByClientCIDR) out := new(ServerAddressByClientCIDR)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -943,19 +945,19 @@ func (in *Status) DeepCopyInto(out *Status) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Status. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status.
func (x *Status) DeepCopy() *Status { func (in *Status) DeepCopy() *Status {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Status) out := new(Status)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Status) DeepCopyObject() runtime.Object { func (in *Status) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -968,13 +970,13 @@ func (in *StatusCause) DeepCopyInto(out *StatusCause) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatusCause. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusCause.
func (x *StatusCause) DeepCopy() *StatusCause { func (in *StatusCause) DeepCopy() *StatusCause {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StatusCause) out := new(StatusCause)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -989,23 +991,23 @@ func (in *StatusDetails) DeepCopyInto(out *StatusDetails) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatusDetails. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusDetails.
func (x *StatusDetails) DeepCopy() *StatusDetails { func (in *StatusDetails) DeepCopy() *StatusDetails {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StatusDetails) out := new(StatusDetails)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Time. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Time.
func (x *Time) DeepCopy() *Time { func (in *Time) DeepCopy() *Time {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Time) out := new(Time)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -1015,13 +1017,13 @@ func (in *Timestamp) DeepCopyInto(out *Timestamp) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Timestamp. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Timestamp.
func (x *Timestamp) DeepCopy() *Timestamp { func (in *Timestamp) DeepCopy() *Timestamp {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Timestamp) out := new(Timestamp)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -1032,19 +1034,19 @@ func (in *WatchEvent) DeepCopyInto(out *WatchEvent) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new WatchEvent. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatchEvent.
func (x *WatchEvent) DeepCopy() *WatchEvent { func (in *WatchEvent) DeepCopy() *WatchEvent {
if x == nil { if in == nil {
return nil return nil
} }
out := new(WatchEvent) out := new(WatchEvent)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *WatchEvent) DeepCopyObject() runtime.Object { func (in *WatchEvent) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil

View File

@ -26,7 +26,9 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. // GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc { func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{ return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -68,19 +70,19 @@ func (in *PartialObjectMetadata) DeepCopyInto(out *PartialObjectMetadata) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PartialObjectMetadata. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartialObjectMetadata.
func (x *PartialObjectMetadata) DeepCopy() *PartialObjectMetadata { func (in *PartialObjectMetadata) DeepCopy() *PartialObjectMetadata {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PartialObjectMetadata) out := new(PartialObjectMetadata)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PartialObjectMetadata) DeepCopyObject() runtime.Object { func (in *PartialObjectMetadata) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -106,19 +108,19 @@ func (in *PartialObjectMetadataList) DeepCopyInto(out *PartialObjectMetadataList
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PartialObjectMetadataList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartialObjectMetadataList.
func (x *PartialObjectMetadataList) DeepCopy() *PartialObjectMetadataList { func (in *PartialObjectMetadataList) DeepCopy() *PartialObjectMetadataList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PartialObjectMetadataList) out := new(PartialObjectMetadataList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PartialObjectMetadataList) DeepCopyObject() runtime.Object { func (in *PartialObjectMetadataList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -145,19 +147,19 @@ func (in *Table) DeepCopyInto(out *Table) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Table. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Table.
func (x *Table) DeepCopy() *Table { func (in *Table) DeepCopy() *Table {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Table) out := new(Table)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Table) DeepCopyObject() runtime.Object { func (in *Table) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -170,13 +172,13 @@ func (in *TableColumnDefinition) DeepCopyInto(out *TableColumnDefinition) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TableColumnDefinition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableColumnDefinition.
func (x *TableColumnDefinition) DeepCopy() *TableColumnDefinition { func (in *TableColumnDefinition) DeepCopy() *TableColumnDefinition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TableColumnDefinition) out := new(TableColumnDefinition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -187,19 +189,19 @@ func (in *TableOptions) DeepCopyInto(out *TableOptions) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TableOptions. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableOptions.
func (x *TableOptions) DeepCopy() *TableOptions { func (in *TableOptions) DeepCopy() *TableOptions {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TableOptions) out := new(TableOptions)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *TableOptions) DeepCopyObject() runtime.Object { func (in *TableOptions) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -219,12 +221,12 @@ func (in *TableRowCondition) DeepCopyInto(out *TableRowCondition) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TableRowCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableRowCondition.
func (x *TableRowCondition) DeepCopy() *TableRowCondition { func (in *TableRowCondition) DeepCopy() *TableRowCondition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TableRowCondition) out := new(TableRowCondition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -27,13 +27,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -69,19 +70,19 @@ func (in *Carp) DeepCopyInto(out *Carp) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Carp. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Carp.
func (x *Carp) DeepCopy() *Carp { func (in *Carp) DeepCopy() *Carp {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Carp) out := new(Carp)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Carp) DeepCopyObject() runtime.Object { func (in *Carp) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -96,13 +97,13 @@ func (in *CarpCondition) DeepCopyInto(out *CarpCondition) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CarpCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CarpCondition.
func (x *CarpCondition) DeepCopy() *CarpCondition { func (in *CarpCondition) DeepCopy() *CarpCondition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CarpCondition) out := new(CarpCondition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -121,19 +122,19 @@ func (in *CarpList) DeepCopyInto(out *CarpList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CarpList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CarpList.
func (x *CarpList) DeepCopy() *CarpList { func (in *CarpList) DeepCopy() *CarpList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CarpList) out := new(CarpList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *CarpList) DeepCopyObject() runtime.Object { func (in *CarpList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -171,13 +172,13 @@ func (in *CarpSpec) DeepCopyInto(out *CarpSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CarpSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CarpSpec.
func (x *CarpSpec) DeepCopy() *CarpSpec { func (in *CarpSpec) DeepCopy() *CarpSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CarpSpec) out := new(CarpSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -203,12 +204,12 @@ func (in *CarpStatus) DeepCopyInto(out *CarpStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CarpStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CarpStatus.
func (x *CarpStatus) DeepCopy() *CarpStatus { func (in *CarpStatus) DeepCopy() *CarpStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CarpStatus) out := new(CarpStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -27,13 +27,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -69,19 +70,19 @@ func (in *Carp) DeepCopyInto(out *Carp) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Carp. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Carp.
func (x *Carp) DeepCopy() *Carp { func (in *Carp) DeepCopy() *Carp {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Carp) out := new(Carp)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Carp) DeepCopyObject() runtime.Object { func (in *Carp) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -96,13 +97,13 @@ func (in *CarpCondition) DeepCopyInto(out *CarpCondition) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CarpCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CarpCondition.
func (x *CarpCondition) DeepCopy() *CarpCondition { func (in *CarpCondition) DeepCopy() *CarpCondition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CarpCondition) out := new(CarpCondition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -121,19 +122,19 @@ func (in *CarpList) DeepCopyInto(out *CarpList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CarpList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CarpList.
func (x *CarpList) DeepCopy() *CarpList { func (in *CarpList) DeepCopy() *CarpList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CarpList) out := new(CarpList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *CarpList) DeepCopyObject() runtime.Object { func (in *CarpList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -171,13 +172,13 @@ func (in *CarpSpec) DeepCopyInto(out *CarpSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CarpSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CarpSpec.
func (x *CarpSpec) DeepCopy() *CarpSpec { func (in *CarpSpec) DeepCopy() *CarpSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CarpSpec) out := new(CarpSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -203,12 +204,12 @@ func (in *CarpStatus) DeepCopyInto(out *CarpStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CarpStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CarpStatus.
func (x *CarpStatus) DeepCopy() *CarpStatus { func (in *CarpStatus) DeepCopy() *CarpStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CarpStatus) out := new(CarpStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -25,7 +25,9 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. // GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc { func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{ return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -46,12 +48,12 @@ func (in *Requirement) DeepCopyInto(out *Requirement) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Requirement. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Requirement.
func (x *Requirement) DeepCopy() *Requirement { func (in *Requirement) DeepCopy() *Requirement {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Requirement) out := new(Requirement)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,7 +26,9 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. // GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc { func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{ return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -60,19 +62,19 @@ func (in *ExternalInternalSame) DeepCopyInto(out *ExternalInternalSame) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalInternalSame. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalInternalSame.
func (x *ExternalInternalSame) DeepCopy() *ExternalInternalSame { func (in *ExternalInternalSame) DeepCopy() *ExternalInternalSame {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalInternalSame) out := new(ExternalInternalSame)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalInternalSame) DeepCopyObject() runtime.Object { func (in *ExternalInternalSame) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -114,19 +116,19 @@ func (in *ExternalTestType1) DeepCopyInto(out *ExternalTestType1) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalTestType1. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalTestType1.
func (x *ExternalTestType1) DeepCopy() *ExternalTestType1 { func (in *ExternalTestType1) DeepCopy() *ExternalTestType1 {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalTestType1) out := new(ExternalTestType1)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalTestType1) DeepCopyObject() runtime.Object { func (in *ExternalTestType1) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -139,19 +141,19 @@ func (in *ExternalTestType2) DeepCopyInto(out *ExternalTestType2) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalTestType2. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalTestType2.
func (x *ExternalTestType2) DeepCopy() *ExternalTestType2 { func (in *ExternalTestType2) DeepCopy() *ExternalTestType2 {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalTestType2) out := new(ExternalTestType2)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalTestType2) DeepCopyObject() runtime.Object { func (in *ExternalTestType2) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -193,19 +195,19 @@ func (in *TestType1) DeepCopyInto(out *TestType1) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestType1. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestType1.
func (x *TestType1) DeepCopy() *TestType1 { func (in *TestType1) DeepCopy() *TestType1 {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TestType1) out := new(TestType1)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *TestType1) DeepCopyObject() runtime.Object { func (in *TestType1) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -218,19 +220,19 @@ func (in *TestType2) DeepCopyInto(out *TestType2) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestType2. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestType2.
func (x *TestType2) DeepCopy() *TestType2 { func (in *TestType2) DeepCopy() *TestType2 {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TestType2) out := new(TestType2)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *TestType2) DeepCopyObject() runtime.Object { func (in *TestType2) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil

View File

@ -26,7 +26,9 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. // GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc { func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{ return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -133,19 +135,19 @@ func (in *EmbeddedTest) DeepCopyInto(out *EmbeddedTest) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EmbeddedTest. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmbeddedTest.
func (x *EmbeddedTest) DeepCopy() *EmbeddedTest { func (in *EmbeddedTest) DeepCopy() *EmbeddedTest {
if x == nil { if in == nil {
return nil return nil
} }
out := new(EmbeddedTest) out := new(EmbeddedTest)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *EmbeddedTest) DeepCopyObject() runtime.Object { func (in *EmbeddedTest) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -161,19 +163,19 @@ func (in *EmbeddedTestExternal) DeepCopyInto(out *EmbeddedTestExternal) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EmbeddedTestExternal. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmbeddedTestExternal.
func (x *EmbeddedTestExternal) DeepCopy() *EmbeddedTestExternal { func (in *EmbeddedTestExternal) DeepCopy() *EmbeddedTestExternal {
if x == nil { if in == nil {
return nil return nil
} }
out := new(EmbeddedTestExternal) out := new(EmbeddedTestExternal)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *EmbeddedTestExternal) DeepCopyObject() runtime.Object { func (in *EmbeddedTestExternal) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -187,19 +189,19 @@ func (in *ExtensionA) DeepCopyInto(out *ExtensionA) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionA. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionA.
func (x *ExtensionA) DeepCopy() *ExtensionA { func (in *ExtensionA) DeepCopy() *ExtensionA {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExtensionA) out := new(ExtensionA)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExtensionA) DeepCopyObject() runtime.Object { func (in *ExtensionA) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -213,19 +215,19 @@ func (in *ExtensionB) DeepCopyInto(out *ExtensionB) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionB. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionB.
func (x *ExtensionB) DeepCopy() *ExtensionB { func (in *ExtensionB) DeepCopy() *ExtensionB {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExtensionB) out := new(ExtensionB)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExtensionB) DeepCopyObject() runtime.Object { func (in *ExtensionB) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -239,19 +241,19 @@ func (in *ExternalComplex) DeepCopyInto(out *ExternalComplex) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalComplex. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalComplex.
func (x *ExternalComplex) DeepCopy() *ExternalComplex { func (in *ExternalComplex) DeepCopy() *ExternalComplex {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalComplex) out := new(ExternalComplex)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalComplex) DeepCopyObject() runtime.Object { func (in *ExternalComplex) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -266,19 +268,19 @@ func (in *ExternalExtensionType) DeepCopyInto(out *ExternalExtensionType) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalExtensionType. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalExtensionType.
func (x *ExternalExtensionType) DeepCopy() *ExternalExtensionType { func (in *ExternalExtensionType) DeepCopy() *ExternalExtensionType {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalExtensionType) out := new(ExternalExtensionType)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalExtensionType) DeepCopyObject() runtime.Object { func (in *ExternalExtensionType) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -293,19 +295,19 @@ func (in *ExternalInternalSame) DeepCopyInto(out *ExternalInternalSame) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalInternalSame. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalInternalSame.
func (x *ExternalInternalSame) DeepCopy() *ExternalInternalSame { func (in *ExternalInternalSame) DeepCopy() *ExternalInternalSame {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalInternalSame) out := new(ExternalInternalSame)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalInternalSame) DeepCopyObject() runtime.Object { func (in *ExternalInternalSame) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -320,19 +322,19 @@ func (in *ExternalOptionalExtensionType) DeepCopyInto(out *ExternalOptionalExten
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalOptionalExtensionType. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalOptionalExtensionType.
func (x *ExternalOptionalExtensionType) DeepCopy() *ExternalOptionalExtensionType { func (in *ExternalOptionalExtensionType) DeepCopy() *ExternalOptionalExtensionType {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalOptionalExtensionType) out := new(ExternalOptionalExtensionType)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalOptionalExtensionType) DeepCopyObject() runtime.Object { func (in *ExternalOptionalExtensionType) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -346,19 +348,19 @@ func (in *ExternalSimple) DeepCopyInto(out *ExternalSimple) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalSimple. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalSimple.
func (x *ExternalSimple) DeepCopy() *ExternalSimple { func (in *ExternalSimple) DeepCopy() *ExternalSimple {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalSimple) out := new(ExternalSimple)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalSimple) DeepCopyObject() runtime.Object { func (in *ExternalSimple) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -400,19 +402,19 @@ func (in *ExternalTestType1) DeepCopyInto(out *ExternalTestType1) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalTestType1. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalTestType1.
func (x *ExternalTestType1) DeepCopy() *ExternalTestType1 { func (in *ExternalTestType1) DeepCopy() *ExternalTestType1 {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalTestType1) out := new(ExternalTestType1)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalTestType1) DeepCopyObject() runtime.Object { func (in *ExternalTestType1) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -425,19 +427,19 @@ func (in *ExternalTestType2) DeepCopyInto(out *ExternalTestType2) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalTestType2. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalTestType2.
func (x *ExternalTestType2) DeepCopy() *ExternalTestType2 { func (in *ExternalTestType2) DeepCopy() *ExternalTestType2 {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalTestType2) out := new(ExternalTestType2)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalTestType2) DeepCopyObject() runtime.Object { func (in *ExternalTestType2) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -451,19 +453,19 @@ func (in *InternalComplex) DeepCopyInto(out *InternalComplex) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InternalComplex. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalComplex.
func (x *InternalComplex) DeepCopy() *InternalComplex { func (in *InternalComplex) DeepCopy() *InternalComplex {
if x == nil { if in == nil {
return nil return nil
} }
out := new(InternalComplex) out := new(InternalComplex)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *InternalComplex) DeepCopyObject() runtime.Object { func (in *InternalComplex) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -482,19 +484,19 @@ func (in *InternalExtensionType) DeepCopyInto(out *InternalExtensionType) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InternalExtensionType. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalExtensionType.
func (x *InternalExtensionType) DeepCopy() *InternalExtensionType { func (in *InternalExtensionType) DeepCopy() *InternalExtensionType {
if x == nil { if in == nil {
return nil return nil
} }
out := new(InternalExtensionType) out := new(InternalExtensionType)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *InternalExtensionType) DeepCopyObject() runtime.Object { func (in *InternalExtensionType) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -513,19 +515,19 @@ func (in *InternalOptionalExtensionType) DeepCopyInto(out *InternalOptionalExten
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InternalOptionalExtensionType. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalOptionalExtensionType.
func (x *InternalOptionalExtensionType) DeepCopy() *InternalOptionalExtensionType { func (in *InternalOptionalExtensionType) DeepCopy() *InternalOptionalExtensionType {
if x == nil { if in == nil {
return nil return nil
} }
out := new(InternalOptionalExtensionType) out := new(InternalOptionalExtensionType)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *InternalOptionalExtensionType) DeepCopyObject() runtime.Object { func (in *InternalOptionalExtensionType) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -539,19 +541,19 @@ func (in *InternalSimple) DeepCopyInto(out *InternalSimple) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InternalSimple. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalSimple.
func (x *InternalSimple) DeepCopy() *InternalSimple { func (in *InternalSimple) DeepCopy() *InternalSimple {
if x == nil { if in == nil {
return nil return nil
} }
out := new(InternalSimple) out := new(InternalSimple)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *InternalSimple) DeepCopyObject() runtime.Object { func (in *InternalSimple) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -576,19 +578,19 @@ func (in *ObjectTest) DeepCopyInto(out *ObjectTest) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectTest. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectTest.
func (x *ObjectTest) DeepCopy() *ObjectTest { func (in *ObjectTest) DeepCopy() *ObjectTest {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ObjectTest) out := new(ObjectTest)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ObjectTest) DeepCopyObject() runtime.Object { func (in *ObjectTest) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -609,19 +611,19 @@ func (in *ObjectTestExternal) DeepCopyInto(out *ObjectTestExternal) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectTestExternal. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectTestExternal.
func (x *ObjectTestExternal) DeepCopy() *ObjectTestExternal { func (in *ObjectTestExternal) DeepCopy() *ObjectTestExternal {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ObjectTestExternal) out := new(ObjectTestExternal)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ObjectTestExternal) DeepCopyObject() runtime.Object { func (in *ObjectTestExternal) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -663,19 +665,19 @@ func (in *TestType1) DeepCopyInto(out *TestType1) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestType1. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestType1.
func (x *TestType1) DeepCopy() *TestType1 { func (in *TestType1) DeepCopy() *TestType1 {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TestType1) out := new(TestType1)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *TestType1) DeepCopyObject() runtime.Object { func (in *TestType1) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -688,19 +690,19 @@ func (in *TestType2) DeepCopyInto(out *TestType2) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestType2. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestType2.
func (x *TestType2) DeepCopy() *TestType2 { func (in *TestType2) DeepCopy() *TestType2 {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TestType2) out := new(TestType2)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *TestType2) DeepCopyObject() runtime.Object { func (in *TestType2) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -714,19 +716,19 @@ func (in *UnknownType) DeepCopyInto(out *UnknownType) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new UnknownType. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnknownType.
func (x *UnknownType) DeepCopy() *UnknownType { func (in *UnknownType) DeepCopy() *UnknownType {
if x == nil { if in == nil {
return nil return nil
} }
out := new(UnknownType) out := new(UnknownType)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *UnknownType) DeepCopyObject() runtime.Object { func (in *UnknownType) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -740,19 +742,19 @@ func (in *UnversionedType) DeepCopyInto(out *UnversionedType) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new UnversionedType. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnversionedType.
func (x *UnversionedType) DeepCopy() *UnversionedType { func (in *UnversionedType) DeepCopy() *UnversionedType {
if x == nil { if in == nil {
return nil return nil
} }
out := new(UnversionedType) out := new(UnversionedType)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *UnversionedType) DeepCopyObject() runtime.Object { func (in *UnversionedType) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil

View File

@ -25,7 +25,9 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. // GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc { func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{ return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -59,13 +61,13 @@ func (in *RawExtension) DeepCopyInto(out *RawExtension) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RawExtension. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RawExtension.
func (x *RawExtension) DeepCopy() *RawExtension { func (in *RawExtension) DeepCopy() *RawExtension {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RawExtension) out := new(RawExtension)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -81,19 +83,19 @@ func (in *Unknown) DeepCopyInto(out *Unknown) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Unknown. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Unknown.
func (x *Unknown) DeepCopy() *Unknown { func (in *Unknown) DeepCopy() *Unknown {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Unknown) out := new(Unknown)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new Object.
func (x *Unknown) DeepCopyObject() Object { func (in *Unknown) DeepCopyObject() Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -117,19 +119,19 @@ func (in *VersionedObjects) DeepCopyInto(out *VersionedObjects) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new VersionedObjects. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionedObjects.
func (x *VersionedObjects) DeepCopy() *VersionedObjects { func (in *VersionedObjects) DeepCopy() *VersionedObjects {
if x == nil { if in == nil {
return nil return nil
} }
out := new(VersionedObjects) out := new(VersionedObjects)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new Object.
func (x *VersionedObjects) DeepCopyObject() Object { func (in *VersionedObjects) DeepCopyObject() Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil

View File

@ -26,7 +26,9 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. // GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc { func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{ return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -59,19 +61,19 @@ func (in *List) DeepCopyInto(out *List) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new List. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new List.
func (x *List) DeepCopy() *List { func (in *List) DeepCopy() *List {
if x == nil { if in == nil {
return nil return nil
} }
out := new(List) out := new(List)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *List) DeepCopyObject() runtime.Object { func (in *List) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -93,19 +95,19 @@ func (in *ListV1) DeepCopyInto(out *ListV1) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ListV1. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListV1.
func (x *ListV1) DeepCopy() *ListV1 { func (in *ListV1) DeepCopy() *ListV1 {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ListV1) out := new(ListV1)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ListV1) DeepCopyObject() runtime.Object { func (in *ListV1) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil

View File

@ -25,7 +25,9 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. // GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc { func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{ return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -46,12 +48,12 @@ func (in *Event) DeepCopyInto(out *Event) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Event. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event.
func (x *Event) DeepCopy() *Event { func (in *Event) DeepCopy() *Event {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Event) out := new(Event)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -60,19 +61,19 @@ func (in *AdmissionConfiguration) DeepCopyInto(out *AdmissionConfiguration) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionConfiguration.
func (x *AdmissionConfiguration) DeepCopy() *AdmissionConfiguration { func (in *AdmissionConfiguration) DeepCopy() *AdmissionConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(AdmissionConfiguration) out := new(AdmissionConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *AdmissionConfiguration) DeepCopyObject() runtime.Object { func (in *AdmissionConfiguration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -86,12 +87,12 @@ func (in *AdmissionPluginConfiguration) DeepCopyInto(out *AdmissionPluginConfigu
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionPluginConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionPluginConfiguration.
func (x *AdmissionPluginConfiguration) DeepCopy() *AdmissionPluginConfiguration { func (in *AdmissionPluginConfiguration) DeepCopy() *AdmissionPluginConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(AdmissionPluginConfiguration) out := new(AdmissionPluginConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -60,19 +61,19 @@ func (in *AdmissionConfiguration) DeepCopyInto(out *AdmissionConfiguration) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionConfiguration.
func (x *AdmissionConfiguration) DeepCopy() *AdmissionConfiguration { func (in *AdmissionConfiguration) DeepCopy() *AdmissionConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(AdmissionConfiguration) out := new(AdmissionConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *AdmissionConfiguration) DeepCopyObject() runtime.Object { func (in *AdmissionConfiguration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -90,12 +91,12 @@ func (in *AdmissionPluginConfiguration) DeepCopyInto(out *AdmissionPluginConfigu
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionPluginConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionPluginConfiguration.
func (x *AdmissionPluginConfiguration) DeepCopy() *AdmissionPluginConfiguration { func (in *AdmissionPluginConfiguration) DeepCopy() *AdmissionPluginConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(AdmissionPluginConfiguration) out := new(AdmissionPluginConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -28,13 +28,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -128,19 +129,19 @@ func (in *Event) DeepCopyInto(out *Event) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Event. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event.
func (x *Event) DeepCopy() *Event { func (in *Event) DeepCopy() *Event {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Event) out := new(Event)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Event) DeepCopyObject() runtime.Object { func (in *Event) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -162,19 +163,19 @@ func (in *EventList) DeepCopyInto(out *EventList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EventList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventList.
func (x *EventList) DeepCopy() *EventList { func (in *EventList) DeepCopy() *EventList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(EventList) out := new(EventList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *EventList) DeepCopyObject() runtime.Object { func (in *EventList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -192,13 +193,13 @@ func (in *GroupResources) DeepCopyInto(out *GroupResources) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GroupResources. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupResources.
func (x *GroupResources) DeepCopy() *GroupResources { func (in *GroupResources) DeepCopy() *GroupResources {
if x == nil { if in == nil {
return nil return nil
} }
out := new(GroupResources) out := new(GroupResources)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -208,13 +209,13 @@ func (in *ObjectReference) DeepCopyInto(out *ObjectReference) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference.
func (x *ObjectReference) DeepCopy() *ObjectReference { func (in *ObjectReference) DeepCopy() *ObjectReference {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ObjectReference) out := new(ObjectReference)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -233,19 +234,19 @@ func (in *Policy) DeepCopyInto(out *Policy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Policy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
func (x *Policy) DeepCopy() *Policy { func (in *Policy) DeepCopy() *Policy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Policy) out := new(Policy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Policy) DeepCopyObject() runtime.Object { func (in *Policy) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -267,19 +268,19 @@ func (in *PolicyList) DeepCopyInto(out *PolicyList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PolicyList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyList.
func (x *PolicyList) DeepCopy() *PolicyList { func (in *PolicyList) DeepCopy() *PolicyList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PolicyList) out := new(PolicyList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PolicyList) DeepCopyObject() runtime.Object { func (in *PolicyList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -324,12 +325,12 @@ func (in *PolicyRule) DeepCopyInto(out *PolicyRule) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule.
func (x *PolicyRule) DeepCopy() *PolicyRule { func (in *PolicyRule) DeepCopy() *PolicyRule {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PolicyRule) out := new(PolicyRule)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -27,7 +27,9 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. // GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc { func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{ return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -125,19 +127,19 @@ func (in *Event) DeepCopyInto(out *Event) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Event. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event.
func (x *Event) DeepCopy() *Event { func (in *Event) DeepCopy() *Event {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Event) out := new(Event)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Event) DeepCopyObject() runtime.Object { func (in *Event) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -159,19 +161,19 @@ func (in *EventList) DeepCopyInto(out *EventList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EventList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventList.
func (x *EventList) DeepCopy() *EventList { func (in *EventList) DeepCopy() *EventList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(EventList) out := new(EventList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *EventList) DeepCopyObject() runtime.Object { func (in *EventList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -189,13 +191,13 @@ func (in *GroupResources) DeepCopyInto(out *GroupResources) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GroupResources. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupResources.
func (x *GroupResources) DeepCopy() *GroupResources { func (in *GroupResources) DeepCopy() *GroupResources {
if x == nil { if in == nil {
return nil return nil
} }
out := new(GroupResources) out := new(GroupResources)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -205,13 +207,13 @@ func (in *ObjectReference) DeepCopyInto(out *ObjectReference) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference.
func (x *ObjectReference) DeepCopy() *ObjectReference { func (in *ObjectReference) DeepCopy() *ObjectReference {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ObjectReference) out := new(ObjectReference)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -230,19 +232,19 @@ func (in *Policy) DeepCopyInto(out *Policy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Policy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
func (x *Policy) DeepCopy() *Policy { func (in *Policy) DeepCopy() *Policy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Policy) out := new(Policy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Policy) DeepCopyObject() runtime.Object { func (in *Policy) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -264,19 +266,19 @@ func (in *PolicyList) DeepCopyInto(out *PolicyList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PolicyList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyList.
func (x *PolicyList) DeepCopy() *PolicyList { func (in *PolicyList) DeepCopy() *PolicyList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PolicyList) out := new(PolicyList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PolicyList) DeepCopyObject() runtime.Object { func (in *PolicyList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -321,13 +323,13 @@ func (in *PolicyRule) DeepCopyInto(out *PolicyRule) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule.
func (x *PolicyRule) DeepCopy() *PolicyRule { func (in *PolicyRule) DeepCopy() *PolicyRule {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PolicyRule) out := new(PolicyRule)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -350,12 +352,12 @@ func (in *UserInfo) DeepCopyInto(out *UserInfo) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo.
func (x *UserInfo) DeepCopy() *UserInfo { func (in *UserInfo) DeepCopy() *UserInfo {
if x == nil { if in == nil {
return nil return nil
} }
out := new(UserInfo) out := new(UserInfo)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -27,13 +27,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -69,19 +70,19 @@ func (in *Pod) DeepCopyInto(out *Pod) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Pod. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pod.
func (x *Pod) DeepCopy() *Pod { func (in *Pod) DeepCopy() *Pod {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Pod) out := new(Pod)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Pod) DeepCopyObject() runtime.Object { func (in *Pod) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -96,13 +97,13 @@ func (in *PodCondition) DeepCopyInto(out *PodCondition) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCondition.
func (x *PodCondition) DeepCopy() *PodCondition { func (in *PodCondition) DeepCopy() *PodCondition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodCondition) out := new(PodCondition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -121,19 +122,19 @@ func (in *PodList) DeepCopyInto(out *PodList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodList.
func (x *PodList) DeepCopy() *PodList { func (in *PodList) DeepCopy() *PodList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodList) out := new(PodList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PodList) DeepCopyObject() runtime.Object { func (in *PodList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -171,13 +172,13 @@ func (in *PodSpec) DeepCopyInto(out *PodSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec.
func (x *PodSpec) DeepCopy() *PodSpec { func (in *PodSpec) DeepCopy() *PodSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodSpec) out := new(PodSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -203,12 +204,12 @@ func (in *PodStatus) DeepCopyInto(out *PodStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStatus.
func (x *PodStatus) DeepCopy() *PodStatus { func (in *PodStatus) DeepCopy() *PodStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodStatus) out := new(PodStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -27,13 +27,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -69,19 +70,19 @@ func (in *Pod) DeepCopyInto(out *Pod) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Pod. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pod.
func (x *Pod) DeepCopy() *Pod { func (in *Pod) DeepCopy() *Pod {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Pod) out := new(Pod)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Pod) DeepCopyObject() runtime.Object { func (in *Pod) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -96,13 +97,13 @@ func (in *PodCondition) DeepCopyInto(out *PodCondition) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCondition.
func (x *PodCondition) DeepCopy() *PodCondition { func (in *PodCondition) DeepCopy() *PodCondition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodCondition) out := new(PodCondition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -121,19 +122,19 @@ func (in *PodList) DeepCopyInto(out *PodList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodList.
func (x *PodList) DeepCopy() *PodList { func (in *PodList) DeepCopy() *PodList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodList) out := new(PodList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PodList) DeepCopyObject() runtime.Object { func (in *PodList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -171,13 +172,13 @@ func (in *PodSpec) DeepCopyInto(out *PodSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec.
func (x *PodSpec) DeepCopy() *PodSpec { func (in *PodSpec) DeepCopy() *PodSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodSpec) out := new(PodSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -203,12 +204,12 @@ func (in *PodStatus) DeepCopyInto(out *PodStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStatus.
func (x *PodStatus) DeepCopy() *PodStatus { func (in *PodStatus) DeepCopy() *PodStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodStatus) out := new(PodStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,7 +26,9 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. // GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc { func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{ return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -42,19 +44,19 @@ func (in *TestType) DeepCopyInto(out *TestType) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestType. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestType.
func (x *TestType) DeepCopy() *TestType { func (in *TestType) DeepCopy() *TestType {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TestType) out := new(TestType)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *TestType) DeepCopyObject() runtime.Object { func (in *TestType) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil

View File

@ -26,7 +26,9 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. // GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc { func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{ return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -67,19 +69,19 @@ func (in *Simple) DeepCopyInto(out *Simple) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Simple. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Simple.
func (x *Simple) DeepCopy() *Simple { func (in *Simple) DeepCopy() *Simple {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Simple) out := new(Simple)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Simple) DeepCopyObject() runtime.Object { func (in *Simple) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -93,19 +95,19 @@ func (in *SimpleGetOptions) DeepCopyInto(out *SimpleGetOptions) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SimpleGetOptions. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SimpleGetOptions.
func (x *SimpleGetOptions) DeepCopy() *SimpleGetOptions { func (in *SimpleGetOptions) DeepCopy() *SimpleGetOptions {
if x == nil { if in == nil {
return nil return nil
} }
out := new(SimpleGetOptions) out := new(SimpleGetOptions)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *SimpleGetOptions) DeepCopyObject() runtime.Object { func (in *SimpleGetOptions) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -127,19 +129,19 @@ func (in *SimpleList) DeepCopyInto(out *SimpleList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SimpleList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SimpleList.
func (x *SimpleList) DeepCopy() *SimpleList { func (in *SimpleList) DeepCopy() *SimpleList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(SimpleList) out := new(SimpleList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *SimpleList) DeepCopyObject() runtime.Object { func (in *SimpleList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -161,19 +163,19 @@ func (in *SimpleRoot) DeepCopyInto(out *SimpleRoot) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SimpleRoot. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SimpleRoot.
func (x *SimpleRoot) DeepCopy() *SimpleRoot { func (in *SimpleRoot) DeepCopy() *SimpleRoot {
if x == nil { if in == nil {
return nil return nil
} }
out := new(SimpleRoot) out := new(SimpleRoot)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *SimpleRoot) DeepCopyObject() runtime.Object { func (in *SimpleRoot) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -195,19 +197,19 @@ func (in *SimpleXGSubresource) DeepCopyInto(out *SimpleXGSubresource) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SimpleXGSubresource. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SimpleXGSubresource.
func (x *SimpleXGSubresource) DeepCopy() *SimpleXGSubresource { func (in *SimpleXGSubresource) DeepCopy() *SimpleXGSubresource {
if x == nil { if in == nil {
return nil return nil
} }
out := new(SimpleXGSubresource) out := new(SimpleXGSubresource)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *SimpleXGSubresource) DeepCopyObject() runtime.Object { func (in *SimpleXGSubresource) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil

View File

@ -26,7 +26,9 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. // GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc { func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{ return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -47,19 +49,19 @@ func (in *ConnectRequest) DeepCopyInto(out *ConnectRequest) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ConnectRequest. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectRequest.
func (x *ConnectRequest) DeepCopy() *ConnectRequest { func (in *ConnectRequest) DeepCopy() *ConnectRequest {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ConnectRequest) out := new(ConnectRequest)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ConnectRequest) DeepCopyObject() runtime.Object { func (in *ConnectRequest) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil

View File

@ -26,7 +26,9 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. // GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc { func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{ return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -44,19 +46,19 @@ func (in *TestResource) DeepCopyInto(out *TestResource) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestResource. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestResource.
func (x *TestResource) DeepCopy() *TestResource { func (in *TestResource) DeepCopy() *TestResource {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TestResource) out := new(TestResource)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *TestResource) DeepCopyObject() runtime.Object { func (in *TestResource) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil

View File

@ -25,7 +25,9 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. // GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc { func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{ return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -56,12 +58,12 @@ func (in *TLSClientConfig) DeepCopyInto(out *TLSClientConfig) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TLSClientConfig. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSClientConfig.
func (x *TLSClientConfig) DeepCopy() *TLSClientConfig { func (in *TLSClientConfig) DeepCopy() *TLSClientConfig {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TLSClientConfig) out := new(TLSClientConfig)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -127,13 +128,13 @@ func (in *AuthInfo) DeepCopyInto(out *AuthInfo) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AuthInfo. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthInfo.
func (x *AuthInfo) DeepCopy() *AuthInfo { func (in *AuthInfo) DeepCopy() *AuthInfo {
if x == nil { if in == nil {
return nil return nil
} }
out := new(AuthInfo) out := new(AuthInfo)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -150,13 +151,13 @@ func (in *AuthProviderConfig) DeepCopyInto(out *AuthProviderConfig) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AuthProviderConfig. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthProviderConfig.
func (x *AuthProviderConfig) DeepCopy() *AuthProviderConfig { func (in *AuthProviderConfig) DeepCopy() *AuthProviderConfig {
if x == nil { if in == nil {
return nil return nil
} }
out := new(AuthProviderConfig) out := new(AuthProviderConfig)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -178,13 +179,13 @@ func (in *Cluster) DeepCopyInto(out *Cluster) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Cluster. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (x *Cluster) DeepCopy() *Cluster { func (in *Cluster) DeepCopy() *Cluster {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Cluster) out := new(Cluster)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -223,19 +224,19 @@ func (in *Config) DeepCopyInto(out *Config) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Config. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (x *Config) DeepCopy() *Config { func (in *Config) DeepCopy() *Config {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Config) out := new(Config)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Config) DeepCopyObject() runtime.Object { func (in *Config) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -255,13 +256,13 @@ func (in *Context) DeepCopyInto(out *Context) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Context. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Context.
func (x *Context) DeepCopy() *Context { func (in *Context) DeepCopy() *Context {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Context) out := new(Context)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -272,13 +273,13 @@ func (in *NamedAuthInfo) DeepCopyInto(out *NamedAuthInfo) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NamedAuthInfo. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedAuthInfo.
func (x *NamedAuthInfo) DeepCopy() *NamedAuthInfo { func (in *NamedAuthInfo) DeepCopy() *NamedAuthInfo {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NamedAuthInfo) out := new(NamedAuthInfo)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -289,13 +290,13 @@ func (in *NamedCluster) DeepCopyInto(out *NamedCluster) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NamedCluster. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedCluster.
func (x *NamedCluster) DeepCopy() *NamedCluster { func (in *NamedCluster) DeepCopy() *NamedCluster {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NamedCluster) out := new(NamedCluster)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -306,13 +307,13 @@ func (in *NamedContext) DeepCopyInto(out *NamedContext) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NamedContext. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedContext.
func (x *NamedContext) DeepCopy() *NamedContext { func (in *NamedContext) DeepCopy() *NamedContext {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NamedContext) out := new(NamedContext)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -323,13 +324,13 @@ func (in *NamedExtension) DeepCopyInto(out *NamedExtension) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NamedExtension. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedExtension.
func (x *NamedExtension) DeepCopy() *NamedExtension { func (in *NamedExtension) DeepCopy() *NamedExtension {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NamedExtension) out := new(NamedExtension)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -346,12 +347,12 @@ func (in *Preferences) DeepCopyInto(out *Preferences) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Preferences. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Preferences.
func (x *Preferences) DeepCopy() *Preferences { func (in *Preferences) DeepCopy() *Preferences {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Preferences) out := new(Preferences)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -115,13 +116,13 @@ func (in *AuthInfo) DeepCopyInto(out *AuthInfo) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AuthInfo. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthInfo.
func (x *AuthInfo) DeepCopy() *AuthInfo { func (in *AuthInfo) DeepCopy() *AuthInfo {
if x == nil { if in == nil {
return nil return nil
} }
out := new(AuthInfo) out := new(AuthInfo)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -138,13 +139,13 @@ func (in *AuthProviderConfig) DeepCopyInto(out *AuthProviderConfig) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AuthProviderConfig. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthProviderConfig.
func (x *AuthProviderConfig) DeepCopy() *AuthProviderConfig { func (in *AuthProviderConfig) DeepCopy() *AuthProviderConfig {
if x == nil { if in == nil {
return nil return nil
} }
out := new(AuthProviderConfig) out := new(AuthProviderConfig)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -170,13 +171,13 @@ func (in *Cluster) DeepCopyInto(out *Cluster) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Cluster. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (x *Cluster) DeepCopy() *Cluster { func (in *Cluster) DeepCopy() *Cluster {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Cluster) out := new(Cluster)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -234,19 +235,19 @@ func (in *Config) DeepCopyInto(out *Config) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Config. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (x *Config) DeepCopy() *Config { func (in *Config) DeepCopy() *Config {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Config) out := new(Config)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Config) DeepCopyObject() runtime.Object { func (in *Config) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -270,13 +271,13 @@ func (in *Context) DeepCopyInto(out *Context) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Context. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Context.
func (x *Context) DeepCopy() *Context { func (in *Context) DeepCopy() *Context {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Context) out := new(Context)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -297,12 +298,12 @@ func (in *Preferences) DeepCopyInto(out *Preferences) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Preferences. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Preferences.
func (x *Preferences) DeepCopy() *Preferences { func (in *Preferences) DeepCopy() *Preferences {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Preferences) out := new(Preferences)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -72,19 +73,19 @@ func (in *APIService) DeepCopyInto(out *APIService) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIService. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIService.
func (x *APIService) DeepCopy() *APIService { func (in *APIService) DeepCopy() *APIService {
if x == nil { if in == nil {
return nil return nil
} }
out := new(APIService) out := new(APIService)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *APIService) DeepCopyObject() runtime.Object { func (in *APIService) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -98,13 +99,13 @@ func (in *APIServiceCondition) DeepCopyInto(out *APIServiceCondition) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceCondition.
func (x *APIServiceCondition) DeepCopy() *APIServiceCondition { func (in *APIServiceCondition) DeepCopy() *APIServiceCondition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(APIServiceCondition) out := new(APIServiceCondition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -123,19 +124,19 @@ func (in *APIServiceList) DeepCopyInto(out *APIServiceList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceList.
func (x *APIServiceList) DeepCopy() *APIServiceList { func (in *APIServiceList) DeepCopy() *APIServiceList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(APIServiceList) out := new(APIServiceList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *APIServiceList) DeepCopyObject() runtime.Object { func (in *APIServiceList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -162,13 +163,13 @@ func (in *APIServiceSpec) DeepCopyInto(out *APIServiceSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceSpec.
func (x *APIServiceSpec) DeepCopy() *APIServiceSpec { func (in *APIServiceSpec) DeepCopy() *APIServiceSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(APIServiceSpec) out := new(APIServiceSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -185,13 +186,13 @@ func (in *APIServiceStatus) DeepCopyInto(out *APIServiceStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceStatus.
func (x *APIServiceStatus) DeepCopy() *APIServiceStatus { func (in *APIServiceStatus) DeepCopy() *APIServiceStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(APIServiceStatus) out := new(APIServiceStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -201,12 +202,12 @@ func (in *ServiceReference) DeepCopyInto(out *ServiceReference) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.
func (x *ServiceReference) DeepCopy() *ServiceReference { func (in *ServiceReference) DeepCopy() *ServiceReference {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ServiceReference) out := new(ServiceReference)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -72,19 +73,19 @@ func (in *APIService) DeepCopyInto(out *APIService) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIService. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIService.
func (x *APIService) DeepCopy() *APIService { func (in *APIService) DeepCopy() *APIService {
if x == nil { if in == nil {
return nil return nil
} }
out := new(APIService) out := new(APIService)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *APIService) DeepCopyObject() runtime.Object { func (in *APIService) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -98,13 +99,13 @@ func (in *APIServiceCondition) DeepCopyInto(out *APIServiceCondition) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceCondition.
func (x *APIServiceCondition) DeepCopy() *APIServiceCondition { func (in *APIServiceCondition) DeepCopy() *APIServiceCondition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(APIServiceCondition) out := new(APIServiceCondition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -123,19 +124,19 @@ func (in *APIServiceList) DeepCopyInto(out *APIServiceList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceList.
func (x *APIServiceList) DeepCopy() *APIServiceList { func (in *APIServiceList) DeepCopy() *APIServiceList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(APIServiceList) out := new(APIServiceList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *APIServiceList) DeepCopyObject() runtime.Object { func (in *APIServiceList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -162,13 +163,13 @@ func (in *APIServiceSpec) DeepCopyInto(out *APIServiceSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceSpec.
func (x *APIServiceSpec) DeepCopy() *APIServiceSpec { func (in *APIServiceSpec) DeepCopy() *APIServiceSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(APIServiceSpec) out := new(APIServiceSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -185,13 +186,13 @@ func (in *APIServiceStatus) DeepCopyInto(out *APIServiceStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceStatus.
func (x *APIServiceStatus) DeepCopy() *APIServiceStatus { func (in *APIServiceStatus) DeepCopy() *APIServiceStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(APIServiceStatus) out := new(APIServiceStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -201,12 +202,12 @@ func (in *ServiceReference) DeepCopyInto(out *ServiceReference) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.
func (x *ServiceReference) DeepCopy() *ServiceReference { func (in *ServiceReference) DeepCopy() *ServiceReference {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ServiceReference) out := new(ServiceReference)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -59,19 +60,19 @@ func (in *TestType) DeepCopyInto(out *TestType) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestType. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestType.
func (x *TestType) DeepCopy() *TestType { func (in *TestType) DeepCopy() *TestType {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TestType) out := new(TestType)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *TestType) DeepCopyObject() runtime.Object { func (in *TestType) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -93,19 +94,19 @@ func (in *TestTypeList) DeepCopyInto(out *TestTypeList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestTypeList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestTypeList.
func (x *TestTypeList) DeepCopy() *TestTypeList { func (in *TestTypeList) DeepCopy() *TestTypeList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TestTypeList) out := new(TestTypeList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *TestTypeList) DeepCopyObject() runtime.Object { func (in *TestTypeList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -118,12 +119,12 @@ func (in *TestTypeStatus) DeepCopyInto(out *TestTypeStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestTypeStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestTypeStatus.
func (x *TestTypeStatus) DeepCopy() *TestTypeStatus { func (in *TestTypeStatus) DeepCopy() *TestTypeStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TestTypeStatus) out := new(TestTypeStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -59,19 +60,19 @@ func (in *TestType) DeepCopyInto(out *TestType) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestType. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestType.
func (x *TestType) DeepCopy() *TestType { func (in *TestType) DeepCopy() *TestType {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TestType) out := new(TestType)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *TestType) DeepCopyObject() runtime.Object { func (in *TestType) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -93,19 +94,19 @@ func (in *TestTypeList) DeepCopyInto(out *TestTypeList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestTypeList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestTypeList.
func (x *TestTypeList) DeepCopy() *TestTypeList { func (in *TestTypeList) DeepCopy() *TestTypeList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TestTypeList) out := new(TestTypeList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *TestTypeList) DeepCopyObject() runtime.Object { func (in *TestTypeList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -118,12 +119,12 @@ func (in *TestTypeStatus) DeepCopyInto(out *TestTypeStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestTypeStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestTypeStatus.
func (x *TestTypeStatus) DeepCopy() *TestTypeStatus { func (in *TestTypeStatus) DeepCopy() *TestTypeStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TestTypeStatus) out := new(TestTypeStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -65,19 +66,19 @@ func (in *MetricValue) DeepCopyInto(out *MetricValue) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetricValue. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricValue.
func (x *MetricValue) DeepCopy() *MetricValue { func (in *MetricValue) DeepCopy() *MetricValue {
if x == nil { if in == nil {
return nil return nil
} }
out := new(MetricValue) out := new(MetricValue)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *MetricValue) DeepCopyObject() runtime.Object { func (in *MetricValue) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -99,19 +100,19 @@ func (in *MetricValueList) DeepCopyInto(out *MetricValueList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetricValueList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricValueList.
func (x *MetricValueList) DeepCopy() *MetricValueList { func (in *MetricValueList) DeepCopy() *MetricValueList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(MetricValueList) out := new(MetricValueList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *MetricValueList) DeepCopyObject() runtime.Object { func (in *MetricValueList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -69,19 +70,19 @@ func (in *MetricValue) DeepCopyInto(out *MetricValue) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetricValue. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricValue.
func (x *MetricValue) DeepCopy() *MetricValue { func (in *MetricValue) DeepCopy() *MetricValue {
if x == nil { if in == nil {
return nil return nil
} }
out := new(MetricValue) out := new(MetricValue)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *MetricValue) DeepCopyObject() runtime.Object { func (in *MetricValue) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -103,19 +104,19 @@ func (in *MetricValueList) DeepCopyInto(out *MetricValueList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetricValueList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricValueList.
func (x *MetricValueList) DeepCopy() *MetricValueList { func (in *MetricValueList) DeepCopy() *MetricValueList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(MetricValueList) out := new(MetricValueList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *MetricValueList) DeepCopyObject() runtime.Object { func (in *MetricValueList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -128,12 +129,12 @@ func (in *ObjectReference) DeepCopyInto(out *ObjectReference) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference.
func (x *ObjectReference) DeepCopy() *ObjectReference { func (in *ObjectReference) DeepCopy() *ObjectReference {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ObjectReference) out := new(ObjectReference)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -27,13 +27,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -72,13 +73,13 @@ func (in *ContainerMetrics) DeepCopyInto(out *ContainerMetrics) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ContainerMetrics. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerMetrics.
func (x *ContainerMetrics) DeepCopy() *ContainerMetrics { func (in *ContainerMetrics) DeepCopy() *ContainerMetrics {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ContainerMetrics) out := new(ContainerMetrics)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -99,19 +100,19 @@ func (in *NodeMetrics) DeepCopyInto(out *NodeMetrics) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeMetrics. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeMetrics.
func (x *NodeMetrics) DeepCopy() *NodeMetrics { func (in *NodeMetrics) DeepCopy() *NodeMetrics {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NodeMetrics) out := new(NodeMetrics)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *NodeMetrics) DeepCopyObject() runtime.Object { func (in *NodeMetrics) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -133,19 +134,19 @@ func (in *NodeMetricsList) DeepCopyInto(out *NodeMetricsList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeMetricsList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeMetricsList.
func (x *NodeMetricsList) DeepCopy() *NodeMetricsList { func (in *NodeMetricsList) DeepCopy() *NodeMetricsList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NodeMetricsList) out := new(NodeMetricsList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *NodeMetricsList) DeepCopyObject() runtime.Object { func (in *NodeMetricsList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -169,19 +170,19 @@ func (in *PodMetrics) DeepCopyInto(out *PodMetrics) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodMetrics. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodMetrics.
func (x *PodMetrics) DeepCopy() *PodMetrics { func (in *PodMetrics) DeepCopy() *PodMetrics {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodMetrics) out := new(PodMetrics)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PodMetrics) DeepCopyObject() runtime.Object { func (in *PodMetrics) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -203,19 +204,19 @@ func (in *PodMetricsList) DeepCopyInto(out *PodMetricsList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodMetricsList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodMetricsList.
func (x *PodMetricsList) DeepCopy() *PodMetricsList { func (in *PodMetricsList) DeepCopy() *PodMetricsList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodMetricsList) out := new(PodMetricsList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PodMetricsList) DeepCopyObject() runtime.Object { func (in *PodMetricsList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -71,13 +72,13 @@ func (in *ContainerMetrics) DeepCopyInto(out *ContainerMetrics) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ContainerMetrics. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerMetrics.
func (x *ContainerMetrics) DeepCopy() *ContainerMetrics { func (in *ContainerMetrics) DeepCopy() *ContainerMetrics {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ContainerMetrics) out := new(ContainerMetrics)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -98,19 +99,19 @@ func (in *NodeMetrics) DeepCopyInto(out *NodeMetrics) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeMetrics. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeMetrics.
func (x *NodeMetrics) DeepCopy() *NodeMetrics { func (in *NodeMetrics) DeepCopy() *NodeMetrics {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NodeMetrics) out := new(NodeMetrics)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *NodeMetrics) DeepCopyObject() runtime.Object { func (in *NodeMetrics) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -132,19 +133,19 @@ func (in *NodeMetricsList) DeepCopyInto(out *NodeMetricsList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeMetricsList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeMetricsList.
func (x *NodeMetricsList) DeepCopy() *NodeMetricsList { func (in *NodeMetricsList) DeepCopy() *NodeMetricsList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NodeMetricsList) out := new(NodeMetricsList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *NodeMetricsList) DeepCopyObject() runtime.Object { func (in *NodeMetricsList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -168,19 +169,19 @@ func (in *PodMetrics) DeepCopyInto(out *PodMetrics) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodMetrics. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodMetrics.
func (x *PodMetrics) DeepCopy() *PodMetrics { func (in *PodMetrics) DeepCopy() *PodMetrics {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodMetrics) out := new(PodMetrics)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PodMetrics) DeepCopyObject() runtime.Object { func (in *PodMetrics) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -202,19 +203,19 @@ func (in *PodMetricsList) DeepCopyInto(out *PodMetricsList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodMetricsList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodMetricsList.
func (x *PodMetricsList) DeepCopy() *PodMetricsList { func (in *PodMetricsList) DeepCopy() *PodMetricsList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodMetricsList) out := new(PodMetricsList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PodMetricsList) DeepCopyObject() runtime.Object { func (in *PodMetricsList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -75,19 +76,19 @@ func (in *Fischer) DeepCopyInto(out *Fischer) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Fischer. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fischer.
func (x *Fischer) DeepCopy() *Fischer { func (in *Fischer) DeepCopy() *Fischer {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Fischer) out := new(Fischer)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Fischer) DeepCopyObject() runtime.Object { func (in *Fischer) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -109,19 +110,19 @@ func (in *FischerList) DeepCopyInto(out *FischerList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FischerList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FischerList.
func (x *FischerList) DeepCopy() *FischerList { func (in *FischerList) DeepCopy() *FischerList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(FischerList) out := new(FischerList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *FischerList) DeepCopyObject() runtime.Object { func (in *FischerList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -138,19 +139,19 @@ func (in *Flunder) DeepCopyInto(out *Flunder) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Flunder. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Flunder.
func (x *Flunder) DeepCopy() *Flunder { func (in *Flunder) DeepCopy() *Flunder {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Flunder) out := new(Flunder)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Flunder) DeepCopyObject() runtime.Object { func (in *Flunder) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -172,19 +173,19 @@ func (in *FlunderList) DeepCopyInto(out *FlunderList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FlunderList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlunderList.
func (x *FlunderList) DeepCopy() *FlunderList { func (in *FlunderList) DeepCopy() *FlunderList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(FlunderList) out := new(FlunderList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *FlunderList) DeepCopyObject() runtime.Object { func (in *FlunderList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -197,13 +198,13 @@ func (in *FlunderSpec) DeepCopyInto(out *FlunderSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FlunderSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlunderSpec.
func (x *FlunderSpec) DeepCopy() *FlunderSpec { func (in *FlunderSpec) DeepCopy() *FlunderSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(FlunderSpec) out := new(FlunderSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -213,12 +214,12 @@ func (in *FlunderStatus) DeepCopyInto(out *FlunderStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FlunderStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlunderStatus.
func (x *FlunderStatus) DeepCopy() *FlunderStatus { func (in *FlunderStatus) DeepCopy() *FlunderStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(FlunderStatus) out := new(FlunderStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) SchemeBuilder.Register(RegisterDeepCopies)
} }
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
@ -75,19 +76,19 @@ func (in *Fischer) DeepCopyInto(out *Fischer) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Fischer. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fischer.
func (x *Fischer) DeepCopy() *Fischer { func (in *Fischer) DeepCopy() *Fischer {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Fischer) out := new(Fischer)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Fischer) DeepCopyObject() runtime.Object { func (in *Fischer) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -109,19 +110,19 @@ func (in *FischerList) DeepCopyInto(out *FischerList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FischerList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FischerList.
func (x *FischerList) DeepCopy() *FischerList { func (in *FischerList) DeepCopy() *FischerList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(FischerList) out := new(FischerList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *FischerList) DeepCopyObject() runtime.Object { func (in *FischerList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -138,19 +139,19 @@ func (in *Flunder) DeepCopyInto(out *Flunder) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Flunder. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Flunder.
func (x *Flunder) DeepCopy() *Flunder { func (in *Flunder) DeepCopy() *Flunder {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Flunder) out := new(Flunder)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Flunder) DeepCopyObject() runtime.Object { func (in *Flunder) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -172,19 +173,19 @@ func (in *FlunderList) DeepCopyInto(out *FlunderList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FlunderList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlunderList.
func (x *FlunderList) DeepCopy() *FlunderList { func (in *FlunderList) DeepCopy() *FlunderList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(FlunderList) out := new(FlunderList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *FlunderList) DeepCopyObject() runtime.Object { func (in *FlunderList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
@ -197,13 +198,13 @@ func (in *FlunderSpec) DeepCopyInto(out *FlunderSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FlunderSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlunderSpec.
func (x *FlunderSpec) DeepCopy() *FlunderSpec { func (in *FlunderSpec) DeepCopy() *FlunderSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(FlunderSpec) out := new(FlunderSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
@ -213,12 +214,12 @@ func (in *FlunderStatus) DeepCopyInto(out *FlunderStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FlunderStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlunderStatus.
func (x *FlunderStatus) DeepCopy() *FlunderStatus { func (in *FlunderStatus) DeepCopy() *FlunderStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(FlunderStatus) out := new(FlunderStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }

View File

@ -384,7 +384,9 @@ func (g *genDeepCopy) legacyRegistration(c *generator.Context, w io.Writer) erro
g.imports.AddType(cloner) g.imports.AddType(cloner)
if !g.registerTypes { if !g.registerTypes {
sw := generator.NewSnippetWriter(w, c, "$", "$") sw := generator.NewSnippetWriter(w, c, "$", "$")
sw.Do("// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.\n", nil) sw.Do("// GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.\n", nil)
sw.Do("//\n", nil)
sw.Do("// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.\n", nil)
sw.Do("func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc{\n", nil) sw.Do("func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc{\n", nil)
sw.Do("return []conversion.GeneratedDeepCopyFunc{\n", nil) sw.Do("return []conversion.GeneratedDeepCopyFunc{\n", nil)
for _, t := range g.typesForInit { for _, t := range g.typesForInit {
@ -398,7 +400,6 @@ func (g *genDeepCopy) legacyRegistration(c *generator.Context, w io.Writer) erro
} }
sw := generator.NewSnippetWriter(w, c, "$", "$") sw := generator.NewSnippetWriter(w, c, "$", "$")
sw.Do("// Deprecated: register deep-copy functions.\n", nil)
sw.Do("func init() {\n", nil) sw.Do("func init() {\n", nil)
sw.Do("SchemeBuilder.Register(RegisterDeepCopies)\n", nil) sw.Do("SchemeBuilder.Register(RegisterDeepCopies)\n", nil)
sw.Do("}\n\n", nil) sw.Do("}\n\n", nil)
@ -408,8 +409,10 @@ func (g *genDeepCopy) legacyRegistration(c *generator.Context, w io.Writer) erro
Kind: types.Pointer, Kind: types.Pointer,
Elem: scheme, Elem: scheme,
} }
sw.Do("// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public\n", nil) sw.Do("// RegisterDeepCopies adds deep-copy functions to the given scheme. Public\n", nil)
sw.Do("// to allow building arbitrary schemes.\n", nil) sw.Do("// to allow building arbitrary schemes.\n", nil)
sw.Do("//\n", nil)
sw.Do("// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.\n", nil)
sw.Do("func RegisterDeepCopies(scheme $.|raw$) error {\n", schemePtr) sw.Do("func RegisterDeepCopies(scheme $.|raw$) error {\n", schemePtr)
sw.Do("return scheme.AddGeneratedDeepCopyFuncs(\n", nil) sw.Do("return scheme.AddGeneratedDeepCopyFuncs(\n", nil)
for _, t := range g.typesForInit { for _, t := range g.typesForInit {
@ -565,11 +568,11 @@ func (g *genDeepCopy) GenerateType(c *generator.Context, t *types.Type, w io.Wri
} }
if !foundDeepCopy { if !foundDeepCopy {
sw.Do("// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new $.type|raw$.\n", args) sw.Do("// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new $.type|raw$.\n", args)
sw.Do("func (x *$.type|raw$) DeepCopy() *$.type|raw$ {\n", args) sw.Do("func (in *$.type|raw$) DeepCopy() *$.type|raw$ {\n", args)
sw.Do("if x == nil { return nil }\n", nil) sw.Do("if in == nil { return nil }\n", nil)
sw.Do("out := new($.type|raw$)\n", args) sw.Do("out := new($.type|raw$)\n", args)
sw.Do("x.DeepCopyInto(out)\n", nil) sw.Do("in.DeepCopyInto(out)\n", nil)
sw.Do("return out\n", nil) sw.Do("return out\n", nil)
sw.Do("}\n\n", nil) sw.Do("}\n\n", nil)
} }
@ -581,12 +584,12 @@ func (g *genDeepCopy) GenerateType(c *generator.Context, t *types.Type, w io.Wri
for _, intf := range intfs { for _, intf := range intfs {
sw.Do(fmt.Sprintf("// DeepCopy%s is an autogenerated deepcopy function, copying the receiver, creating a new $.type2|raw$.\n", intf.Name.Name), argsFromType(t, intf)) sw.Do(fmt.Sprintf("// DeepCopy%s is an autogenerated deepcopy function, copying the receiver, creating a new $.type2|raw$.\n", intf.Name.Name), argsFromType(t, intf))
if nonPointerReceiver { if nonPointerReceiver {
sw.Do(fmt.Sprintf("func (x $.type|raw$) DeepCopy%s() $.type2|raw$ {\n", intf.Name.Name), argsFromType(t, intf)) sw.Do(fmt.Sprintf("func (in $.type|raw$) DeepCopy%s() $.type2|raw$ {\n", intf.Name.Name), argsFromType(t, intf))
sw.Do("return *x.DeepCopy()", nil) sw.Do("return *in.DeepCopy()", nil)
sw.Do("}\n\n", nil) sw.Do("}\n\n", nil)
} else { } else {
sw.Do(fmt.Sprintf("func (x *$.type|raw$) DeepCopy%s() $.type2|raw$ {\n", intf.Name.Name), argsFromType(t, intf)) sw.Do(fmt.Sprintf("func (in *$.type|raw$) DeepCopy%s() $.type2|raw$ {\n", intf.Name.Name), argsFromType(t, intf))
sw.Do("if c := x.DeepCopy(); c != nil {\n", nil) sw.Do("if c := in.DeepCopy(); c != nil {\n", nil)
sw.Do("return c\n", nil) sw.Do("return c\n", nil)
sw.Do("} else {\n", nil) sw.Do("} else {\n", nil)
sw.Do("return nil\n", nil) sw.Do("return nil\n", nil)