Code refactoring for bpa operator
[icn.git] / cmd / bpa-operator / vendor / k8s.io / api / auditregistration / v1alpha1 / zz_generated.deepcopy.go
1 // +build !ignore_autogenerated
2
3 /*
4 Copyright The Kubernetes Authors.
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10     http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 */
18
19 // Code generated by deepcopy-gen. DO NOT EDIT.
20
21 package v1alpha1
22
23 import (
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.
28 func (in *AuditSink) DeepCopyInto(out *AuditSink) {
29         *out = *in
30         out.TypeMeta = in.TypeMeta
31         in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
32         in.Spec.DeepCopyInto(&out.Spec)
33         return
34 }
35
36 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditSink.
37 func (in *AuditSink) DeepCopy() *AuditSink {
38         if in == nil {
39                 return nil
40         }
41         out := new(AuditSink)
42         in.DeepCopyInto(out)
43         return out
44 }
45
46 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
47 func (in *AuditSink) DeepCopyObject() runtime.Object {
48         if c := in.DeepCopy(); c != nil {
49                 return c
50         }
51         return nil
52 }
53
54 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
55 func (in *AuditSinkList) DeepCopyInto(out *AuditSinkList) {
56         *out = *in
57         out.TypeMeta = in.TypeMeta
58         out.ListMeta = in.ListMeta
59         if in.Items != nil {
60                 in, out := &in.Items, &out.Items
61                 *out = make([]AuditSink, len(*in))
62                 for i := range *in {
63                         (*in)[i].DeepCopyInto(&(*out)[i])
64                 }
65         }
66         return
67 }
68
69 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditSinkList.
70 func (in *AuditSinkList) DeepCopy() *AuditSinkList {
71         if in == nil {
72                 return nil
73         }
74         out := new(AuditSinkList)
75         in.DeepCopyInto(out)
76         return out
77 }
78
79 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
80 func (in *AuditSinkList) DeepCopyObject() runtime.Object {
81         if c := in.DeepCopy(); c != nil {
82                 return c
83         }
84         return nil
85 }
86
87 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
88 func (in *AuditSinkSpec) DeepCopyInto(out *AuditSinkSpec) {
89         *out = *in
90         in.Policy.DeepCopyInto(&out.Policy)
91         in.Webhook.DeepCopyInto(&out.Webhook)
92         return
93 }
94
95 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditSinkSpec.
96 func (in *AuditSinkSpec) DeepCopy() *AuditSinkSpec {
97         if in == nil {
98                 return nil
99         }
100         out := new(AuditSinkSpec)
101         in.DeepCopyInto(out)
102         return out
103 }
104
105 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
106 func (in *Policy) DeepCopyInto(out *Policy) {
107         *out = *in
108         if in.Stages != nil {
109                 in, out := &in.Stages, &out.Stages
110                 *out = make([]Stage, len(*in))
111                 copy(*out, *in)
112         }
113         return
114 }
115
116 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
117 func (in *Policy) DeepCopy() *Policy {
118         if in == nil {
119                 return nil
120         }
121         out := new(Policy)
122         in.DeepCopyInto(out)
123         return out
124 }
125
126 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
127 func (in *ServiceReference) DeepCopyInto(out *ServiceReference) {
128         *out = *in
129         if in.Path != nil {
130                 in, out := &in.Path, &out.Path
131                 *out = new(string)
132                 **out = **in
133         }
134         return
135 }
136
137 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.
138 func (in *ServiceReference) DeepCopy() *ServiceReference {
139         if in == nil {
140                 return nil
141         }
142         out := new(ServiceReference)
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.
148 func (in *Webhook) DeepCopyInto(out *Webhook) {
149         *out = *in
150         if in.Throttle != nil {
151                 in, out := &in.Throttle, &out.Throttle
152                 *out = new(WebhookThrottleConfig)
153                 (*in).DeepCopyInto(*out)
154         }
155         in.ClientConfig.DeepCopyInto(&out.ClientConfig)
156         return
157 }
158
159 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Webhook.
160 func (in *Webhook) DeepCopy() *Webhook {
161         if in == nil {
162                 return nil
163         }
164         out := new(Webhook)
165         in.DeepCopyInto(out)
166         return out
167 }
168
169 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
170 func (in *WebhookClientConfig) DeepCopyInto(out *WebhookClientConfig) {
171         *out = *in
172         if in.URL != nil {
173                 in, out := &in.URL, &out.URL
174                 *out = new(string)
175                 **out = **in
176         }
177         if in.Service != nil {
178                 in, out := &in.Service, &out.Service
179                 *out = new(ServiceReference)
180                 (*in).DeepCopyInto(*out)
181         }
182         if in.CABundle != nil {
183                 in, out := &in.CABundle, &out.CABundle
184                 *out = make([]byte, len(*in))
185                 copy(*out, *in)
186         }
187         return
188 }
189
190 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookClientConfig.
191 func (in *WebhookClientConfig) DeepCopy() *WebhookClientConfig {
192         if in == nil {
193                 return nil
194         }
195         out := new(WebhookClientConfig)
196         in.DeepCopyInto(out)
197         return out
198 }
199
200 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
201 func (in *WebhookThrottleConfig) DeepCopyInto(out *WebhookThrottleConfig) {
202         *out = *in
203         if in.QPS != nil {
204                 in, out := &in.QPS, &out.QPS
205                 *out = new(int64)
206                 **out = **in
207         }
208         if in.Burst != nil {
209                 in, out := &in.Burst, &out.Burst
210                 *out = new(int64)
211                 **out = **in
212         }
213         return
214 }
215
216 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookThrottleConfig.
217 func (in *WebhookThrottleConfig) DeepCopy() *WebhookThrottleConfig {
218         if in == nil {
219                 return nil
220         }
221         out := new(WebhookThrottleConfig)
222         in.DeepCopyInto(out)
223         return out
224 }