• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

k8snetworkplumbingwg / sriov-network-operator / 9059795374

13 May 2024 08:34AM UTC coverage: 39.941% (+0.3%) from 39.666%
9059795374

Pull #696

github

web-flow
Merge b18f1cb0e into 8326f5035
Pull Request #696: Followup pr 646

106 of 168 new or added lines in 4 files covered. (63.1%)

3 existing lines in 1 file now uncovered.

5112 of 12799 relevant lines covered (39.94%)

0.44 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

44.39
/api/v1/zz_generated.deepcopy.go
1
//go:build !ignore_autogenerated
2
// +build !ignore_autogenerated
3

4
/*
5
Copyright 2021.
6

7
Licensed under the Apache License, Version 2.0 (the "License");
8
you may not use this file except in compliance with the License.
9
You may obtain a copy of the License at
10

11
    http://www.apache.org/licenses/LICENSE-2.0
12

13
Unless required by applicable law or agreed to in writing, software
14
distributed under the License is distributed on an "AS IS" BASIS,
15
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
See the License for the specific language governing permissions and
17
limitations under the License.
18
*/
19

20
// Code generated by controller-gen. DO NOT EDIT.
21

22
package v1
23

24
import (
25
        metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
26
        runtime "k8s.io/apimachinery/pkg/runtime"
27
        "k8s.io/apimachinery/pkg/util/intstr"
28
)
29

30
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
×
31
func (in ByPriority) DeepCopyInto(out *ByPriority) {
×
32
        {
×
33
                in := &in
×
34
                *out = make(ByPriority, len(*in))
×
35
                for i := range *in {
×
36
                        (*in)[i].DeepCopyInto(&(*out)[i])
×
37
                }
38
        }
39
}
40

41
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ByPriority.
×
42
func (in ByPriority) DeepCopy() ByPriority {
×
43
        if in == nil {
×
44
                return nil
×
45
        }
×
46
        out := new(ByPriority)
×
47
        in.DeepCopyInto(out)
×
48
        return *out
49
}
50

51
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
×
52
func (in *Interface) DeepCopyInto(out *Interface) {
×
53
        *out = *in
×
54
        if in.VfGroups != nil {
×
55
                in, out := &in.VfGroups, &out.VfGroups
×
56
                *out = make([]VfGroup, len(*in))
×
57
                copy(*out, *in)
×
58
        }
59
}
60

61
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Interface.
×
62
func (in *Interface) DeepCopy() *Interface {
×
63
        if in == nil {
×
64
                return nil
×
65
        }
×
66
        out := new(Interface)
×
67
        in.DeepCopyInto(out)
×
68
        return out
69
}
70

71
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1✔
72
func (in *InterfaceExt) DeepCopyInto(out *InterfaceExt) {
1✔
73
        *out = *in
2✔
74
        if in.VFs != nil {
1✔
75
                in, out := &in.VFs, &out.VFs
1✔
76
                *out = make([]VirtualFunction, len(*in))
1✔
77
                copy(*out, *in)
1✔
78
        }
79
}
80

81
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceExt.
×
82
func (in *InterfaceExt) DeepCopy() *InterfaceExt {
×
83
        if in == nil {
×
84
                return nil
×
85
        }
×
86
        out := new(InterfaceExt)
×
87
        in.DeepCopyInto(out)
×
88
        return out
89
}
90

91
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
×
92
func (in InterfaceExts) DeepCopyInto(out *InterfaceExts) {
×
93
        {
×
94
                in := &in
×
95
                *out = make(InterfaceExts, len(*in))
×
96
                for i := range *in {
×
97
                        (*in)[i].DeepCopyInto(&(*out)[i])
×
98
                }
99
        }
100
}
101

102
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceExts.
×
103
func (in InterfaceExts) DeepCopy() InterfaceExts {
×
104
        if in == nil {
×
105
                return nil
×
106
        }
×
107
        out := new(InterfaceExts)
×
108
        in.DeepCopyInto(out)
×
109
        return *out
110
}
111

112
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
×
113
func (in Interfaces) DeepCopyInto(out *Interfaces) {
×
114
        {
×
115
                in := &in
×
116
                *out = make(Interfaces, len(*in))
×
117
                for i := range *in {
×
118
                        (*in)[i].DeepCopyInto(&(*out)[i])
×
119
                }
120
        }
121
}
122

123
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Interfaces.
×
124
func (in Interfaces) DeepCopy() Interfaces {
×
125
        if in == nil {
×
126
                return nil
×
127
        }
×
128
        out := new(Interfaces)
×
129
        in.DeepCopyInto(out)
×
130
        return *out
131
}
132

133
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1✔
134
func (in *OVSNetwork) DeepCopyInto(out *OVSNetwork) {
1✔
135
        *out = *in
1✔
136
        out.TypeMeta = in.TypeMeta
1✔
137
        in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1✔
138
        in.Spec.DeepCopyInto(&out.Spec)
1✔
139
        out.Status = in.Status
1✔
140
}
141

142
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OVSNetwork.
1✔
143
func (in *OVSNetwork) DeepCopy() *OVSNetwork {
1✔
NEW
144
        if in == nil {
×
NEW
145
                return nil
×
146
        }
1✔
147
        out := new(OVSNetwork)
1✔
148
        in.DeepCopyInto(out)
1✔
149
        return out
150
}
151

152
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
1✔
153
func (in *OVSNetwork) DeepCopyObject() runtime.Object {
2✔
154
        if c := in.DeepCopy(); c != nil {
1✔
155
                return c
1✔
NEW
156
        }
×
157
        return nil
158
}
159

160
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1✔
161
func (in *OVSNetworkList) DeepCopyInto(out *OVSNetworkList) {
1✔
162
        *out = *in
1✔
163
        out.TypeMeta = in.TypeMeta
1✔
164
        in.ListMeta.DeepCopyInto(&out.ListMeta)
1✔
NEW
165
        if in.Items != nil {
×
NEW
166
                in, out := &in.Items, &out.Items
×
NEW
167
                *out = make([]OVSNetwork, len(*in))
×
NEW
168
                for i := range *in {
×
NEW
169
                        (*in)[i].DeepCopyInto(&(*out)[i])
×
170
                }
171
        }
172
}
173

174
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OVSNetworkList.
1✔
175
func (in *OVSNetworkList) DeepCopy() *OVSNetworkList {
1✔
NEW
176
        if in == nil {
×
NEW
177
                return nil
×
178
        }
1✔
179
        out := new(OVSNetworkList)
1✔
180
        in.DeepCopyInto(out)
1✔
181
        return out
182
}
183

184
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
1✔
185
func (in *OVSNetworkList) DeepCopyObject() runtime.Object {
2✔
186
        if c := in.DeepCopy(); c != nil {
1✔
187
                return c
1✔
NEW
188
        }
×
189
        return nil
190
}
191

192
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1✔
193
func (in *OVSNetworkSpec) DeepCopyInto(out *OVSNetworkSpec) {
1✔
194
        *out = *in
1✔
NEW
195
        if in.Trunk != nil {
×
NEW
196
                in, out := &in.Trunk, &out.Trunk
×
NEW
197
                *out = make([]*TrunkConfig, len(*in))
×
NEW
198
                for i := range *in {
×
NEW
199
                        if (*in)[i] != nil {
×
NEW
200
                                in, out := &(*in)[i], &(*out)[i]
×
NEW
201
                                *out = new(TrunkConfig)
×
NEW
202
                                (*in).DeepCopyInto(*out)
×
203
                        }
204
                }
205
        }
206
}
207

NEW
208
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OVSNetworkSpec.
×
NEW
209
func (in *OVSNetworkSpec) DeepCopy() *OVSNetworkSpec {
×
NEW
210
        if in == nil {
×
NEW
211
                return nil
×
NEW
212
        }
×
NEW
213
        out := new(OVSNetworkSpec)
×
NEW
214
        in.DeepCopyInto(out)
×
215
        return out
216
}
217

NEW
218
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
×
NEW
219
func (in *OVSNetworkStatus) DeepCopyInto(out *OVSNetworkStatus) {
×
NEW
220
        *out = *in
×
221
}
222

NEW
223
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OVSNetworkStatus.
×
NEW
224
func (in *OVSNetworkStatus) DeepCopy() *OVSNetworkStatus {
×
NEW
225
        if in == nil {
×
NEW
226
                return nil
×
NEW
227
        }
×
NEW
228
        out := new(OVSNetworkStatus)
×
NEW
229
        in.DeepCopyInto(out)
×
230
        return out
231
}
232

233
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
×
234
func (in *OvsHardwareOffloadConfig) DeepCopyInto(out *OvsHardwareOffloadConfig) {
×
235
        *out = *in
×
236
}
237

238
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvsHardwareOffloadConfig.
×
239
func (in *OvsHardwareOffloadConfig) DeepCopy() *OvsHardwareOffloadConfig {
×
240
        if in == nil {
×
241
                return nil
×
242
        }
×
243
        out := new(OvsHardwareOffloadConfig)
×
244
        in.DeepCopyInto(out)
×
245
        return out
246
}
247

248
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
×
249
func (in PluginNameSlice) DeepCopyInto(out *PluginNameSlice) {
×
250
        {
×
251
                in := &in
×
252
                *out = make(PluginNameSlice, len(*in))
×
253
                copy(*out, *in)
×
254
        }
255
}
256

257
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginNameSlice.
×
258
func (in PluginNameSlice) DeepCopy() PluginNameSlice {
×
259
        if in == nil {
×
260
                return nil
×
261
        }
×
262
        out := new(PluginNameSlice)
×
263
        in.DeepCopyInto(out)
×
264
        return *out
265
}
266

267
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1✔
268
func (in *SriovIBNetwork) DeepCopyInto(out *SriovIBNetwork) {
1✔
269
        *out = *in
1✔
270
        out.TypeMeta = in.TypeMeta
1✔
271
        in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1✔
272
        out.Spec = in.Spec
1✔
273
        out.Status = in.Status
1✔
274
}
275

276
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovIBNetwork.
1✔
277
func (in *SriovIBNetwork) DeepCopy() *SriovIBNetwork {
1✔
278
        if in == nil {
×
279
                return nil
×
280
        }
1✔
281
        out := new(SriovIBNetwork)
1✔
282
        in.DeepCopyInto(out)
1✔
283
        return out
284
}
285

286
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
1✔
287
func (in *SriovIBNetwork) DeepCopyObject() runtime.Object {
2✔
288
        if c := in.DeepCopy(); c != nil {
1✔
289
                return c
1✔
290
        }
×
291
        return nil
292
}
293

294
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1✔
295
func (in *SriovIBNetworkList) DeepCopyInto(out *SriovIBNetworkList) {
1✔
296
        *out = *in
1✔
297
        out.TypeMeta = in.TypeMeta
1✔
298
        in.ListMeta.DeepCopyInto(&out.ListMeta)
1✔
299
        if in.Items != nil {
×
300
                in, out := &in.Items, &out.Items
×
301
                *out = make([]SriovIBNetwork, len(*in))
×
302
                for i := range *in {
×
303
                        (*in)[i].DeepCopyInto(&(*out)[i])
×
304
                }
305
        }
306
}
307

308
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovIBNetworkList.
1✔
309
func (in *SriovIBNetworkList) DeepCopy() *SriovIBNetworkList {
1✔
310
        if in == nil {
×
311
                return nil
×
312
        }
1✔
313
        out := new(SriovIBNetworkList)
1✔
314
        in.DeepCopyInto(out)
1✔
315
        return out
316
}
317

318
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
1✔
319
func (in *SriovIBNetworkList) DeepCopyObject() runtime.Object {
2✔
320
        if c := in.DeepCopy(); c != nil {
1✔
321
                return c
1✔
322
        }
×
323
        return nil
324
}
325

326
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
×
327
func (in *SriovIBNetworkSpec) DeepCopyInto(out *SriovIBNetworkSpec) {
×
328
        *out = *in
×
329
}
330

331
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovIBNetworkSpec.
×
332
func (in *SriovIBNetworkSpec) DeepCopy() *SriovIBNetworkSpec {
×
333
        if in == nil {
×
334
                return nil
×
335
        }
×
336
        out := new(SriovIBNetworkSpec)
×
337
        in.DeepCopyInto(out)
×
338
        return out
339
}
340

341
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
×
342
func (in *SriovIBNetworkStatus) DeepCopyInto(out *SriovIBNetworkStatus) {
×
343
        *out = *in
×
344
}
345

346
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovIBNetworkStatus.
×
347
func (in *SriovIBNetworkStatus) DeepCopy() *SriovIBNetworkStatus {
×
348
        if in == nil {
×
349
                return nil
×
350
        }
×
351
        out := new(SriovIBNetworkStatus)
×
352
        in.DeepCopyInto(out)
×
353
        return out
354
}
355

356
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1✔
357
func (in *SriovNetwork) DeepCopyInto(out *SriovNetwork) {
1✔
358
        *out = *in
1✔
359
        out.TypeMeta = in.TypeMeta
1✔
360
        in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1✔
361
        in.Spec.DeepCopyInto(&out.Spec)
1✔
362
        out.Status = in.Status
1✔
363
}
364

365
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetwork.
1✔
366
func (in *SriovNetwork) DeepCopy() *SriovNetwork {
1✔
367
        if in == nil {
×
368
                return nil
×
369
        }
1✔
370
        out := new(SriovNetwork)
1✔
371
        in.DeepCopyInto(out)
1✔
372
        return out
373
}
374

375
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
1✔
376
func (in *SriovNetwork) DeepCopyObject() runtime.Object {
2✔
377
        if c := in.DeepCopy(); c != nil {
1✔
378
                return c
1✔
379
        }
×
380
        return nil
381
}
382

383
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1✔
384
func (in *SriovNetworkList) DeepCopyInto(out *SriovNetworkList) {
1✔
385
        *out = *in
1✔
386
        out.TypeMeta = in.TypeMeta
1✔
387
        in.ListMeta.DeepCopyInto(&out.ListMeta)
1✔
388
        if in.Items != nil {
×
389
                in, out := &in.Items, &out.Items
×
390
                *out = make([]SriovNetwork, len(*in))
×
391
                for i := range *in {
×
392
                        (*in)[i].DeepCopyInto(&(*out)[i])
×
393
                }
394
        }
395
}
396

397
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkList.
1✔
398
func (in *SriovNetworkList) DeepCopy() *SriovNetworkList {
1✔
399
        if in == nil {
×
400
                return nil
×
401
        }
1✔
402
        out := new(SriovNetworkList)
1✔
403
        in.DeepCopyInto(out)
1✔
404
        return out
405
}
406

407
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
1✔
408
func (in *SriovNetworkList) DeepCopyObject() runtime.Object {
2✔
409
        if c := in.DeepCopy(); c != nil {
1✔
410
                return c
1✔
411
        }
×
412
        return nil
413
}
414

415
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1✔
416
func (in *SriovNetworkNicSelector) DeepCopyInto(out *SriovNetworkNicSelector) {
1✔
417
        *out = *in
1✔
418
        if in.RootDevices != nil {
×
419
                in, out := &in.RootDevices, &out.RootDevices
×
420
                *out = make([]string, len(*in))
×
421
                copy(*out, *in)
×
422
        }
1✔
423
        if in.PfNames != nil {
×
424
                in, out := &in.PfNames, &out.PfNames
×
425
                *out = make([]string, len(*in))
×
426
                copy(*out, *in)
×
427
        }
428
}
429

430
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkNicSelector.
×
431
func (in *SriovNetworkNicSelector) DeepCopy() *SriovNetworkNicSelector {
×
432
        if in == nil {
×
433
                return nil
×
434
        }
×
435
        out := new(SriovNetworkNicSelector)
×
436
        in.DeepCopyInto(out)
×
437
        return out
438
}
439

440
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1✔
441
func (in *SriovNetworkNodePolicy) DeepCopyInto(out *SriovNetworkNodePolicy) {
1✔
442
        *out = *in
1✔
443
        out.TypeMeta = in.TypeMeta
1✔
444
        in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1✔
445
        in.Spec.DeepCopyInto(&out.Spec)
1✔
446
        out.Status = in.Status
1✔
447
}
448

449
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkNodePolicy.
1✔
450
func (in *SriovNetworkNodePolicy) DeepCopy() *SriovNetworkNodePolicy {
1✔
451
        if in == nil {
×
452
                return nil
×
453
        }
1✔
454
        out := new(SriovNetworkNodePolicy)
1✔
455
        in.DeepCopyInto(out)
1✔
456
        return out
457
}
458

459
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
1✔
460
func (in *SriovNetworkNodePolicy) DeepCopyObject() runtime.Object {
2✔
461
        if c := in.DeepCopy(); c != nil {
1✔
462
                return c
1✔
463
        }
×
464
        return nil
465
}
466

467
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1✔
468
func (in *SriovNetworkNodePolicyList) DeepCopyInto(out *SriovNetworkNodePolicyList) {
1✔
469
        *out = *in
1✔
470
        out.TypeMeta = in.TypeMeta
1✔
471
        in.ListMeta.DeepCopyInto(&out.ListMeta)
1✔
472
        if in.Items != nil {
×
473
                in, out := &in.Items, &out.Items
×
474
                *out = make([]SriovNetworkNodePolicy, len(*in))
×
475
                for i := range *in {
×
476
                        (*in)[i].DeepCopyInto(&(*out)[i])
×
477
                }
478
        }
479
}
480

481
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkNodePolicyList.
1✔
482
func (in *SriovNetworkNodePolicyList) DeepCopy() *SriovNetworkNodePolicyList {
1✔
483
        if in == nil {
×
484
                return nil
×
485
        }
1✔
486
        out := new(SriovNetworkNodePolicyList)
1✔
487
        in.DeepCopyInto(out)
1✔
488
        return out
489
}
490

491
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
1✔
492
func (in *SriovNetworkNodePolicyList) DeepCopyObject() runtime.Object {
2✔
493
        if c := in.DeepCopy(); c != nil {
1✔
494
                return c
1✔
495
        }
×
496
        return nil
497
}
498

499
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1✔
500
func (in *SriovNetworkNodePolicySpec) DeepCopyInto(out *SriovNetworkNodePolicySpec) {
1✔
501
        *out = *in
2✔
502
        if in.NodeSelector != nil {
1✔
503
                in, out := &in.NodeSelector, &out.NodeSelector
1✔
504
                *out = make(map[string]string, len(*in))
2✔
505
                for key, val := range *in {
1✔
506
                        (*out)[key] = val
1✔
507
                }
508
        }
1✔
509
        in.NicSelector.DeepCopyInto(&out.NicSelector)
510
}
511

512
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkNodePolicySpec.
×
513
func (in *SriovNetworkNodePolicySpec) DeepCopy() *SriovNetworkNodePolicySpec {
×
514
        if in == nil {
×
515
                return nil
×
516
        }
×
517
        out := new(SriovNetworkNodePolicySpec)
×
518
        in.DeepCopyInto(out)
×
519
        return out
520
}
521

522
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
×
523
func (in *SriovNetworkNodePolicyStatus) DeepCopyInto(out *SriovNetworkNodePolicyStatus) {
×
524
        *out = *in
×
525
}
526

527
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkNodePolicyStatus.
×
528
func (in *SriovNetworkNodePolicyStatus) DeepCopy() *SriovNetworkNodePolicyStatus {
×
529
        if in == nil {
×
530
                return nil
×
531
        }
×
532
        out := new(SriovNetworkNodePolicyStatus)
×
533
        in.DeepCopyInto(out)
×
534
        return out
535
}
536

537
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1✔
538
func (in *SriovNetworkNodeState) DeepCopyInto(out *SriovNetworkNodeState) {
1✔
539
        *out = *in
1✔
540
        out.TypeMeta = in.TypeMeta
1✔
541
        in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1✔
542
        in.Spec.DeepCopyInto(&out.Spec)
1✔
543
        in.Status.DeepCopyInto(&out.Status)
1✔
544
}
545

546
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkNodeState.
1✔
547
func (in *SriovNetworkNodeState) DeepCopy() *SriovNetworkNodeState {
1✔
548
        if in == nil {
×
549
                return nil
×
550
        }
1✔
551
        out := new(SriovNetworkNodeState)
1✔
552
        in.DeepCopyInto(out)
1✔
553
        return out
554
}
555

556
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
1✔
557
func (in *SriovNetworkNodeState) DeepCopyObject() runtime.Object {
2✔
558
        if c := in.DeepCopy(); c != nil {
1✔
559
                return c
1✔
560
        }
×
561
        return nil
562
}
563

564
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1✔
565
func (in *SriovNetworkNodeStateList) DeepCopyInto(out *SriovNetworkNodeStateList) {
1✔
566
        *out = *in
1✔
567
        out.TypeMeta = in.TypeMeta
1✔
568
        in.ListMeta.DeepCopyInto(&out.ListMeta)
2✔
569
        if in.Items != nil {
1✔
570
                in, out := &in.Items, &out.Items
1✔
571
                *out = make([]SriovNetworkNodeState, len(*in))
2✔
572
                for i := range *in {
1✔
573
                        (*in)[i].DeepCopyInto(&(*out)[i])
1✔
574
                }
575
        }
576
}
577

578
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkNodeStateList.
1✔
579
func (in *SriovNetworkNodeStateList) DeepCopy() *SriovNetworkNodeStateList {
1✔
580
        if in == nil {
×
581
                return nil
×
582
        }
1✔
583
        out := new(SriovNetworkNodeStateList)
1✔
584
        in.DeepCopyInto(out)
1✔
585
        return out
586
}
587

588
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
1✔
589
func (in *SriovNetworkNodeStateList) DeepCopyObject() runtime.Object {
2✔
590
        if c := in.DeepCopy(); c != nil {
1✔
591
                return c
1✔
592
        }
×
593
        return nil
594
}
595

596
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1✔
597
func (in *SriovNetworkNodeStateSpec) DeepCopyInto(out *SriovNetworkNodeStateSpec) {
1✔
598
        *out = *in
1✔
599
        if in.Interfaces != nil {
×
600
                in, out := &in.Interfaces, &out.Interfaces
×
601
                *out = make(Interfaces, len(*in))
×
602
                for i := range *in {
×
603
                        (*in)[i].DeepCopyInto(&(*out)[i])
×
604
                }
605
        }
606
}
607

608
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkNodeStateSpec.
×
609
func (in *SriovNetworkNodeStateSpec) DeepCopy() *SriovNetworkNodeStateSpec {
×
610
        if in == nil {
×
611
                return nil
×
612
        }
×
613
        out := new(SriovNetworkNodeStateSpec)
×
614
        in.DeepCopyInto(out)
×
615
        return out
616
}
617

618
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1✔
619
func (in *SriovNetworkNodeStateStatus) DeepCopyInto(out *SriovNetworkNodeStateStatus) {
1✔
620
        *out = *in
2✔
621
        if in.Interfaces != nil {
1✔
622
                in, out := &in.Interfaces, &out.Interfaces
1✔
623
                *out = make(InterfaceExts, len(*in))
2✔
624
                for i := range *in {
1✔
625
                        (*in)[i].DeepCopyInto(&(*out)[i])
1✔
626
                }
627
        }
628
}
629

630
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkNodeStateStatus.
×
631
func (in *SriovNetworkNodeStateStatus) DeepCopy() *SriovNetworkNodeStateStatus {
×
632
        if in == nil {
×
633
                return nil
×
634
        }
×
635
        out := new(SriovNetworkNodeStateStatus)
×
636
        in.DeepCopyInto(out)
×
637
        return out
638
}
639

640
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1✔
641
func (in *SriovNetworkPoolConfig) DeepCopyInto(out *SriovNetworkPoolConfig) {
1✔
642
        *out = *in
1✔
643
        out.TypeMeta = in.TypeMeta
1✔
644
        in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1✔
645
        in.Spec.DeepCopyInto(&out.Spec)
1✔
646
        out.Status = in.Status
1✔
647
}
648

649
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkPoolConfig.
1✔
650
func (in *SriovNetworkPoolConfig) DeepCopy() *SriovNetworkPoolConfig {
1✔
651
        if in == nil {
×
652
                return nil
×
653
        }
1✔
654
        out := new(SriovNetworkPoolConfig)
1✔
655
        in.DeepCopyInto(out)
1✔
656
        return out
657
}
658

659
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
1✔
660
func (in *SriovNetworkPoolConfig) DeepCopyObject() runtime.Object {
2✔
661
        if c := in.DeepCopy(); c != nil {
1✔
662
                return c
1✔
663
        }
×
664
        return nil
665
}
666

667
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1✔
668
func (in *SriovNetworkPoolConfigList) DeepCopyInto(out *SriovNetworkPoolConfigList) {
1✔
669
        *out = *in
1✔
670
        out.TypeMeta = in.TypeMeta
1✔
671
        in.ListMeta.DeepCopyInto(&out.ListMeta)
1✔
672
        if in.Items != nil {
×
673
                in, out := &in.Items, &out.Items
×
674
                *out = make([]SriovNetworkPoolConfig, len(*in))
×
675
                for i := range *in {
×
676
                        (*in)[i].DeepCopyInto(&(*out)[i])
×
677
                }
678
        }
679
}
680

681
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkPoolConfigList.
1✔
682
func (in *SriovNetworkPoolConfigList) DeepCopy() *SriovNetworkPoolConfigList {
1✔
683
        if in == nil {
×
684
                return nil
×
685
        }
1✔
686
        out := new(SriovNetworkPoolConfigList)
1✔
687
        in.DeepCopyInto(out)
1✔
688
        return out
689
}
690

691
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
1✔
692
func (in *SriovNetworkPoolConfigList) DeepCopyObject() runtime.Object {
2✔
693
        if c := in.DeepCopy(); c != nil {
1✔
694
                return c
1✔
695
        }
×
696
        return nil
697
}
698

699
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1✔
700
func (in *SriovNetworkPoolConfigSpec) DeepCopyInto(out *SriovNetworkPoolConfigSpec) {
1✔
701
        *out = *in
1✔
702
        out.OvsHardwareOffloadConfig = in.OvsHardwareOffloadConfig
2✔
703
        if in.NodeSelector != nil {
1✔
704
                in, out := &in.NodeSelector, &out.NodeSelector
1✔
705
                *out = new(metav1.LabelSelector)
1✔
706
                (*in).DeepCopyInto(*out)
1✔
707
        }
2✔
708
        if in.MaxUnavailable != nil {
1✔
709
                in, out := &in.MaxUnavailable, &out.MaxUnavailable
1✔
710
                *out = new(intstr.IntOrString)
1✔
711
                **out = **in
1✔
712
        }
713
}
714

715
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkPoolConfigSpec.
×
716
func (in *SriovNetworkPoolConfigSpec) DeepCopy() *SriovNetworkPoolConfigSpec {
×
717
        if in == nil {
×
718
                return nil
×
719
        }
×
720
        out := new(SriovNetworkPoolConfigSpec)
×
721
        in.DeepCopyInto(out)
×
722
        return out
723
}
724

725
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
×
726
func (in *SriovNetworkPoolConfigStatus) DeepCopyInto(out *SriovNetworkPoolConfigStatus) {
×
727
        *out = *in
×
728
}
729

730
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkPoolConfigStatus.
×
731
func (in *SriovNetworkPoolConfigStatus) DeepCopy() *SriovNetworkPoolConfigStatus {
×
732
        if in == nil {
×
733
                return nil
×
734
        }
×
735
        out := new(SriovNetworkPoolConfigStatus)
×
736
        in.DeepCopyInto(out)
×
737
        return out
738
}
739

740
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1✔
741
func (in *SriovNetworkSpec) DeepCopyInto(out *SriovNetworkSpec) {
1✔
742
        *out = *in
1✔
743
        if in.MinTxRate != nil {
×
744
                in, out := &in.MinTxRate, &out.MinTxRate
×
745
                *out = new(int)
×
746
                **out = **in
×
747
        }
1✔
748
        if in.MaxTxRate != nil {
×
749
                in, out := &in.MaxTxRate, &out.MaxTxRate
×
750
                *out = new(int)
×
751
                **out = **in
×
752
        }
753
}
754

755
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkSpec.
×
756
func (in *SriovNetworkSpec) DeepCopy() *SriovNetworkSpec {
×
757
        if in == nil {
×
758
                return nil
×
759
        }
×
760
        out := new(SriovNetworkSpec)
×
761
        in.DeepCopyInto(out)
×
762
        return out
763
}
764

765
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
×
766
func (in *SriovNetworkStatus) DeepCopyInto(out *SriovNetworkStatus) {
×
767
        *out = *in
×
768
}
769

770
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovNetworkStatus.
×
771
func (in *SriovNetworkStatus) DeepCopy() *SriovNetworkStatus {
×
772
        if in == nil {
×
773
                return nil
×
774
        }
×
775
        out := new(SriovNetworkStatus)
×
776
        in.DeepCopyInto(out)
×
777
        return out
778
}
779

780
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1✔
781
func (in *SriovOperatorConfig) DeepCopyInto(out *SriovOperatorConfig) {
1✔
782
        *out = *in
1✔
783
        out.TypeMeta = in.TypeMeta
1✔
784
        in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1✔
785
        in.Spec.DeepCopyInto(&out.Spec)
1✔
786
        out.Status = in.Status
1✔
787
}
788

789
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovOperatorConfig.
1✔
790
func (in *SriovOperatorConfig) DeepCopy() *SriovOperatorConfig {
1✔
791
        if in == nil {
×
792
                return nil
×
793
        }
1✔
794
        out := new(SriovOperatorConfig)
1✔
795
        in.DeepCopyInto(out)
1✔
796
        return out
797
}
798

799
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
1✔
800
func (in *SriovOperatorConfig) DeepCopyObject() runtime.Object {
2✔
801
        if c := in.DeepCopy(); c != nil {
1✔
802
                return c
1✔
803
        }
×
804
        return nil
805
}
806

807
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1✔
808
func (in *SriovOperatorConfigList) DeepCopyInto(out *SriovOperatorConfigList) {
1✔
809
        *out = *in
1✔
810
        out.TypeMeta = in.TypeMeta
1✔
811
        in.ListMeta.DeepCopyInto(&out.ListMeta)
1✔
812
        if in.Items != nil {
×
813
                in, out := &in.Items, &out.Items
×
814
                *out = make([]SriovOperatorConfig, len(*in))
×
815
                for i := range *in {
×
816
                        (*in)[i].DeepCopyInto(&(*out)[i])
×
817
                }
818
        }
819
}
820

821
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovOperatorConfigList.
1✔
822
func (in *SriovOperatorConfigList) DeepCopy() *SriovOperatorConfigList {
1✔
823
        if in == nil {
×
824
                return nil
×
825
        }
1✔
826
        out := new(SriovOperatorConfigList)
1✔
827
        in.DeepCopyInto(out)
1✔
828
        return out
829
}
830

831
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
1✔
832
func (in *SriovOperatorConfigList) DeepCopyObject() runtime.Object {
2✔
833
        if c := in.DeepCopy(); c != nil {
1✔
834
                return c
1✔
835
        }
×
836
        return nil
837
}
838

839
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1✔
840
func (in *SriovOperatorConfigSpec) DeepCopyInto(out *SriovOperatorConfigSpec) {
1✔
841
        *out = *in
2✔
842
        if in.ConfigDaemonNodeSelector != nil {
1✔
843
                in, out := &in.ConfigDaemonNodeSelector, &out.ConfigDaemonNodeSelector
1✔
844
                *out = make(map[string]string, len(*in))
2✔
845
                for key, val := range *in {
1✔
846
                        (*out)[key] = val
1✔
847
                }
848
        }
2✔
849
        if in.DisablePlugins != nil {
1✔
850
                in, out := &in.DisablePlugins, &out.DisablePlugins
1✔
851
                *out = make(PluginNameSlice, len(*in))
1✔
852
                copy(*out, *in)
1✔
853
        }
2✔
854
        if in.FeatureGates != nil {
1✔
855
                in, out := &in.FeatureGates, &out.FeatureGates
1✔
856
                *out = make(map[string]bool, len(*in))
2✔
857
                for key, val := range *in {
1✔
858
                        (*out)[key] = val
1✔
859
                }
860
        }
861
}
862

863
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovOperatorConfigSpec.
×
864
func (in *SriovOperatorConfigSpec) DeepCopy() *SriovOperatorConfigSpec {
×
865
        if in == nil {
×
866
                return nil
×
867
        }
×
868
        out := new(SriovOperatorConfigSpec)
×
869
        in.DeepCopyInto(out)
×
870
        return out
871
}
872

873
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
×
874
func (in *SriovOperatorConfigStatus) DeepCopyInto(out *SriovOperatorConfigStatus) {
×
875
        *out = *in
×
876
}
877

878
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovOperatorConfigStatus.
×
879
func (in *SriovOperatorConfigStatus) DeepCopy() *SriovOperatorConfigStatus {
×
880
        if in == nil {
×
881
                return nil
×
882
        }
×
883
        out := new(SriovOperatorConfigStatus)
×
884
        in.DeepCopyInto(out)
×
885
        return out
886
}
887

NEW
888
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
×
NEW
889
func (in *TrunkConfig) DeepCopyInto(out *TrunkConfig) {
×
NEW
890
        *out = *in
×
NEW
891
        if in.MinID != nil {
×
NEW
892
                in, out := &in.MinID, &out.MinID
×
NEW
893
                *out = new(uint)
×
NEW
894
                **out = **in
×
NEW
895
        }
×
NEW
896
        if in.MaxID != nil {
×
NEW
897
                in, out := &in.MaxID, &out.MaxID
×
NEW
898
                *out = new(uint)
×
NEW
899
                **out = **in
×
NEW
900
        }
×
NEW
901
        if in.ID != nil {
×
NEW
902
                in, out := &in.ID, &out.ID
×
NEW
903
                *out = new(uint)
×
NEW
904
                **out = **in
×
905
        }
906
}
907

NEW
908
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrunkConfig.
×
NEW
909
func (in *TrunkConfig) DeepCopy() *TrunkConfig {
×
NEW
910
        if in == nil {
×
NEW
911
                return nil
×
NEW
912
        }
×
NEW
913
        out := new(TrunkConfig)
×
NEW
914
        in.DeepCopyInto(out)
×
915
        return out
916
}
917

918
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
×
919
func (in *VfGroup) DeepCopyInto(out *VfGroup) {
×
920
        *out = *in
×
921
}
922

923
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VfGroup.
×
924
func (in *VfGroup) DeepCopy() *VfGroup {
×
925
        if in == nil {
×
926
                return nil
×
927
        }
×
928
        out := new(VfGroup)
×
929
        in.DeepCopyInto(out)
×
930
        return out
931
}
932

933
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
×
934
func (in *VirtualFunction) DeepCopyInto(out *VirtualFunction) {
×
935
        *out = *in
×
936
}
937

938
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualFunction.
×
939
func (in *VirtualFunction) DeepCopy() *VirtualFunction {
×
940
        if in == nil {
×
941
                return nil
×
942
        }
×
943
        out := new(VirtualFunction)
×
944
        in.DeepCopyInto(out)
×
945
        return out
946
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc