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