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

NVIDIA / gpu-operator / 29513807383

16 Jul 2026 03:58PM UTC coverage: 32.688% (+0.9%) from 31.812%
29513807383

Pull #2571

github

karthikvetrivel
Add golden render tests for GPUCluster operand manifests

Signed-off-by: Karthik Vetrivel <kvetrivel@nvidia.com>
Pull Request #2571: Add GPUCluster CRD and controller for DRA-based stack

513 of 1343 new or added lines in 31 files covered. (38.2%)

5 existing lines in 4 files now uncovered.

4663 of 14265 relevant lines covered (32.69%)

0.37 hits per line

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

0.0
/api/nvidia/v1alpha1/zz_generated.deepcopy.go
1
//go:build !ignore_autogenerated
2

3
/**
4
# Copyright (c) NVIDIA CORPORATION.  All rights reserved.
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 controller-gen. DO NOT EDIT.
20

21
package v1alpha1
22

23
import (
24
        "github.com/NVIDIA/gpu-operator/api/nvidia/v1"
25
        corev1 "k8s.io/api/core/v1"
26
        metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
27
        "k8s.io/apimachinery/pkg/runtime"
28
        "k8s.io/apimachinery/pkg/util/intstr"
29
)
30

31
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
32
func (in *ContainerProbeSpec) DeepCopyInto(out *ContainerProbeSpec) {
×
33
        *out = *in
×
34
}
×
35

36
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerProbeSpec.
37
func (in *ContainerProbeSpec) DeepCopy() *ContainerProbeSpec {
×
38
        if in == nil {
×
39
                return nil
×
40
        }
×
41
        out := new(ContainerProbeSpec)
×
42
        in.DeepCopyInto(out)
×
43
        return out
×
44
}
45

46
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
NEW
47
func (in *DRADriverComputeDomainsSpec) DeepCopyInto(out *DRADriverComputeDomainsSpec) {
×
NEW
48
        *out = *in
×
NEW
49
        if in.Enabled != nil {
×
NEW
50
                in, out := &in.Enabled, &out.Enabled
×
NEW
51
                *out = new(bool)
×
NEW
52
                **out = **in
×
NEW
53
        }
×
NEW
54
        in.Controller.DeepCopyInto(&out.Controller)
×
NEW
55
        in.KubeletPlugin.DeepCopyInto(&out.KubeletPlugin)
×
56
}
57

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

68
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
NEW
69
func (in *DRADriverControllerSpec) DeepCopyInto(out *DRADriverControllerSpec) {
×
NEW
70
        *out = *in
×
NEW
71
        if in.Env != nil {
×
NEW
72
                in, out := &in.Env, &out.Env
×
NEW
73
                *out = make([]v1.EnvVar, len(*in))
×
NEW
74
                copy(*out, *in)
×
NEW
75
        }
×
NEW
76
        if in.Resources != nil {
×
NEW
77
                in, out := &in.Resources, &out.Resources
×
NEW
78
                *out = new(v1.ResourceRequirements)
×
NEW
79
                (*in).DeepCopyInto(*out)
×
NEW
80
        }
×
81
}
82

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

93
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
NEW
94
func (in *DRADriverGPUsSpec) DeepCopyInto(out *DRADriverGPUsSpec) {
×
NEW
95
        *out = *in
×
NEW
96
        in.KubeletPlugin.DeepCopyInto(&out.KubeletPlugin)
×
NEW
97
}
×
98

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

109
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
NEW
110
func (in *DRADriverKubeletPluginSpec) DeepCopyInto(out *DRADriverKubeletPluginSpec) {
×
NEW
111
        *out = *in
×
NEW
112
        if in.Env != nil {
×
NEW
113
                in, out := &in.Env, &out.Env
×
NEW
114
                *out = make([]v1.EnvVar, len(*in))
×
NEW
115
                copy(*out, *in)
×
NEW
116
        }
×
NEW
117
        if in.Resources != nil {
×
NEW
118
                in, out := &in.Resources, &out.Resources
×
NEW
119
                *out = new(v1.ResourceRequirements)
×
NEW
120
                (*in).DeepCopyInto(*out)
×
NEW
121
        }
×
NEW
122
        if in.HealthcheckPort != nil {
×
NEW
123
                in, out := &in.HealthcheckPort, &out.HealthcheckPort
×
NEW
124
                *out = new(int32)
×
NEW
125
                **out = **in
×
NEW
126
        }
×
127
}
128

129
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DRADriverKubeletPluginSpec.
NEW
130
func (in *DRADriverKubeletPluginSpec) DeepCopy() *DRADriverKubeletPluginSpec {
×
NEW
131
        if in == nil {
×
NEW
132
                return nil
×
NEW
133
        }
×
NEW
134
        out := new(DRADriverKubeletPluginSpec)
×
NEW
135
        in.DeepCopyInto(out)
×
NEW
136
        return out
×
137
}
138

139
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
NEW
140
func (in *DRADriverSpec) DeepCopyInto(out *DRADriverSpec) {
×
NEW
141
        *out = *in
×
NEW
142
        if in.ImagePullSecrets != nil {
×
NEW
143
                in, out := &in.ImagePullSecrets, &out.ImagePullSecrets
×
NEW
144
                *out = make([]string, len(*in))
×
NEW
145
                copy(*out, *in)
×
NEW
146
        }
×
NEW
147
        if in.FeatureGates != nil {
×
NEW
148
                in, out := &in.FeatureGates, &out.FeatureGates
×
NEW
149
                *out = make(map[string]bool, len(*in))
×
NEW
150
                for key, val := range *in {
×
NEW
151
                        (*out)[key] = val
×
NEW
152
                }
×
153
        }
NEW
154
        in.GPUs.DeepCopyInto(&out.GPUs)
×
NEW
155
        in.ComputeDomains.DeepCopyInto(&out.ComputeDomains)
×
156
}
157

158
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DRADriverSpec.
NEW
159
func (in *DRADriverSpec) DeepCopy() *DRADriverSpec {
×
NEW
160
        if in == nil {
×
NEW
161
                return nil
×
NEW
162
        }
×
NEW
163
        out := new(DRADriverSpec)
×
NEW
164
        in.DeepCopyInto(out)
×
NEW
165
        return out
×
166
}
167

168
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
169
func (in *DriverCertConfigSpec) DeepCopyInto(out *DriverCertConfigSpec) {
×
170
        *out = *in
×
171
}
×
172

173
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DriverCertConfigSpec.
174
func (in *DriverCertConfigSpec) DeepCopy() *DriverCertConfigSpec {
×
175
        if in == nil {
×
176
                return nil
×
177
        }
×
178
        out := new(DriverCertConfigSpec)
×
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 *DriverLicensingConfigSpec) DeepCopyInto(out *DriverLicensingConfigSpec) {
×
185
        *out = *in
×
186
        if in.NLSEnabled != nil {
×
187
                in, out := &in.NLSEnabled, &out.NLSEnabled
×
188
                *out = new(bool)
×
189
                **out = **in
×
190
        }
×
191
}
192

193
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DriverLicensingConfigSpec.
194
func (in *DriverLicensingConfigSpec) DeepCopy() *DriverLicensingConfigSpec {
×
195
        if in == nil {
×
196
                return nil
×
197
        }
×
198
        out := new(DriverLicensingConfigSpec)
×
199
        in.DeepCopyInto(out)
×
200
        return out
×
201
}
202

203
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
204
func (in *DriverManagerSpec) DeepCopyInto(out *DriverManagerSpec) {
×
205
        *out = *in
×
206
        if in.ImagePullSecrets != nil {
×
207
                in, out := &in.ImagePullSecrets, &out.ImagePullSecrets
×
208
                *out = make([]string, len(*in))
×
209
                copy(*out, *in)
×
210
        }
×
211
        if in.Env != nil {
×
212
                in, out := &in.Env, &out.Env
×
213
                *out = make([]EnvVar, len(*in))
×
214
                copy(*out, *in)
×
215
        }
×
216
}
217

218
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DriverManagerSpec.
219
func (in *DriverManagerSpec) DeepCopy() *DriverManagerSpec {
×
220
        if in == nil {
×
221
                return nil
×
222
        }
×
223
        out := new(DriverManagerSpec)
×
224
        in.DeepCopyInto(out)
×
225
        return out
×
226
}
227

228
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
229
func (in *DriverRepoConfigSpec) DeepCopyInto(out *DriverRepoConfigSpec) {
×
230
        *out = *in
×
231
}
×
232

233
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DriverRepoConfigSpec.
234
func (in *DriverRepoConfigSpec) DeepCopy() *DriverRepoConfigSpec {
×
235
        if in == nil {
×
236
                return nil
×
237
        }
×
238
        out := new(DriverRepoConfigSpec)
×
239
        in.DeepCopyInto(out)
×
240
        return out
×
241
}
242

243
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
244
func (in *DriverUpgradePolicySpec) DeepCopyInto(out *DriverUpgradePolicySpec) {
×
245
        *out = *in
×
246
        if in.MaxUnavailable != nil {
×
247
                in, out := &in.MaxUnavailable, &out.MaxUnavailable
×
248
                *out = new(intstr.IntOrString)
×
249
                **out = **in
×
250
        }
×
251
        if in.PodDeletion != nil {
×
252
                in, out := &in.PodDeletion, &out.PodDeletion
×
253
                *out = new(PodDeletionSpec)
×
254
                **out = **in
×
255
        }
×
256
        if in.WaitForCompletion != nil {
×
257
                in, out := &in.WaitForCompletion, &out.WaitForCompletion
×
258
                *out = new(WaitForCompletionSpec)
×
259
                **out = **in
×
260
        }
×
261
        if in.DrainSpec != nil {
×
262
                in, out := &in.DrainSpec, &out.DrainSpec
×
263
                *out = new(DrainSpec)
×
264
                **out = **in
×
265
        }
×
266
}
267

268
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DriverUpgradePolicySpec.
269
func (in *DriverUpgradePolicySpec) DeepCopy() *DriverUpgradePolicySpec {
×
270
        if in == nil {
×
271
                return nil
×
272
        }
×
273
        out := new(DriverUpgradePolicySpec)
×
274
        in.DeepCopyInto(out)
×
275
        return out
×
276
}
277

278
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
279
func (in *EnvVar) DeepCopyInto(out *EnvVar) {
×
280
        *out = *in
×
281
}
×
282

283
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar.
284
func (in *EnvVar) DeepCopy() *EnvVar {
×
285
        if in == nil {
×
286
                return nil
×
287
        }
×
288
        out := new(EnvVar)
×
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 *GDRCopySpec) DeepCopyInto(out *GDRCopySpec) {
×
295
        *out = *in
×
296
        if in.Enabled != nil {
×
297
                in, out := &in.Enabled, &out.Enabled
×
298
                *out = new(bool)
×
299
                **out = **in
×
300
        }
×
301
        if in.ImagePullSecrets != nil {
×
302
                in, out := &in.ImagePullSecrets, &out.ImagePullSecrets
×
303
                *out = make([]string, len(*in))
×
304
                copy(*out, *in)
×
305
        }
×
306
        if in.Args != nil {
×
307
                in, out := &in.Args, &out.Args
×
308
                *out = make([]string, len(*in))
×
309
                copy(*out, *in)
×
310
        }
×
311
        if in.Env != nil {
×
312
                in, out := &in.Env, &out.Env
×
313
                *out = make([]EnvVar, len(*in))
×
314
                copy(*out, *in)
×
315
        }
×
316
}
317

318
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GDRCopySpec.
319
func (in *GDRCopySpec) DeepCopy() *GDRCopySpec {
×
320
        if in == nil {
×
321
                return nil
×
322
        }
×
323
        out := new(GDRCopySpec)
×
324
        in.DeepCopyInto(out)
×
325
        return out
×
326
}
327

328
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
NEW
329
func (in *GPUCluster) DeepCopyInto(out *GPUCluster) {
×
NEW
330
        *out = *in
×
NEW
331
        out.TypeMeta = in.TypeMeta
×
NEW
332
        in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
×
NEW
333
        in.Spec.DeepCopyInto(&out.Spec)
×
NEW
334
        in.Status.DeepCopyInto(&out.Status)
×
NEW
335
}
×
336

337
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GPUCluster.
NEW
338
func (in *GPUCluster) DeepCopy() *GPUCluster {
×
NEW
339
        if in == nil {
×
NEW
340
                return nil
×
NEW
341
        }
×
NEW
342
        out := new(GPUCluster)
×
NEW
343
        in.DeepCopyInto(out)
×
NEW
344
        return out
×
345
}
346

347
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
NEW
348
func (in *GPUCluster) DeepCopyObject() runtime.Object {
×
NEW
349
        if c := in.DeepCopy(); c != nil {
×
NEW
350
                return c
×
NEW
351
        }
×
NEW
352
        return nil
×
353
}
354

355
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
NEW
356
func (in *GPUClusterList) DeepCopyInto(out *GPUClusterList) {
×
NEW
357
        *out = *in
×
NEW
358
        out.TypeMeta = in.TypeMeta
×
NEW
359
        in.ListMeta.DeepCopyInto(&out.ListMeta)
×
NEW
360
        if in.Items != nil {
×
NEW
361
                in, out := &in.Items, &out.Items
×
NEW
362
                *out = make([]GPUCluster, len(*in))
×
NEW
363
                for i := range *in {
×
NEW
364
                        (*in)[i].DeepCopyInto(&(*out)[i])
×
NEW
365
                }
×
366
        }
367
}
368

369
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GPUClusterList.
NEW
370
func (in *GPUClusterList) DeepCopy() *GPUClusterList {
×
NEW
371
        if in == nil {
×
NEW
372
                return nil
×
NEW
373
        }
×
NEW
374
        out := new(GPUClusterList)
×
NEW
375
        in.DeepCopyInto(out)
×
NEW
376
        return out
×
377
}
378

379
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
NEW
380
func (in *GPUClusterList) DeepCopyObject() runtime.Object {
×
NEW
381
        if c := in.DeepCopy(); c != nil {
×
NEW
382
                return c
×
NEW
383
        }
×
NEW
384
        return nil
×
385
}
386

387
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
NEW
388
func (in *GPUClusterSpec) DeepCopyInto(out *GPUClusterSpec) {
×
NEW
389
        *out = *in
×
NEW
390
        in.DRADriver.DeepCopyInto(&out.DRADriver)
×
NEW
391
        if in.DCGM != nil {
×
NEW
392
                in, out := &in.DCGM, &out.DCGM
×
NEW
393
                *out = new(v1.DCGMSpec)
×
NEW
394
                (*in).DeepCopyInto(*out)
×
NEW
395
        }
×
NEW
396
        if in.DCGMExporter != nil {
×
NEW
397
                in, out := &in.DCGMExporter, &out.DCGMExporter
×
NEW
398
                *out = new(v1.DCGMExporterSpec)
×
NEW
399
                (*in).DeepCopyInto(*out)
×
NEW
400
        }
×
NEW
401
        out.HostPaths = in.HostPaths
×
NEW
402
        in.Daemonsets.DeepCopyInto(&out.Daemonsets)
×
403
}
404

405
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GPUClusterSpec.
NEW
406
func (in *GPUClusterSpec) DeepCopy() *GPUClusterSpec {
×
NEW
407
        if in == nil {
×
NEW
408
                return nil
×
NEW
409
        }
×
NEW
410
        out := new(GPUClusterSpec)
×
NEW
411
        in.DeepCopyInto(out)
×
NEW
412
        return out
×
413
}
414

415
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
NEW
416
func (in *GPUClusterStatus) DeepCopyInto(out *GPUClusterStatus) {
×
NEW
417
        *out = *in
×
NEW
418
        if in.Conditions != nil {
×
NEW
419
                in, out := &in.Conditions, &out.Conditions
×
NEW
420
                *out = make([]metav1.Condition, len(*in))
×
NEW
421
                for i := range *in {
×
NEW
422
                        (*in)[i].DeepCopyInto(&(*out)[i])
×
NEW
423
                }
×
424
        }
425
}
426

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

437
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
438
func (in *GPUDirectRDMASpec) DeepCopyInto(out *GPUDirectRDMASpec) {
×
439
        *out = *in
×
440
        if in.Enabled != nil {
×
441
                in, out := &in.Enabled, &out.Enabled
×
442
                *out = new(bool)
×
443
                **out = **in
×
444
        }
×
445
        if in.UseHostMOFED != nil {
×
446
                in, out := &in.UseHostMOFED, &out.UseHostMOFED
×
447
                *out = new(bool)
×
448
                **out = **in
×
449
        }
×
450
}
451

452
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GPUDirectRDMASpec.
453
func (in *GPUDirectRDMASpec) DeepCopy() *GPUDirectRDMASpec {
×
454
        if in == nil {
×
455
                return nil
×
456
        }
×
457
        out := new(GPUDirectRDMASpec)
×
458
        in.DeepCopyInto(out)
×
459
        return out
×
460
}
461

462
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
463
func (in *GPUDirectStorageSpec) DeepCopyInto(out *GPUDirectStorageSpec) {
×
464
        *out = *in
×
465
        if in.Enabled != nil {
×
466
                in, out := &in.Enabled, &out.Enabled
×
467
                *out = new(bool)
×
468
                **out = **in
×
469
        }
×
470
        if in.ImagePullSecrets != nil {
×
471
                in, out := &in.ImagePullSecrets, &out.ImagePullSecrets
×
472
                *out = make([]string, len(*in))
×
473
                copy(*out, *in)
×
474
        }
×
475
        if in.Args != nil {
×
476
                in, out := &in.Args, &out.Args
×
477
                *out = make([]string, len(*in))
×
478
                copy(*out, *in)
×
479
        }
×
480
        if in.Env != nil {
×
481
                in, out := &in.Env, &out.Env
×
482
                *out = make([]EnvVar, len(*in))
×
483
                copy(*out, *in)
×
484
        }
×
485
}
486

487
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GPUDirectStorageSpec.
488
func (in *GPUDirectStorageSpec) DeepCopy() *GPUDirectStorageSpec {
×
489
        if in == nil {
×
490
                return nil
×
491
        }
×
492
        out := new(GPUDirectStorageSpec)
×
493
        in.DeepCopyInto(out)
×
494
        return out
×
495
}
496

497
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
498
func (in *KernelModuleConfigSpec) DeepCopyInto(out *KernelModuleConfigSpec) {
×
499
        *out = *in
×
500
}
×
501

502
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelModuleConfigSpec.
503
func (in *KernelModuleConfigSpec) DeepCopy() *KernelModuleConfigSpec {
×
504
        if in == nil {
×
505
                return nil
×
506
        }
×
507
        out := new(KernelModuleConfigSpec)
×
508
        in.DeepCopyInto(out)
×
509
        return out
×
510
}
511

512
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
513
func (in *NVIDIADriver) DeepCopyInto(out *NVIDIADriver) {
×
514
        *out = *in
×
515
        out.TypeMeta = in.TypeMeta
×
516
        in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
×
517
        in.Spec.DeepCopyInto(&out.Spec)
×
518
        in.Status.DeepCopyInto(&out.Status)
×
519
}
×
520

521
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NVIDIADriver.
522
func (in *NVIDIADriver) DeepCopy() *NVIDIADriver {
×
523
        if in == nil {
×
524
                return nil
×
525
        }
×
526
        out := new(NVIDIADriver)
×
527
        in.DeepCopyInto(out)
×
528
        return out
×
529
}
530

531
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
532
func (in *NVIDIADriver) DeepCopyObject() runtime.Object {
×
533
        if c := in.DeepCopy(); c != nil {
×
534
                return c
×
535
        }
×
536
        return nil
×
537
}
538

539
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
540
func (in *NVIDIADriverList) DeepCopyInto(out *NVIDIADriverList) {
×
541
        *out = *in
×
542
        out.TypeMeta = in.TypeMeta
×
543
        in.ListMeta.DeepCopyInto(&out.ListMeta)
×
544
        if in.Items != nil {
×
545
                in, out := &in.Items, &out.Items
×
546
                *out = make([]NVIDIADriver, len(*in))
×
547
                for i := range *in {
×
548
                        (*in)[i].DeepCopyInto(&(*out)[i])
×
549
                }
×
550
        }
551
}
552

553
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NVIDIADriverList.
554
func (in *NVIDIADriverList) DeepCopy() *NVIDIADriverList {
×
555
        if in == nil {
×
556
                return nil
×
557
        }
×
558
        out := new(NVIDIADriverList)
×
559
        in.DeepCopyInto(out)
×
560
        return out
×
561
}
562

563
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
564
func (in *NVIDIADriverList) DeepCopyObject() runtime.Object {
×
565
        if c := in.DeepCopy(); c != nil {
×
566
                return c
×
567
        }
×
568
        return nil
×
569
}
570

571
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
572
func (in *NVIDIADriverSpec) DeepCopyInto(out *NVIDIADriverSpec) {
×
573
        *out = *in
×
574
        if in.UsePrecompiled != nil {
×
575
                in, out := &in.UsePrecompiled, &out.UsePrecompiled
×
576
                *out = new(bool)
×
577
                **out = **in
×
578
        }
×
579
        if in.UseOpenKernelModules != nil {
×
580
                in, out := &in.UseOpenKernelModules, &out.UseOpenKernelModules
×
581
                *out = new(bool)
×
582
                **out = **in
×
583
        }
×
584
        if in.StartupProbe != nil {
×
585
                in, out := &in.StartupProbe, &out.StartupProbe
×
586
                *out = new(ContainerProbeSpec)
×
587
                **out = **in
×
588
        }
×
589
        if in.LivenessProbe != nil {
×
590
                in, out := &in.LivenessProbe, &out.LivenessProbe
×
591
                *out = new(ContainerProbeSpec)
×
592
                **out = **in
×
593
        }
×
594
        if in.ReadinessProbe != nil {
×
595
                in, out := &in.ReadinessProbe, &out.ReadinessProbe
×
596
                *out = new(ContainerProbeSpec)
×
597
                **out = **in
×
598
        }
×
599
        if in.GPUDirectRDMA != nil {
×
600
                in, out := &in.GPUDirectRDMA, &out.GPUDirectRDMA
×
601
                *out = new(GPUDirectRDMASpec)
×
602
                (*in).DeepCopyInto(*out)
×
603
        }
×
604
        if in.GPUDirectStorage != nil {
×
605
                in, out := &in.GPUDirectStorage, &out.GPUDirectStorage
×
606
                *out = new(GPUDirectStorageSpec)
×
607
                (*in).DeepCopyInto(*out)
×
608
        }
×
609
        if in.GDRCopy != nil {
×
610
                in, out := &in.GDRCopy, &out.GDRCopy
×
611
                *out = new(GDRCopySpec)
×
612
                (*in).DeepCopyInto(*out)
×
613
        }
×
614
        if in.ImagePullSecrets != nil {
×
615
                in, out := &in.ImagePullSecrets, &out.ImagePullSecrets
×
616
                *out = make([]string, len(*in))
×
617
                copy(*out, *in)
×
618
        }
×
619
        in.Manager.DeepCopyInto(&out.Manager)
×
620
        if in.Resources != nil {
×
621
                in, out := &in.Resources, &out.Resources
×
622
                *out = new(ResourceRequirements)
×
623
                (*in).DeepCopyInto(*out)
×
624
        }
×
625
        if in.Args != nil {
×
626
                in, out := &in.Args, &out.Args
×
627
                *out = make([]string, len(*in))
×
628
                copy(*out, *in)
×
629
        }
×
630
        if in.Env != nil {
×
631
                in, out := &in.Env, &out.Env
×
632
                *out = make([]EnvVar, len(*in))
×
633
                copy(*out, *in)
×
634
        }
×
635
        if in.RepoConfig != nil {
×
636
                in, out := &in.RepoConfig, &out.RepoConfig
×
637
                *out = new(DriverRepoConfigSpec)
×
638
                **out = **in
×
639
        }
×
640
        if in.CertConfig != nil {
×
641
                in, out := &in.CertConfig, &out.CertConfig
×
642
                *out = new(DriverCertConfigSpec)
×
643
                **out = **in
×
644
        }
×
645
        if in.LicensingConfig != nil {
×
646
                in, out := &in.LicensingConfig, &out.LicensingConfig
×
647
                *out = new(DriverLicensingConfigSpec)
×
648
                (*in).DeepCopyInto(*out)
×
649
        }
×
650
        if in.VirtualTopologyConfig != nil {
×
651
                in, out := &in.VirtualTopologyConfig, &out.VirtualTopologyConfig
×
652
                *out = new(VirtualTopologyConfigSpec)
×
653
                **out = **in
×
654
        }
×
655
        if in.KernelModuleConfig != nil {
×
656
                in, out := &in.KernelModuleConfig, &out.KernelModuleConfig
×
657
                *out = new(KernelModuleConfigSpec)
×
658
                **out = **in
×
659
        }
×
660
        if in.UpgradePolicy != nil {
×
661
                in, out := &in.UpgradePolicy, &out.UpgradePolicy
×
662
                *out = new(DriverUpgradePolicySpec)
×
663
                (*in).DeepCopyInto(*out)
×
664
        }
×
665
        if in.NodeSelector != nil {
×
666
                in, out := &in.NodeSelector, &out.NodeSelector
×
667
                *out = make(map[string]string, len(*in))
×
668
                for key, val := range *in {
×
669
                        (*out)[key] = val
×
670
                }
×
671
        }
672
        if in.NodeAffinity != nil {
×
673
                in, out := &in.NodeAffinity, &out.NodeAffinity
×
NEW
674
                *out = new(corev1.NodeAffinity)
×
675
                (*in).DeepCopyInto(*out)
×
676
        }
×
677
        if in.Labels != nil {
×
678
                in, out := &in.Labels, &out.Labels
×
679
                *out = make(map[string]string, len(*in))
×
680
                for key, val := range *in {
×
681
                        (*out)[key] = val
×
682
                }
×
683
        }
684
        if in.Annotations != nil {
×
685
                in, out := &in.Annotations, &out.Annotations
×
686
                *out = make(map[string]string, len(*in))
×
687
                for key, val := range *in {
×
688
                        (*out)[key] = val
×
689
                }
×
690
        }
691
        if in.Tolerations != nil {
×
692
                in, out := &in.Tolerations, &out.Tolerations
×
NEW
693
                *out = make([]corev1.Toleration, len(*in))
×
694
                for i := range *in {
×
695
                        (*in)[i].DeepCopyInto(&(*out)[i])
×
696
                }
×
697
        }
698
        if in.PodSecurityContext != nil {
×
699
                in, out := &in.PodSecurityContext, &out.PodSecurityContext
×
NEW
700
                *out = new(corev1.PodSecurityContext)
×
701
                (*in).DeepCopyInto(*out)
×
702
        }
×
703
        if in.HostNetwork != nil {
×
704
                in, out := &in.HostNetwork, &out.HostNetwork
×
705
                *out = new(bool)
×
706
                **out = **in
×
707
        }
×
708
}
709

710
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NVIDIADriverSpec.
711
func (in *NVIDIADriverSpec) DeepCopy() *NVIDIADriverSpec {
×
712
        if in == nil {
×
713
                return nil
×
714
        }
×
715
        out := new(NVIDIADriverSpec)
×
716
        in.DeepCopyInto(out)
×
717
        return out
×
718
}
719

720
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
721
func (in *NVIDIADriverStatus) DeepCopyInto(out *NVIDIADriverStatus) {
×
722
        *out = *in
×
723
        if in.Conditions != nil {
×
724
                in, out := &in.Conditions, &out.Conditions
×
725
                *out = make([]metav1.Condition, len(*in))
×
726
                for i := range *in {
×
727
                        (*in)[i].DeepCopyInto(&(*out)[i])
×
728
                }
×
729
        }
730
}
731

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

742
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
743
func (in *ResourceRequirements) DeepCopyInto(out *ResourceRequirements) {
×
744
        *out = *in
×
745
        if in.Limits != nil {
×
746
                in, out := &in.Limits, &out.Limits
×
NEW
747
                *out = make(corev1.ResourceList, len(*in))
×
748
                for key, val := range *in {
×
749
                        (*out)[key] = val.DeepCopy()
×
750
                }
×
751
        }
752
        if in.Requests != nil {
×
753
                in, out := &in.Requests, &out.Requests
×
NEW
754
                *out = make(corev1.ResourceList, len(*in))
×
755
                for key, val := range *in {
×
756
                        (*out)[key] = val.DeepCopy()
×
757
                }
×
758
        }
759
}
760

761
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRequirements.
762
func (in *ResourceRequirements) DeepCopy() *ResourceRequirements {
×
763
        if in == nil {
×
764
                return nil
×
765
        }
×
766
        out := new(ResourceRequirements)
×
767
        in.DeepCopyInto(out)
×
768
        return out
×
769
}
770

771
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
772
func (in *VirtualTopologyConfigSpec) DeepCopyInto(out *VirtualTopologyConfigSpec) {
×
773
        *out = *in
×
774
}
×
775

776
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualTopologyConfigSpec.
777
func (in *VirtualTopologyConfigSpec) DeepCopy() *VirtualTopologyConfigSpec {
×
778
        if in == nil {
×
779
                return nil
×
780
        }
×
781
        out := new(VirtualTopologyConfigSpec)
×
782
        in.DeepCopyInto(out)
×
783
        return out
×
784
}
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

© 2026 Coveralls, Inc