blob: 8b9182f359d443de3324d62a6711562e2bfa0933 [file] [log] [blame]
Scott Bakere7144bc2019-10-01 14:16:47 -07001// +build !ignore_autogenerated
2
3/*
4Copyright The Kubernetes Authors.
5
6Licensed under the Apache License, Version 2.0 (the "License");
7you may not use this file except in compliance with the License.
8You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12Unless required by applicable law or agreed to in writing, software
13distributed under the License is distributed on an "AS IS" BASIS,
14WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15See the License for the specific language governing permissions and
16limitations under the License.
17*/
18
19// Code generated by deepcopy-gen. DO NOT EDIT.
20
21package runtime
22
23// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
24func (in *RawExtension) DeepCopyInto(out *RawExtension) {
25 *out = *in
26 if in.Raw != nil {
27 in, out := &in.Raw, &out.Raw
28 *out = make([]byte, len(*in))
29 copy(*out, *in)
30 }
31 if in.Object != nil {
32 out.Object = in.Object.DeepCopyObject()
33 }
34 return
35}
36
37// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RawExtension.
38func (in *RawExtension) DeepCopy() *RawExtension {
39 if in == nil {
40 return nil
41 }
42 out := new(RawExtension)
43 in.DeepCopyInto(out)
44 return out
45}
46
47// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
48func (in *Unknown) DeepCopyInto(out *Unknown) {
49 *out = *in
50 out.TypeMeta = in.TypeMeta
51 if in.Raw != nil {
52 in, out := &in.Raw, &out.Raw
53 *out = make([]byte, len(*in))
54 copy(*out, *in)
55 }
56 return
57}
58
59// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Unknown.
60func (in *Unknown) DeepCopy() *Unknown {
61 if in == nil {
62 return nil
63 }
64 out := new(Unknown)
65 in.DeepCopyInto(out)
66 return out
67}
68
69// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new Object.
70func (in *Unknown) DeepCopyObject() Object {
71 if c := in.DeepCopy(); c != nil {
72 return c
73 }
74 return nil
75}
76
77// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
78func (in *VersionedObjects) DeepCopyInto(out *VersionedObjects) {
79 *out = *in
80 if in.Objects != nil {
81 in, out := &in.Objects, &out.Objects
82 *out = make([]Object, len(*in))
83 for i := range *in {
84 if (*in)[i] != nil {
85 (*out)[i] = (*in)[i].DeepCopyObject()
86 }
87 }
88 }
89 return
90}
91
92// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionedObjects.
93func (in *VersionedObjects) DeepCopy() *VersionedObjects {
94 if in == nil {
95 return nil
96 }
97 out := new(VersionedObjects)
98 in.DeepCopyInto(out)
99 return out
100}
101
102// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new Object.
103func (in *VersionedObjects) DeepCopyObject() Object {
104 if c := in.DeepCopy(); c != nil {
105 return c
106 }
107 return nil
108}