blob: 167de6104999387658c2caa7e364a0db768b9f40 [file] [log] [blame]
Matthias Andreas Benkard832a54e2019-01-29 09:27:38 +01001// +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 = nil
33 } else {
34 out.Object = in.Object.DeepCopyObject()
35 }
36 return
37}
38
39// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RawExtension.
40func (in *RawExtension) DeepCopy() *RawExtension {
41 if in == nil {
42 return nil
43 }
44 out := new(RawExtension)
45 in.DeepCopyInto(out)
46 return out
47}
48
49// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
50func (in *Unknown) DeepCopyInto(out *Unknown) {
51 *out = *in
52 out.TypeMeta = in.TypeMeta
53 if in.Raw != nil {
54 in, out := &in.Raw, &out.Raw
55 *out = make([]byte, len(*in))
56 copy(*out, *in)
57 }
58 return
59}
60
61// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Unknown.
62func (in *Unknown) DeepCopy() *Unknown {
63 if in == nil {
64 return nil
65 }
66 out := new(Unknown)
67 in.DeepCopyInto(out)
68 return out
69}
70
71// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new Object.
72func (in *Unknown) DeepCopyObject() Object {
73 if c := in.DeepCopy(); c != nil {
74 return c
75 }
76 return nil
77}
78
79// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
80func (in *VersionedObjects) DeepCopyInto(out *VersionedObjects) {
81 *out = *in
82 if in.Objects != nil {
83 in, out := &in.Objects, &out.Objects
84 *out = make([]Object, len(*in))
85 for i := range *in {
86 if (*in)[i] == nil {
87 (*out)[i] = nil
88 } else {
89 (*out)[i] = (*in)[i].DeepCopyObject()
90 }
91 }
92 }
93 return
94}
95
96// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionedObjects.
97func (in *VersionedObjects) DeepCopy() *VersionedObjects {
98 if in == nil {
99 return nil
100 }
101 out := new(VersionedObjects)
102 in.DeepCopyInto(out)
103 return out
104}
105
106// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new Object.
107func (in *VersionedObjects) DeepCopyObject() Object {
108 if c := in.DeepCopy(); c != nil {
109 return c
110 }
111 return nil
112}