blob: bb0f3523f4212f52f097009373a8174fcebfd2f0 [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 v1
22
23import (
24 runtime "k8s.io/apimachinery/pkg/runtime"
25)
26
27// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
28func (in *AuthInfo) DeepCopyInto(out *AuthInfo) {
29 *out = *in
30 if in.ClientCertificateData != nil {
31 in, out := &in.ClientCertificateData, &out.ClientCertificateData
32 *out = make([]byte, len(*in))
33 copy(*out, *in)
34 }
35 if in.ClientKeyData != nil {
36 in, out := &in.ClientKeyData, &out.ClientKeyData
37 *out = make([]byte, len(*in))
38 copy(*out, *in)
39 }
40 if in.ImpersonateGroups != nil {
41 in, out := &in.ImpersonateGroups, &out.ImpersonateGroups
42 *out = make([]string, len(*in))
43 copy(*out, *in)
44 }
45 if in.ImpersonateUserExtra != nil {
46 in, out := &in.ImpersonateUserExtra, &out.ImpersonateUserExtra
47 *out = make(map[string][]string, len(*in))
48 for key, val := range *in {
49 if val == nil {
50 (*out)[key] = nil
51 } else {
52 (*out)[key] = make([]string, len(val))
53 copy((*out)[key], val)
54 }
55 }
56 }
57 if in.AuthProvider != nil {
58 in, out := &in.AuthProvider, &out.AuthProvider
59 if *in == nil {
60 *out = nil
61 } else {
62 *out = new(AuthProviderConfig)
63 (*in).DeepCopyInto(*out)
64 }
65 }
66 if in.Exec != nil {
67 in, out := &in.Exec, &out.Exec
68 if *in == nil {
69 *out = nil
70 } else {
71 *out = new(ExecConfig)
72 (*in).DeepCopyInto(*out)
73 }
74 }
75 if in.Extensions != nil {
76 in, out := &in.Extensions, &out.Extensions
77 *out = make([]NamedExtension, len(*in))
78 for i := range *in {
79 (*in)[i].DeepCopyInto(&(*out)[i])
80 }
81 }
82 return
83}
84
85// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthInfo.
86func (in *AuthInfo) DeepCopy() *AuthInfo {
87 if in == nil {
88 return nil
89 }
90 out := new(AuthInfo)
91 in.DeepCopyInto(out)
92 return out
93}
94
95// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
96func (in *AuthProviderConfig) DeepCopyInto(out *AuthProviderConfig) {
97 *out = *in
98 if in.Config != nil {
99 in, out := &in.Config, &out.Config
100 *out = make(map[string]string, len(*in))
101 for key, val := range *in {
102 (*out)[key] = val
103 }
104 }
105 return
106}
107
108// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthProviderConfig.
109func (in *AuthProviderConfig) DeepCopy() *AuthProviderConfig {
110 if in == nil {
111 return nil
112 }
113 out := new(AuthProviderConfig)
114 in.DeepCopyInto(out)
115 return out
116}
117
118// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
119func (in *Cluster) DeepCopyInto(out *Cluster) {
120 *out = *in
121 if in.CertificateAuthorityData != nil {
122 in, out := &in.CertificateAuthorityData, &out.CertificateAuthorityData
123 *out = make([]byte, len(*in))
124 copy(*out, *in)
125 }
126 if in.Extensions != nil {
127 in, out := &in.Extensions, &out.Extensions
128 *out = make([]NamedExtension, len(*in))
129 for i := range *in {
130 (*in)[i].DeepCopyInto(&(*out)[i])
131 }
132 }
133 return
134}
135
136// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
137func (in *Cluster) DeepCopy() *Cluster {
138 if in == nil {
139 return nil
140 }
141 out := new(Cluster)
142 in.DeepCopyInto(out)
143 return out
144}
145
146// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
147func (in *Config) DeepCopyInto(out *Config) {
148 *out = *in
149 in.Preferences.DeepCopyInto(&out.Preferences)
150 if in.Clusters != nil {
151 in, out := &in.Clusters, &out.Clusters
152 *out = make([]NamedCluster, len(*in))
153 for i := range *in {
154 (*in)[i].DeepCopyInto(&(*out)[i])
155 }
156 }
157 if in.AuthInfos != nil {
158 in, out := &in.AuthInfos, &out.AuthInfos
159 *out = make([]NamedAuthInfo, len(*in))
160 for i := range *in {
161 (*in)[i].DeepCopyInto(&(*out)[i])
162 }
163 }
164 if in.Contexts != nil {
165 in, out := &in.Contexts, &out.Contexts
166 *out = make([]NamedContext, len(*in))
167 for i := range *in {
168 (*in)[i].DeepCopyInto(&(*out)[i])
169 }
170 }
171 if in.Extensions != nil {
172 in, out := &in.Extensions, &out.Extensions
173 *out = make([]NamedExtension, len(*in))
174 for i := range *in {
175 (*in)[i].DeepCopyInto(&(*out)[i])
176 }
177 }
178 return
179}
180
181// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
182func (in *Config) DeepCopy() *Config {
183 if in == nil {
184 return nil
185 }
186 out := new(Config)
187 in.DeepCopyInto(out)
188 return out
189}
190
191// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
192func (in *Config) DeepCopyObject() runtime.Object {
193 if c := in.DeepCopy(); c != nil {
194 return c
195 }
196 return nil
197}
198
199// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
200func (in *Context) DeepCopyInto(out *Context) {
201 *out = *in
202 if in.Extensions != nil {
203 in, out := &in.Extensions, &out.Extensions
204 *out = make([]NamedExtension, len(*in))
205 for i := range *in {
206 (*in)[i].DeepCopyInto(&(*out)[i])
207 }
208 }
209 return
210}
211
212// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Context.
213func (in *Context) DeepCopy() *Context {
214 if in == nil {
215 return nil
216 }
217 out := new(Context)
218 in.DeepCopyInto(out)
219 return out
220}
221
222// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
223func (in *ExecConfig) DeepCopyInto(out *ExecConfig) {
224 *out = *in
225 if in.Args != nil {
226 in, out := &in.Args, &out.Args
227 *out = make([]string, len(*in))
228 copy(*out, *in)
229 }
230 if in.Env != nil {
231 in, out := &in.Env, &out.Env
232 *out = make([]ExecEnvVar, len(*in))
233 copy(*out, *in)
234 }
235 return
236}
237
238// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecConfig.
239func (in *ExecConfig) DeepCopy() *ExecConfig {
240 if in == nil {
241 return nil
242 }
243 out := new(ExecConfig)
244 in.DeepCopyInto(out)
245 return out
246}
247
248// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
249func (in *ExecEnvVar) DeepCopyInto(out *ExecEnvVar) {
250 *out = *in
251 return
252}
253
254// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecEnvVar.
255func (in *ExecEnvVar) DeepCopy() *ExecEnvVar {
256 if in == nil {
257 return nil
258 }
259 out := new(ExecEnvVar)
260 in.DeepCopyInto(out)
261 return out
262}
263
264// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
265func (in *NamedAuthInfo) DeepCopyInto(out *NamedAuthInfo) {
266 *out = *in
267 in.AuthInfo.DeepCopyInto(&out.AuthInfo)
268 return
269}
270
271// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedAuthInfo.
272func (in *NamedAuthInfo) DeepCopy() *NamedAuthInfo {
273 if in == nil {
274 return nil
275 }
276 out := new(NamedAuthInfo)
277 in.DeepCopyInto(out)
278 return out
279}
280
281// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
282func (in *NamedCluster) DeepCopyInto(out *NamedCluster) {
283 *out = *in
284 in.Cluster.DeepCopyInto(&out.Cluster)
285 return
286}
287
288// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedCluster.
289func (in *NamedCluster) DeepCopy() *NamedCluster {
290 if in == nil {
291 return nil
292 }
293 out := new(NamedCluster)
294 in.DeepCopyInto(out)
295 return out
296}
297
298// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
299func (in *NamedContext) DeepCopyInto(out *NamedContext) {
300 *out = *in
301 in.Context.DeepCopyInto(&out.Context)
302 return
303}
304
305// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedContext.
306func (in *NamedContext) DeepCopy() *NamedContext {
307 if in == nil {
308 return nil
309 }
310 out := new(NamedContext)
311 in.DeepCopyInto(out)
312 return out
313}
314
315// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
316func (in *NamedExtension) DeepCopyInto(out *NamedExtension) {
317 *out = *in
318 in.Extension.DeepCopyInto(&out.Extension)
319 return
320}
321
322// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedExtension.
323func (in *NamedExtension) DeepCopy() *NamedExtension {
324 if in == nil {
325 return nil
326 }
327 out := new(NamedExtension)
328 in.DeepCopyInto(out)
329 return out
330}
331
332// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
333func (in *Preferences) DeepCopyInto(out *Preferences) {
334 *out = *in
335 if in.Extensions != nil {
336 in, out := &in.Extensions, &out.Extensions
337 *out = make([]NamedExtension, len(*in))
338 for i := range *in {
339 (*in)[i].DeepCopyInto(&(*out)[i])
340 }
341 }
342 return
343}
344
345// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Preferences.
346func (in *Preferences) DeepCopy() *Preferences {
347 if in == nil {
348 return nil
349 }
350 out := new(Preferences)
351 in.DeepCopyInto(out)
352 return out
353}