Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/ws-manager-api/go/crd/v1/zz_generated.deepcopy.go
2501 views
1
//go:build !ignore_autogenerated
2
3
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
4
// Licensed under the GNU Affero General Public License (AGPL).
5
// See License-AGPL.txt in the project root for license information.
6
7
// Code generated by controller-gen. DO NOT EDIT.
8
9
package v1
10
11
import (
12
corev1 "k8s.io/api/core/v1"
13
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
14
"k8s.io/apimachinery/pkg/runtime"
15
)
16
17
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
18
func (in *AdmissionSpec) DeepCopyInto(out *AdmissionSpec) {
19
*out = *in
20
}
21
22
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionSpec.
23
func (in *AdmissionSpec) DeepCopy() *AdmissionSpec {
24
if in == nil {
25
return nil
26
}
27
out := new(AdmissionSpec)
28
in.DeepCopyInto(out)
29
return out
30
}
31
32
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
33
func (in *GitSpec) DeepCopyInto(out *GitSpec) {
34
*out = *in
35
}
36
37
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitSpec.
38
func (in *GitSpec) DeepCopy() *GitSpec {
39
if in == nil {
40
return nil
41
}
42
out := new(GitSpec)
43
in.DeepCopyInto(out)
44
return out
45
}
46
47
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
48
func (in *GitStatus) DeepCopyInto(out *GitStatus) {
49
*out = *in
50
if in.UncommitedFiles != nil {
51
in, out := &in.UncommitedFiles, &out.UncommitedFiles
52
*out = make([]string, len(*in))
53
copy(*out, *in)
54
}
55
if in.UntrackedFiles != nil {
56
in, out := &in.UntrackedFiles, &out.UntrackedFiles
57
*out = make([]string, len(*in))
58
copy(*out, *in)
59
}
60
if in.UnpushedCommits != nil {
61
in, out := &in.UnpushedCommits, &out.UnpushedCommits
62
*out = make([]string, len(*in))
63
copy(*out, *in)
64
}
65
}
66
67
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitStatus.
68
func (in *GitStatus) DeepCopy() *GitStatus {
69
if in == nil {
70
return nil
71
}
72
out := new(GitStatus)
73
in.DeepCopyInto(out)
74
return out
75
}
76
77
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
78
func (in *IDEImages) DeepCopyInto(out *IDEImages) {
79
*out = *in
80
if in.Refs != nil {
81
in, out := &in.Refs, &out.Refs
82
*out = make([]string, len(*in))
83
copy(*out, *in)
84
}
85
}
86
87
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IDEImages.
88
func (in *IDEImages) DeepCopy() *IDEImages {
89
if in == nil {
90
return nil
91
}
92
out := new(IDEImages)
93
in.DeepCopyInto(out)
94
return out
95
}
96
97
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
98
func (in *Ownership) DeepCopyInto(out *Ownership) {
99
*out = *in
100
}
101
102
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ownership.
103
func (in *Ownership) DeepCopy() *Ownership {
104
if in == nil {
105
return nil
106
}
107
out := new(Ownership)
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 *PortSpec) DeepCopyInto(out *PortSpec) {
114
*out = *in
115
}
116
117
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortSpec.
118
func (in *PortSpec) DeepCopy() *PortSpec {
119
if in == nil {
120
return nil
121
}
122
out := new(PortSpec)
123
in.DeepCopyInto(out)
124
return out
125
}
126
127
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
128
func (in *Snapshot) DeepCopyInto(out *Snapshot) {
129
*out = *in
130
out.TypeMeta = in.TypeMeta
131
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
132
out.Spec = in.Spec
133
out.Status = in.Status
134
}
135
136
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Snapshot.
137
func (in *Snapshot) DeepCopy() *Snapshot {
138
if in == nil {
139
return nil
140
}
141
out := new(Snapshot)
142
in.DeepCopyInto(out)
143
return out
144
}
145
146
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
147
func (in *Snapshot) DeepCopyObject() runtime.Object {
148
if c := in.DeepCopy(); c != nil {
149
return c
150
}
151
return nil
152
}
153
154
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
155
func (in *SnapshotList) DeepCopyInto(out *SnapshotList) {
156
*out = *in
157
out.TypeMeta = in.TypeMeta
158
in.ListMeta.DeepCopyInto(&out.ListMeta)
159
if in.Items != nil {
160
in, out := &in.Items, &out.Items
161
*out = make([]Snapshot, len(*in))
162
for i := range *in {
163
(*in)[i].DeepCopyInto(&(*out)[i])
164
}
165
}
166
}
167
168
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotList.
169
func (in *SnapshotList) DeepCopy() *SnapshotList {
170
if in == nil {
171
return nil
172
}
173
out := new(SnapshotList)
174
in.DeepCopyInto(out)
175
return out
176
}
177
178
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
179
func (in *SnapshotList) DeepCopyObject() runtime.Object {
180
if c := in.DeepCopy(); c != nil {
181
return c
182
}
183
return nil
184
}
185
186
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
187
func (in *SnapshotSpec) DeepCopyInto(out *SnapshotSpec) {
188
*out = *in
189
}
190
191
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotSpec.
192
func (in *SnapshotSpec) DeepCopy() *SnapshotSpec {
193
if in == nil {
194
return nil
195
}
196
out := new(SnapshotSpec)
197
in.DeepCopyInto(out)
198
return out
199
}
200
201
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
202
func (in *SnapshotStatus) DeepCopyInto(out *SnapshotStatus) {
203
*out = *in
204
}
205
206
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotStatus.
207
func (in *SnapshotStatus) DeepCopy() *SnapshotStatus {
208
if in == nil {
209
return nil
210
}
211
out := new(SnapshotStatus)
212
in.DeepCopyInto(out)
213
return out
214
}
215
216
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
217
func (in *StorageStatus) DeepCopyInto(out *StorageStatus) {
218
*out = *in
219
}
220
221
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageStatus.
222
func (in *StorageStatus) DeepCopy() *StorageStatus {
223
if in == nil {
224
return nil
225
}
226
out := new(StorageStatus)
227
in.DeepCopyInto(out)
228
return out
229
}
230
231
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
232
func (in *TimeoutSpec) DeepCopyInto(out *TimeoutSpec) {
233
*out = *in
234
if in.Time != nil {
235
in, out := &in.Time, &out.Time
236
*out = new(metav1.Duration)
237
**out = **in
238
}
239
if in.ClosedTimeout != nil {
240
in, out := &in.ClosedTimeout, &out.ClosedTimeout
241
*out = new(metav1.Duration)
242
**out = **in
243
}
244
if in.MaximumLifetime != nil {
245
in, out := &in.MaximumLifetime, &out.MaximumLifetime
246
*out = new(metav1.Duration)
247
**out = **in
248
}
249
}
250
251
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeoutSpec.
252
func (in *TimeoutSpec) DeepCopy() *TimeoutSpec {
253
if in == nil {
254
return nil
255
}
256
out := new(TimeoutSpec)
257
in.DeepCopyInto(out)
258
return out
259
}
260
261
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
262
func (in *Workspace) DeepCopyInto(out *Workspace) {
263
*out = *in
264
out.TypeMeta = in.TypeMeta
265
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
266
in.Spec.DeepCopyInto(&out.Spec)
267
in.Status.DeepCopyInto(&out.Status)
268
}
269
270
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workspace.
271
func (in *Workspace) DeepCopy() *Workspace {
272
if in == nil {
273
return nil
274
}
275
out := new(Workspace)
276
in.DeepCopyInto(out)
277
return out
278
}
279
280
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
281
func (in *Workspace) DeepCopyObject() runtime.Object {
282
if c := in.DeepCopy(); c != nil {
283
return c
284
}
285
return nil
286
}
287
288
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
289
func (in *WorkspaceImage) DeepCopyInto(out *WorkspaceImage) {
290
*out = *in
291
if in.Ref != nil {
292
in, out := &in.Ref, &out.Ref
293
*out = new(string)
294
**out = **in
295
}
296
}
297
298
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceImage.
299
func (in *WorkspaceImage) DeepCopy() *WorkspaceImage {
300
if in == nil {
301
return nil
302
}
303
out := new(WorkspaceImage)
304
in.DeepCopyInto(out)
305
return out
306
}
307
308
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
309
func (in *WorkspaceImageInfo) DeepCopyInto(out *WorkspaceImageInfo) {
310
*out = *in
311
}
312
313
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceImageInfo.
314
func (in *WorkspaceImageInfo) DeepCopy() *WorkspaceImageInfo {
315
if in == nil {
316
return nil
317
}
318
out := new(WorkspaceImageInfo)
319
in.DeepCopyInto(out)
320
return out
321
}
322
323
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
324
func (in *WorkspaceImages) DeepCopyInto(out *WorkspaceImages) {
325
*out = *in
326
in.Workspace.DeepCopyInto(&out.Workspace)
327
in.IDE.DeepCopyInto(&out.IDE)
328
}
329
330
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceImages.
331
func (in *WorkspaceImages) DeepCopy() *WorkspaceImages {
332
if in == nil {
333
return nil
334
}
335
out := new(WorkspaceImages)
336
in.DeepCopyInto(out)
337
return out
338
}
339
340
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
341
func (in *WorkspaceList) DeepCopyInto(out *WorkspaceList) {
342
*out = *in
343
out.TypeMeta = in.TypeMeta
344
in.ListMeta.DeepCopyInto(&out.ListMeta)
345
if in.Items != nil {
346
in, out := &in.Items, &out.Items
347
*out = make([]Workspace, len(*in))
348
for i := range *in {
349
(*in)[i].DeepCopyInto(&(*out)[i])
350
}
351
}
352
}
353
354
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceList.
355
func (in *WorkspaceList) DeepCopy() *WorkspaceList {
356
if in == nil {
357
return nil
358
}
359
out := new(WorkspaceList)
360
in.DeepCopyInto(out)
361
return out
362
}
363
364
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
365
func (in *WorkspaceList) DeepCopyObject() runtime.Object {
366
if c := in.DeepCopy(); c != nil {
367
return c
368
}
369
return nil
370
}
371
372
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
373
func (in *WorkspaceRuntimeStatus) DeepCopyInto(out *WorkspaceRuntimeStatus) {
374
*out = *in
375
}
376
377
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceRuntimeStatus.
378
func (in *WorkspaceRuntimeStatus) DeepCopy() *WorkspaceRuntimeStatus {
379
if in == nil {
380
return nil
381
}
382
out := new(WorkspaceRuntimeStatus)
383
in.DeepCopyInto(out)
384
return out
385
}
386
387
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
388
func (in *WorkspaceSpec) DeepCopyInto(out *WorkspaceSpec) {
389
*out = *in
390
out.Ownership = in.Ownership
391
in.Image.DeepCopyInto(&out.Image)
392
if in.Initializer != nil {
393
in, out := &in.Initializer, &out.Initializer
394
*out = make([]byte, len(*in))
395
copy(*out, *in)
396
}
397
if in.UserEnvVars != nil {
398
in, out := &in.UserEnvVars, &out.UserEnvVars
399
*out = make([]corev1.EnvVar, len(*in))
400
for i := range *in {
401
(*in)[i].DeepCopyInto(&(*out)[i])
402
}
403
}
404
if in.SysEnvVars != nil {
405
in, out := &in.SysEnvVars, &out.SysEnvVars
406
*out = make([]corev1.EnvVar, len(*in))
407
for i := range *in {
408
(*in)[i].DeepCopyInto(&(*out)[i])
409
}
410
}
411
if in.Git != nil {
412
in, out := &in.Git, &out.Git
413
*out = new(GitSpec)
414
**out = **in
415
}
416
in.Timeout.DeepCopyInto(&out.Timeout)
417
out.Admission = in.Admission
418
if in.Ports != nil {
419
in, out := &in.Ports, &out.Ports
420
*out = make([]PortSpec, len(*in))
421
copy(*out, *in)
422
}
423
if in.SshPublicKeys != nil {
424
in, out := &in.SshPublicKeys, &out.SshPublicKeys
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 WorkspaceSpec.
431
func (in *WorkspaceSpec) DeepCopy() *WorkspaceSpec {
432
if in == nil {
433
return nil
434
}
435
out := new(WorkspaceSpec)
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.
441
func (in *WorkspaceStatus) DeepCopyInto(out *WorkspaceStatus) {
442
*out = *in
443
if in.PodDeletionTime != nil {
444
in, out := &in.PodDeletionTime, &out.PodDeletionTime
445
*out = (*in).DeepCopy()
446
}
447
if in.PodStoppingTime != nil {
448
in, out := &in.PodStoppingTime, &out.PodStoppingTime
449
*out = (*in).DeepCopy()
450
}
451
if in.Conditions != nil {
452
in, out := &in.Conditions, &out.Conditions
453
*out = make([]metav1.Condition, len(*in))
454
for i := range *in {
455
(*in)[i].DeepCopyInto(&(*out)[i])
456
}
457
}
458
if in.GitStatus != nil {
459
in, out := &in.GitStatus, &out.GitStatus
460
*out = new(GitStatus)
461
(*in).DeepCopyInto(*out)
462
}
463
if in.Runtime != nil {
464
in, out := &in.Runtime, &out.Runtime
465
*out = new(WorkspaceRuntimeStatus)
466
**out = **in
467
}
468
out.Storage = in.Storage
469
if in.LastActivity != nil {
470
in, out := &in.LastActivity, &out.LastActivity
471
*out = (*in).DeepCopy()
472
}
473
if in.ImageInfo != nil {
474
in, out := &in.ImageInfo, &out.ImageInfo
475
*out = new(WorkspaceImageInfo)
476
**out = **in
477
}
478
}
479
480
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceStatus.
481
func (in *WorkspaceStatus) DeepCopy() *WorkspaceStatus {
482
if in == nil {
483
return nil
484
}
485
out := new(WorkspaceStatus)
486
in.DeepCopyInto(out)
487
return out
488
}
489
490