blob: c6867be122155c30484925640c249d4bff6ceae1 [file] [log] [blame]
sslobodrd046be82019-01-16 10:02:22 -05001// +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 *out = new(string)
153 **out = **in
154 }
155 return
156}
157
158// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.
159func (in *ServiceReference) DeepCopy() *ServiceReference {
160 if in == nil {
161 return nil
162 }
163 out := new(ServiceReference)
164 in.DeepCopyInto(out)
165 return out
166}
167
168// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
169func (in *ValidatingWebhookConfiguration) DeepCopyInto(out *ValidatingWebhookConfiguration) {
170 *out = *in
171 out.TypeMeta = in.TypeMeta
172 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
173 if in.Webhooks != nil {
174 in, out := &in.Webhooks, &out.Webhooks
175 *out = make([]Webhook, len(*in))
176 for i := range *in {
177 (*in)[i].DeepCopyInto(&(*out)[i])
178 }
179 }
180 return
181}
182
183// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingWebhookConfiguration.
184func (in *ValidatingWebhookConfiguration) DeepCopy() *ValidatingWebhookConfiguration {
185 if in == nil {
186 return nil
187 }
188 out := new(ValidatingWebhookConfiguration)
189 in.DeepCopyInto(out)
190 return out
191}
192
193// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
194func (in *ValidatingWebhookConfiguration) DeepCopyObject() runtime.Object {
195 if c := in.DeepCopy(); c != nil {
196 return c
197 }
198 return nil
199}
200
201// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
202func (in *ValidatingWebhookConfigurationList) DeepCopyInto(out *ValidatingWebhookConfigurationList) {
203 *out = *in
204 out.TypeMeta = in.TypeMeta
205 out.ListMeta = in.ListMeta
206 if in.Items != nil {
207 in, out := &in.Items, &out.Items
208 *out = make([]ValidatingWebhookConfiguration, len(*in))
209 for i := range *in {
210 (*in)[i].DeepCopyInto(&(*out)[i])
211 }
212 }
213 return
214}
215
216// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingWebhookConfigurationList.
217func (in *ValidatingWebhookConfigurationList) DeepCopy() *ValidatingWebhookConfigurationList {
218 if in == nil {
219 return nil
220 }
221 out := new(ValidatingWebhookConfigurationList)
222 in.DeepCopyInto(out)
223 return out
224}
225
226// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
227func (in *ValidatingWebhookConfigurationList) DeepCopyObject() runtime.Object {
228 if c := in.DeepCopy(); c != nil {
229 return c
230 }
231 return nil
232}
233
234// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
235func (in *Webhook) DeepCopyInto(out *Webhook) {
236 *out = *in
237 in.ClientConfig.DeepCopyInto(&out.ClientConfig)
238 if in.Rules != nil {
239 in, out := &in.Rules, &out.Rules
240 *out = make([]RuleWithOperations, len(*in))
241 for i := range *in {
242 (*in)[i].DeepCopyInto(&(*out)[i])
243 }
244 }
245 if in.FailurePolicy != nil {
246 in, out := &in.FailurePolicy, &out.FailurePolicy
247 *out = new(FailurePolicyType)
248 **out = **in
249 }
250 if in.NamespaceSelector != nil {
251 in, out := &in.NamespaceSelector, &out.NamespaceSelector
252 *out = new(v1.LabelSelector)
253 (*in).DeepCopyInto(*out)
254 }
255 if in.SideEffects != nil {
256 in, out := &in.SideEffects, &out.SideEffects
257 *out = new(SideEffectClass)
258 **out = **in
259 }
260 return
261}
262
263// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Webhook.
264func (in *Webhook) DeepCopy() *Webhook {
265 if in == nil {
266 return nil
267 }
268 out := new(Webhook)
269 in.DeepCopyInto(out)
270 return out
271}
272
273// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
274func (in *WebhookClientConfig) DeepCopyInto(out *WebhookClientConfig) {
275 *out = *in
276 if in.URL != nil {
277 in, out := &in.URL, &out.URL
278 *out = new(string)
279 **out = **in
280 }
281 if in.Service != nil {
282 in, out := &in.Service, &out.Service
283 *out = new(ServiceReference)
284 (*in).DeepCopyInto(*out)
285 }
286 if in.CABundle != nil {
287 in, out := &in.CABundle, &out.CABundle
288 *out = make([]byte, len(*in))
289 copy(*out, *in)
290 }
291 return
292}
293
294// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookClientConfig.
295func (in *WebhookClientConfig) DeepCopy() *WebhookClientConfig {
296 if in == nil {
297 return nil
298 }
299 out := new(WebhookClientConfig)
300 in.DeepCopyInto(out)
301 return out
302}