blob: d8c1e4f6257a52a2e32ee9ca95cc12711a33807c [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 v1beta1
22
23import (
24 v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
25 runtime "k8s.io/apimachinery/pkg/runtime"
26)
27
28// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
29func (in *MutatingWebhookConfiguration) DeepCopyInto(out *MutatingWebhookConfiguration) {
30 *out = *in
31 out.TypeMeta = in.TypeMeta
32 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
33 if in.Webhooks != nil {
34 in, out := &in.Webhooks, &out.Webhooks
35 *out = make([]Webhook, len(*in))
36 for i := range *in {
37 (*in)[i].DeepCopyInto(&(*out)[i])
38 }
39 }
40 return
41}
42
43// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MutatingWebhookConfiguration.
44func (in *MutatingWebhookConfiguration) DeepCopy() *MutatingWebhookConfiguration {
45 if in == nil {
46 return nil
47 }
48 out := new(MutatingWebhookConfiguration)
49 in.DeepCopyInto(out)
50 return out
51}
52
53// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
54func (in *MutatingWebhookConfiguration) DeepCopyObject() runtime.Object {
55 if c := in.DeepCopy(); c != nil {
56 return c
57 }
58 return nil
59}
60
61// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
62func (in *MutatingWebhookConfigurationList) DeepCopyInto(out *MutatingWebhookConfigurationList) {
63 *out = *in
64 out.TypeMeta = in.TypeMeta
65 out.ListMeta = in.ListMeta
66 if in.Items != nil {
67 in, out := &in.Items, &out.Items
68 *out = make([]MutatingWebhookConfiguration, len(*in))
69 for i := range *in {
70 (*in)[i].DeepCopyInto(&(*out)[i])
71 }
72 }
73 return
74}
75
76// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MutatingWebhookConfigurationList.
77func (in *MutatingWebhookConfigurationList) DeepCopy() *MutatingWebhookConfigurationList {
78 if in == nil {
79 return nil
80 }
81 out := new(MutatingWebhookConfigurationList)
82 in.DeepCopyInto(out)
83 return out
84}
85
86// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
87func (in *MutatingWebhookConfigurationList) DeepCopyObject() runtime.Object {
88 if c := in.DeepCopy(); c != nil {
89 return c
90 }
91 return nil
92}
93
94// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
95func (in *Rule) DeepCopyInto(out *Rule) {
96 *out = *in
97 if in.APIGroups != nil {
98 in, out := &in.APIGroups, &out.APIGroups
99 *out = make([]string, len(*in))
100 copy(*out, *in)
101 }
102 if in.APIVersions != nil {
103 in, out := &in.APIVersions, &out.APIVersions
104 *out = make([]string, len(*in))
105 copy(*out, *in)
106 }
107 if in.Resources != nil {
108 in, out := &in.Resources, &out.Resources
109 *out = make([]string, len(*in))
110 copy(*out, *in)
111 }
112 return
113}
114
115// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule.
116func (in *Rule) DeepCopy() *Rule {
117 if in == nil {
118 return nil
119 }
120 out := new(Rule)
121 in.DeepCopyInto(out)
122 return out
123}
124
125// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
126func (in *RuleWithOperations) DeepCopyInto(out *RuleWithOperations) {
127 *out = *in
128 if in.Operations != nil {
129 in, out := &in.Operations, &out.Operations
130 *out = make([]OperationType, len(*in))
131 copy(*out, *in)
132 }
133 in.Rule.DeepCopyInto(&out.Rule)
134 return
135}
136
137// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleWithOperations.
138func (in *RuleWithOperations) DeepCopy() *RuleWithOperations {
139 if in == nil {
140 return nil
141 }
142 out := new(RuleWithOperations)
143 in.DeepCopyInto(out)
144 return out
145}
146
147// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
148func (in *ServiceReference) DeepCopyInto(out *ServiceReference) {
149 *out = *in
150 if in.Path != nil {
151 in, out := &in.Path, &out.Path
152 if *in == nil {
153 *out = nil
154 } else {
155 *out = new(string)
156 **out = **in
157 }
158 }
159 return
160}
161
162// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.
163func (in *ServiceReference) DeepCopy() *ServiceReference {
164 if in == nil {
165 return nil
166 }
167 out := new(ServiceReference)
168 in.DeepCopyInto(out)
169 return out
170}
171
172// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
173func (in *ValidatingWebhookConfiguration) DeepCopyInto(out *ValidatingWebhookConfiguration) {
174 *out = *in
175 out.TypeMeta = in.TypeMeta
176 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
177 if in.Webhooks != nil {
178 in, out := &in.Webhooks, &out.Webhooks
179 *out = make([]Webhook, len(*in))
180 for i := range *in {
181 (*in)[i].DeepCopyInto(&(*out)[i])
182 }
183 }
184 return
185}
186
187// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingWebhookConfiguration.
188func (in *ValidatingWebhookConfiguration) DeepCopy() *ValidatingWebhookConfiguration {
189 if in == nil {
190 return nil
191 }
192 out := new(ValidatingWebhookConfiguration)
193 in.DeepCopyInto(out)
194 return out
195}
196
197// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
198func (in *ValidatingWebhookConfiguration) DeepCopyObject() runtime.Object {
199 if c := in.DeepCopy(); c != nil {
200 return c
201 }
202 return nil
203}
204
205// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
206func (in *ValidatingWebhookConfigurationList) DeepCopyInto(out *ValidatingWebhookConfigurationList) {
207 *out = *in
208 out.TypeMeta = in.TypeMeta
209 out.ListMeta = in.ListMeta
210 if in.Items != nil {
211 in, out := &in.Items, &out.Items
212 *out = make([]ValidatingWebhookConfiguration, len(*in))
213 for i := range *in {
214 (*in)[i].DeepCopyInto(&(*out)[i])
215 }
216 }
217 return
218}
219
220// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingWebhookConfigurationList.
221func (in *ValidatingWebhookConfigurationList) DeepCopy() *ValidatingWebhookConfigurationList {
222 if in == nil {
223 return nil
224 }
225 out := new(ValidatingWebhookConfigurationList)
226 in.DeepCopyInto(out)
227 return out
228}
229
230// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
231func (in *ValidatingWebhookConfigurationList) DeepCopyObject() runtime.Object {
232 if c := in.DeepCopy(); c != nil {
233 return c
234 }
235 return nil
236}
237
238// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
239func (in *Webhook) DeepCopyInto(out *Webhook) {
240 *out = *in
241 in.ClientConfig.DeepCopyInto(&out.ClientConfig)
242 if in.Rules != nil {
243 in, out := &in.Rules, &out.Rules
244 *out = make([]RuleWithOperations, len(*in))
245 for i := range *in {
246 (*in)[i].DeepCopyInto(&(*out)[i])
247 }
248 }
249 if in.FailurePolicy != nil {
250 in, out := &in.FailurePolicy, &out.FailurePolicy
251 if *in == nil {
252 *out = nil
253 } else {
254 *out = new(FailurePolicyType)
255 **out = **in
256 }
257 }
258 if in.NamespaceSelector != nil {
259 in, out := &in.NamespaceSelector, &out.NamespaceSelector
260 if *in == nil {
261 *out = nil
262 } else {
263 *out = new(v1.LabelSelector)
264 (*in).DeepCopyInto(*out)
265 }
266 }
267 return
268}
269
270// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Webhook.
271func (in *Webhook) DeepCopy() *Webhook {
272 if in == nil {
273 return nil
274 }
275 out := new(Webhook)
276 in.DeepCopyInto(out)
277 return out
278}
279
280// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
281func (in *WebhookClientConfig) DeepCopyInto(out *WebhookClientConfig) {
282 *out = *in
283 if in.URL != nil {
284 in, out := &in.URL, &out.URL
285 if *in == nil {
286 *out = nil
287 } else {
288 *out = new(string)
289 **out = **in
290 }
291 }
292 if in.Service != nil {
293 in, out := &in.Service, &out.Service
294 if *in == nil {
295 *out = nil
296 } else {
297 *out = new(ServiceReference)
298 (*in).DeepCopyInto(*out)
299 }
300 }
301 if in.CABundle != nil {
302 in, out := &in.CABundle, &out.CABundle
303 *out = make([]byte, len(*in))
304 copy(*out, *in)
305 }
306 return
307}
308
309// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookClientConfig.
310func (in *WebhookClientConfig) DeepCopy() *WebhookClientConfig {
311 if in == nil {
312 return nil
313 }
314 out := new(WebhookClientConfig)
315 in.DeepCopyInto(out)
316 return out
317}