1
2
3
4
5
6 package v1
7
8 import (
9 osinv1 "github.com/openshift/api/osin/v1"
10 runtime "k8s.io/apimachinery/pkg/runtime"
11 )
12
13
14 func (in *AggregatorConfig) DeepCopyInto(out *AggregatorConfig) {
15 *out = *in
16 out.ProxyClientInfo = in.ProxyClientInfo
17 return
18 }
19
20
21 func (in *AggregatorConfig) DeepCopy() *AggregatorConfig {
22 if in == nil {
23 return nil
24 }
25 out := new(AggregatorConfig)
26 in.DeepCopyInto(out)
27 return out
28 }
29
30
31 func (in Arguments) DeepCopyInto(out *Arguments) {
32 {
33 in := &in
34 *out = make(Arguments, len(*in))
35 copy(*out, *in)
36 return
37 }
38 }
39
40
41 func (in Arguments) DeepCopy() Arguments {
42 if in == nil {
43 return nil
44 }
45 out := new(Arguments)
46 in.DeepCopyInto(out)
47 return *out
48 }
49
50
51 func (in *KubeAPIServerConfig) DeepCopyInto(out *KubeAPIServerConfig) {
52 *out = *in
53 out.TypeMeta = in.TypeMeta
54 in.GenericAPIServerConfig.DeepCopyInto(&out.GenericAPIServerConfig)
55 in.AuthConfig.DeepCopyInto(&out.AuthConfig)
56 out.AggregatorConfig = in.AggregatorConfig
57 out.KubeletClientInfo = in.KubeletClientInfo
58 in.UserAgentMatchingConfig.DeepCopyInto(&out.UserAgentMatchingConfig)
59 in.ImagePolicyConfig.DeepCopyInto(&out.ImagePolicyConfig)
60 out.ProjectConfig = in.ProjectConfig
61 if in.ServiceAccountPublicKeyFiles != nil {
62 in, out := &in.ServiceAccountPublicKeyFiles, &out.ServiceAccountPublicKeyFiles
63 *out = make([]string, len(*in))
64 copy(*out, *in)
65 }
66 if in.OAuthConfig != nil {
67 in, out := &in.OAuthConfig, &out.OAuthConfig
68 *out = new(osinv1.OAuthConfig)
69 (*in).DeepCopyInto(*out)
70 }
71 if in.APIServerArguments != nil {
72 in, out := &in.APIServerArguments, &out.APIServerArguments
73 *out = make(map[string]Arguments, len(*in))
74 for key, val := range *in {
75 var outVal []string
76 if val == nil {
77 (*out)[key] = nil
78 } else {
79 in, out := &val, &outVal
80 *out = make(Arguments, len(*in))
81 copy(*out, *in)
82 }
83 (*out)[key] = outVal
84 }
85 }
86 return
87 }
88
89
90 func (in *KubeAPIServerConfig) DeepCopy() *KubeAPIServerConfig {
91 if in == nil {
92 return nil
93 }
94 out := new(KubeAPIServerConfig)
95 in.DeepCopyInto(out)
96 return out
97 }
98
99
100 func (in *KubeAPIServerConfig) DeepCopyObject() runtime.Object {
101 if c := in.DeepCopy(); c != nil {
102 return c
103 }
104 return nil
105 }
106
107
108 func (in *KubeAPIServerImagePolicyConfig) DeepCopyInto(out *KubeAPIServerImagePolicyConfig) {
109 *out = *in
110 if in.ExternalRegistryHostnames != nil {
111 in, out := &in.ExternalRegistryHostnames, &out.ExternalRegistryHostnames
112 *out = make([]string, len(*in))
113 copy(*out, *in)
114 }
115 return
116 }
117
118
119 func (in *KubeAPIServerImagePolicyConfig) DeepCopy() *KubeAPIServerImagePolicyConfig {
120 if in == nil {
121 return nil
122 }
123 out := new(KubeAPIServerImagePolicyConfig)
124 in.DeepCopyInto(out)
125 return out
126 }
127
128
129 func (in *KubeAPIServerProjectConfig) DeepCopyInto(out *KubeAPIServerProjectConfig) {
130 *out = *in
131 return
132 }
133
134
135 func (in *KubeAPIServerProjectConfig) DeepCopy() *KubeAPIServerProjectConfig {
136 if in == nil {
137 return nil
138 }
139 out := new(KubeAPIServerProjectConfig)
140 in.DeepCopyInto(out)
141 return out
142 }
143
144
145 func (in *KubeControllerManagerConfig) DeepCopyInto(out *KubeControllerManagerConfig) {
146 *out = *in
147 out.TypeMeta = in.TypeMeta
148 out.ServiceServingCert = in.ServiceServingCert
149 out.ProjectConfig = in.ProjectConfig
150 if in.ExtendedArguments != nil {
151 in, out := &in.ExtendedArguments, &out.ExtendedArguments
152 *out = make(map[string]Arguments, len(*in))
153 for key, val := range *in {
154 var outVal []string
155 if val == nil {
156 (*out)[key] = nil
157 } else {
158 in, out := &val, &outVal
159 *out = make(Arguments, len(*in))
160 copy(*out, *in)
161 }
162 (*out)[key] = outVal
163 }
164 }
165 return
166 }
167
168
169 func (in *KubeControllerManagerConfig) DeepCopy() *KubeControllerManagerConfig {
170 if in == nil {
171 return nil
172 }
173 out := new(KubeControllerManagerConfig)
174 in.DeepCopyInto(out)
175 return out
176 }
177
178
179 func (in *KubeControllerManagerConfig) DeepCopyObject() runtime.Object {
180 if c := in.DeepCopy(); c != nil {
181 return c
182 }
183 return nil
184 }
185
186
187 func (in *KubeControllerManagerProjectConfig) DeepCopyInto(out *KubeControllerManagerProjectConfig) {
188 *out = *in
189 return
190 }
191
192
193 func (in *KubeControllerManagerProjectConfig) DeepCopy() *KubeControllerManagerProjectConfig {
194 if in == nil {
195 return nil
196 }
197 out := new(KubeControllerManagerProjectConfig)
198 in.DeepCopyInto(out)
199 return out
200 }
201
202
203 func (in *KubeletConnectionInfo) DeepCopyInto(out *KubeletConnectionInfo) {
204 *out = *in
205 out.CertInfo = in.CertInfo
206 return
207 }
208
209
210 func (in *KubeletConnectionInfo) DeepCopy() *KubeletConnectionInfo {
211 if in == nil {
212 return nil
213 }
214 out := new(KubeletConnectionInfo)
215 in.DeepCopyInto(out)
216 return out
217 }
218
219
220 func (in *MasterAuthConfig) DeepCopyInto(out *MasterAuthConfig) {
221 *out = *in
222 if in.RequestHeader != nil {
223 in, out := &in.RequestHeader, &out.RequestHeader
224 *out = new(RequestHeaderAuthenticationOptions)
225 (*in).DeepCopyInto(*out)
226 }
227 if in.WebhookTokenAuthenticators != nil {
228 in, out := &in.WebhookTokenAuthenticators, &out.WebhookTokenAuthenticators
229 *out = make([]WebhookTokenAuthenticator, len(*in))
230 copy(*out, *in)
231 }
232 return
233 }
234
235
236 func (in *MasterAuthConfig) DeepCopy() *MasterAuthConfig {
237 if in == nil {
238 return nil
239 }
240 out := new(MasterAuthConfig)
241 in.DeepCopyInto(out)
242 return out
243 }
244
245
246 func (in *RequestHeaderAuthenticationOptions) DeepCopyInto(out *RequestHeaderAuthenticationOptions) {
247 *out = *in
248 if in.ClientCommonNames != nil {
249 in, out := &in.ClientCommonNames, &out.ClientCommonNames
250 *out = make([]string, len(*in))
251 copy(*out, *in)
252 }
253 if in.UsernameHeaders != nil {
254 in, out := &in.UsernameHeaders, &out.UsernameHeaders
255 *out = make([]string, len(*in))
256 copy(*out, *in)
257 }
258 if in.GroupHeaders != nil {
259 in, out := &in.GroupHeaders, &out.GroupHeaders
260 *out = make([]string, len(*in))
261 copy(*out, *in)
262 }
263 if in.ExtraHeaderPrefixes != nil {
264 in, out := &in.ExtraHeaderPrefixes, &out.ExtraHeaderPrefixes
265 *out = make([]string, len(*in))
266 copy(*out, *in)
267 }
268 return
269 }
270
271
272 func (in *RequestHeaderAuthenticationOptions) DeepCopy() *RequestHeaderAuthenticationOptions {
273 if in == nil {
274 return nil
275 }
276 out := new(RequestHeaderAuthenticationOptions)
277 in.DeepCopyInto(out)
278 return out
279 }
280
281
282 func (in *ServiceServingCert) DeepCopyInto(out *ServiceServingCert) {
283 *out = *in
284 return
285 }
286
287
288 func (in *ServiceServingCert) DeepCopy() *ServiceServingCert {
289 if in == nil {
290 return nil
291 }
292 out := new(ServiceServingCert)
293 in.DeepCopyInto(out)
294 return out
295 }
296
297
298 func (in *UserAgentDenyRule) DeepCopyInto(out *UserAgentDenyRule) {
299 *out = *in
300 in.UserAgentMatchRule.DeepCopyInto(&out.UserAgentMatchRule)
301 return
302 }
303
304
305 func (in *UserAgentDenyRule) DeepCopy() *UserAgentDenyRule {
306 if in == nil {
307 return nil
308 }
309 out := new(UserAgentDenyRule)
310 in.DeepCopyInto(out)
311 return out
312 }
313
314
315 func (in *UserAgentMatchRule) DeepCopyInto(out *UserAgentMatchRule) {
316 *out = *in
317 if in.HTTPVerbs != nil {
318 in, out := &in.HTTPVerbs, &out.HTTPVerbs
319 *out = make([]string, len(*in))
320 copy(*out, *in)
321 }
322 return
323 }
324
325
326 func (in *UserAgentMatchRule) DeepCopy() *UserAgentMatchRule {
327 if in == nil {
328 return nil
329 }
330 out := new(UserAgentMatchRule)
331 in.DeepCopyInto(out)
332 return out
333 }
334
335
336 func (in *UserAgentMatchingConfig) DeepCopyInto(out *UserAgentMatchingConfig) {
337 *out = *in
338 if in.RequiredClients != nil {
339 in, out := &in.RequiredClients, &out.RequiredClients
340 *out = make([]UserAgentMatchRule, len(*in))
341 for i := range *in {
342 (*in)[i].DeepCopyInto(&(*out)[i])
343 }
344 }
345 if in.DeniedClients != nil {
346 in, out := &in.DeniedClients, &out.DeniedClients
347 *out = make([]UserAgentDenyRule, len(*in))
348 for i := range *in {
349 (*in)[i].DeepCopyInto(&(*out)[i])
350 }
351 }
352 return
353 }
354
355
356 func (in *UserAgentMatchingConfig) DeepCopy() *UserAgentMatchingConfig {
357 if in == nil {
358 return nil
359 }
360 out := new(UserAgentMatchingConfig)
361 in.DeepCopyInto(out)
362 return out
363 }
364
365
366 func (in *WebhookTokenAuthenticator) DeepCopyInto(out *WebhookTokenAuthenticator) {
367 *out = *in
368 return
369 }
370
371
372 func (in *WebhookTokenAuthenticator) DeepCopy() *WebhookTokenAuthenticator {
373 if in == nil {
374 return nil
375 }
376 out := new(WebhookTokenAuthenticator)
377 in.DeepCopyInto(out)
378 return out
379 }
380
View as plain text