forked from openshift/origin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
zz_generated.conversion.go
1073 lines (956 loc) · 42.1 KB
/
zz_generated.conversion.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// +build !ignore_autogenerated_openshift
// This file was autogenerated by conversion-gen. Do not edit it manually!
package v1
import (
api "github.com/openshift/origin/pkg/image/api"
meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
conversion "k8s.io/apimachinery/pkg/conversion"
runtime "k8s.io/apimachinery/pkg/runtime"
pkg_api "k8s.io/kubernetes/pkg/api"
api_v1 "k8s.io/kubernetes/pkg/api/v1"
unsafe "unsafe"
)
func init() {
SchemeBuilder.Register(RegisterConversions)
}
// RegisterConversions adds conversion functions to the given scheme.
// Public to allow building arbitrary schemes.
func RegisterConversions(scheme *runtime.Scheme) error {
return scheme.AddGeneratedConversionFuncs(
Convert_v1_DockerImageReference_To_api_DockerImageReference,
Convert_api_DockerImageReference_To_v1_DockerImageReference,
Convert_v1_Image_To_api_Image,
Convert_api_Image_To_v1_Image,
Convert_v1_ImageImportSpec_To_api_ImageImportSpec,
Convert_api_ImageImportSpec_To_v1_ImageImportSpec,
Convert_v1_ImageImportStatus_To_api_ImageImportStatus,
Convert_api_ImageImportStatus_To_v1_ImageImportStatus,
Convert_v1_ImageLayer_To_api_ImageLayer,
Convert_api_ImageLayer_To_v1_ImageLayer,
Convert_v1_ImageList_To_api_ImageList,
Convert_api_ImageList_To_v1_ImageList,
Convert_v1_ImageLookupPolicy_To_api_ImageLookupPolicy,
Convert_api_ImageLookupPolicy_To_v1_ImageLookupPolicy,
Convert_v1_ImageSignature_To_api_ImageSignature,
Convert_api_ImageSignature_To_v1_ImageSignature,
Convert_v1_ImageStream_To_api_ImageStream,
Convert_api_ImageStream_To_v1_ImageStream,
Convert_v1_ImageStreamImage_To_api_ImageStreamImage,
Convert_api_ImageStreamImage_To_v1_ImageStreamImage,
Convert_v1_ImageStreamImport_To_api_ImageStreamImport,
Convert_api_ImageStreamImport_To_v1_ImageStreamImport,
Convert_v1_ImageStreamImportSpec_To_api_ImageStreamImportSpec,
Convert_api_ImageStreamImportSpec_To_v1_ImageStreamImportSpec,
Convert_v1_ImageStreamImportStatus_To_api_ImageStreamImportStatus,
Convert_api_ImageStreamImportStatus_To_v1_ImageStreamImportStatus,
Convert_v1_ImageStreamList_To_api_ImageStreamList,
Convert_api_ImageStreamList_To_v1_ImageStreamList,
Convert_v1_ImageStreamMapping_To_api_ImageStreamMapping,
Convert_api_ImageStreamMapping_To_v1_ImageStreamMapping,
Convert_v1_ImageStreamSpec_To_api_ImageStreamSpec,
Convert_api_ImageStreamSpec_To_v1_ImageStreamSpec,
Convert_v1_ImageStreamStatus_To_api_ImageStreamStatus,
Convert_api_ImageStreamStatus_To_v1_ImageStreamStatus,
Convert_v1_ImageStreamTag_To_api_ImageStreamTag,
Convert_api_ImageStreamTag_To_v1_ImageStreamTag,
Convert_v1_ImageStreamTagList_To_api_ImageStreamTagList,
Convert_api_ImageStreamTagList_To_v1_ImageStreamTagList,
Convert_v1_RepositoryImportSpec_To_api_RepositoryImportSpec,
Convert_api_RepositoryImportSpec_To_v1_RepositoryImportSpec,
Convert_v1_RepositoryImportStatus_To_api_RepositoryImportStatus,
Convert_api_RepositoryImportStatus_To_v1_RepositoryImportStatus,
Convert_v1_SignatureCondition_To_api_SignatureCondition,
Convert_api_SignatureCondition_To_v1_SignatureCondition,
Convert_v1_SignatureGenericEntity_To_api_SignatureGenericEntity,
Convert_api_SignatureGenericEntity_To_v1_SignatureGenericEntity,
Convert_v1_SignatureIssuer_To_api_SignatureIssuer,
Convert_api_SignatureIssuer_To_v1_SignatureIssuer,
Convert_v1_SignatureSubject_To_api_SignatureSubject,
Convert_api_SignatureSubject_To_v1_SignatureSubject,
Convert_v1_TagEvent_To_api_TagEvent,
Convert_api_TagEvent_To_v1_TagEvent,
Convert_v1_TagEventCondition_To_api_TagEventCondition,
Convert_api_TagEventCondition_To_v1_TagEventCondition,
Convert_v1_TagImportPolicy_To_api_TagImportPolicy,
Convert_api_TagImportPolicy_To_v1_TagImportPolicy,
Convert_v1_TagReference_To_api_TagReference,
Convert_api_TagReference_To_v1_TagReference,
Convert_v1_TagReferencePolicy_To_api_TagReferencePolicy,
Convert_api_TagReferencePolicy_To_v1_TagReferencePolicy,
)
}
func autoConvert_v1_DockerImageReference_To_api_DockerImageReference(in *DockerImageReference, out *api.DockerImageReference, s conversion.Scope) error {
out.Registry = in.Registry
out.Namespace = in.Namespace
out.Name = in.Name
out.Tag = in.Tag
out.ID = in.ID
return nil
}
func Convert_v1_DockerImageReference_To_api_DockerImageReference(in *DockerImageReference, out *api.DockerImageReference, s conversion.Scope) error {
return autoConvert_v1_DockerImageReference_To_api_DockerImageReference(in, out, s)
}
func autoConvert_api_DockerImageReference_To_v1_DockerImageReference(in *api.DockerImageReference, out *DockerImageReference, s conversion.Scope) error {
out.Registry = in.Registry
out.Namespace = in.Namespace
out.Name = in.Name
out.Tag = in.Tag
out.ID = in.ID
return nil
}
func Convert_api_DockerImageReference_To_v1_DockerImageReference(in *api.DockerImageReference, out *DockerImageReference, s conversion.Scope) error {
return autoConvert_api_DockerImageReference_To_v1_DockerImageReference(in, out, s)
}
func autoConvert_v1_Image_To_api_Image(in *Image, out *api.Image, s conversion.Scope) error {
out.ObjectMeta = in.ObjectMeta
out.DockerImageReference = in.DockerImageReference
// TODO: Inefficient conversion - can we improve it?
if err := s.Convert(&in.DockerImageMetadata, &out.DockerImageMetadata, 0); err != nil {
return err
}
out.DockerImageMetadataVersion = in.DockerImageMetadataVersion
out.DockerImageManifest = in.DockerImageManifest
out.DockerImageLayers = *(*[]api.ImageLayer)(unsafe.Pointer(&in.DockerImageLayers))
out.Signatures = *(*[]api.ImageSignature)(unsafe.Pointer(&in.Signatures))
out.DockerImageSignatures = *(*[][]byte)(unsafe.Pointer(&in.DockerImageSignatures))
out.DockerImageManifestMediaType = in.DockerImageManifestMediaType
out.DockerImageConfig = in.DockerImageConfig
return nil
}
func autoConvert_api_Image_To_v1_Image(in *api.Image, out *Image, s conversion.Scope) error {
out.ObjectMeta = in.ObjectMeta
out.DockerImageReference = in.DockerImageReference
// TODO: Inefficient conversion - can we improve it?
if err := s.Convert(&in.DockerImageMetadata, &out.DockerImageMetadata, 0); err != nil {
return err
}
out.DockerImageMetadataVersion = in.DockerImageMetadataVersion
out.DockerImageManifest = in.DockerImageManifest
if in.DockerImageLayers == nil {
out.DockerImageLayers = make([]ImageLayer, 0)
} else {
out.DockerImageLayers = *(*[]ImageLayer)(unsafe.Pointer(&in.DockerImageLayers))
}
out.Signatures = *(*[]ImageSignature)(unsafe.Pointer(&in.Signatures))
out.DockerImageSignatures = *(*[][]byte)(unsafe.Pointer(&in.DockerImageSignatures))
out.DockerImageManifestMediaType = in.DockerImageManifestMediaType
out.DockerImageConfig = in.DockerImageConfig
return nil
}
func autoConvert_v1_ImageImportSpec_To_api_ImageImportSpec(in *ImageImportSpec, out *api.ImageImportSpec, s conversion.Scope) error {
if err := api_v1.Convert_v1_ObjectReference_To_api_ObjectReference(&in.From, &out.From, s); err != nil {
return err
}
if in.To != nil {
in, out := &in.To, &out.To
*out = new(pkg_api.LocalObjectReference)
if err := api_v1.Convert_v1_LocalObjectReference_To_api_LocalObjectReference(*in, *out, s); err != nil {
return err
}
} else {
out.To = nil
}
if err := Convert_v1_TagImportPolicy_To_api_TagImportPolicy(&in.ImportPolicy, &out.ImportPolicy, s); err != nil {
return err
}
if err := Convert_v1_TagReferencePolicy_To_api_TagReferencePolicy(&in.ReferencePolicy, &out.ReferencePolicy, s); err != nil {
return err
}
out.IncludeManifest = in.IncludeManifest
return nil
}
func Convert_v1_ImageImportSpec_To_api_ImageImportSpec(in *ImageImportSpec, out *api.ImageImportSpec, s conversion.Scope) error {
return autoConvert_v1_ImageImportSpec_To_api_ImageImportSpec(in, out, s)
}
func autoConvert_api_ImageImportSpec_To_v1_ImageImportSpec(in *api.ImageImportSpec, out *ImageImportSpec, s conversion.Scope) error {
if err := api_v1.Convert_api_ObjectReference_To_v1_ObjectReference(&in.From, &out.From, s); err != nil {
return err
}
if in.To != nil {
in, out := &in.To, &out.To
*out = new(api_v1.LocalObjectReference)
if err := api_v1.Convert_api_LocalObjectReference_To_v1_LocalObjectReference(*in, *out, s); err != nil {
return err
}
} else {
out.To = nil
}
if err := Convert_api_TagImportPolicy_To_v1_TagImportPolicy(&in.ImportPolicy, &out.ImportPolicy, s); err != nil {
return err
}
if err := Convert_api_TagReferencePolicy_To_v1_TagReferencePolicy(&in.ReferencePolicy, &out.ReferencePolicy, s); err != nil {
return err
}
out.IncludeManifest = in.IncludeManifest
return nil
}
func Convert_api_ImageImportSpec_To_v1_ImageImportSpec(in *api.ImageImportSpec, out *ImageImportSpec, s conversion.Scope) error {
return autoConvert_api_ImageImportSpec_To_v1_ImageImportSpec(in, out, s)
}
func autoConvert_v1_ImageImportStatus_To_api_ImageImportStatus(in *ImageImportStatus, out *api.ImageImportStatus, s conversion.Scope) error {
out.Status = in.Status
if in.Image != nil {
in, out := &in.Image, &out.Image
*out = new(api.Image)
if err := Convert_v1_Image_To_api_Image(*in, *out, s); err != nil {
return err
}
} else {
out.Image = nil
}
out.Tag = in.Tag
return nil
}
func Convert_v1_ImageImportStatus_To_api_ImageImportStatus(in *ImageImportStatus, out *api.ImageImportStatus, s conversion.Scope) error {
return autoConvert_v1_ImageImportStatus_To_api_ImageImportStatus(in, out, s)
}
func autoConvert_api_ImageImportStatus_To_v1_ImageImportStatus(in *api.ImageImportStatus, out *ImageImportStatus, s conversion.Scope) error {
out.Tag = in.Tag
out.Status = in.Status
if in.Image != nil {
in, out := &in.Image, &out.Image
*out = new(Image)
if err := Convert_api_Image_To_v1_Image(*in, *out, s); err != nil {
return err
}
} else {
out.Image = nil
}
return nil
}
func Convert_api_ImageImportStatus_To_v1_ImageImportStatus(in *api.ImageImportStatus, out *ImageImportStatus, s conversion.Scope) error {
return autoConvert_api_ImageImportStatus_To_v1_ImageImportStatus(in, out, s)
}
func autoConvert_v1_ImageLayer_To_api_ImageLayer(in *ImageLayer, out *api.ImageLayer, s conversion.Scope) error {
out.Name = in.Name
out.LayerSize = in.LayerSize
out.MediaType = in.MediaType
return nil
}
func Convert_v1_ImageLayer_To_api_ImageLayer(in *ImageLayer, out *api.ImageLayer, s conversion.Scope) error {
return autoConvert_v1_ImageLayer_To_api_ImageLayer(in, out, s)
}
func autoConvert_api_ImageLayer_To_v1_ImageLayer(in *api.ImageLayer, out *ImageLayer, s conversion.Scope) error {
out.Name = in.Name
out.LayerSize = in.LayerSize
out.MediaType = in.MediaType
return nil
}
func Convert_api_ImageLayer_To_v1_ImageLayer(in *api.ImageLayer, out *ImageLayer, s conversion.Scope) error {
return autoConvert_api_ImageLayer_To_v1_ImageLayer(in, out, s)
}
func autoConvert_v1_ImageList_To_api_ImageList(in *ImageList, out *api.ImageList, s conversion.Scope) error {
out.ListMeta = in.ListMeta
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]api.Image, len(*in))
for i := range *in {
if err := Convert_v1_Image_To_api_Image(&(*in)[i], &(*out)[i], s); err != nil {
return err
}
}
} else {
out.Items = nil
}
return nil
}
func Convert_v1_ImageList_To_api_ImageList(in *ImageList, out *api.ImageList, s conversion.Scope) error {
return autoConvert_v1_ImageList_To_api_ImageList(in, out, s)
}
func autoConvert_api_ImageList_To_v1_ImageList(in *api.ImageList, out *ImageList, s conversion.Scope) error {
out.ListMeta = in.ListMeta
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]Image, len(*in))
for i := range *in {
if err := Convert_api_Image_To_v1_Image(&(*in)[i], &(*out)[i], s); err != nil {
return err
}
}
} else {
out.Items = make([]Image, 0)
}
return nil
}
func Convert_api_ImageList_To_v1_ImageList(in *api.ImageList, out *ImageList, s conversion.Scope) error {
return autoConvert_api_ImageList_To_v1_ImageList(in, out, s)
}
func autoConvert_v1_ImageLookupPolicy_To_api_ImageLookupPolicy(in *ImageLookupPolicy, out *api.ImageLookupPolicy, s conversion.Scope) error {
out.Local = in.Local
return nil
}
func Convert_v1_ImageLookupPolicy_To_api_ImageLookupPolicy(in *ImageLookupPolicy, out *api.ImageLookupPolicy, s conversion.Scope) error {
return autoConvert_v1_ImageLookupPolicy_To_api_ImageLookupPolicy(in, out, s)
}
func autoConvert_api_ImageLookupPolicy_To_v1_ImageLookupPolicy(in *api.ImageLookupPolicy, out *ImageLookupPolicy, s conversion.Scope) error {
out.Local = in.Local
return nil
}
func Convert_api_ImageLookupPolicy_To_v1_ImageLookupPolicy(in *api.ImageLookupPolicy, out *ImageLookupPolicy, s conversion.Scope) error {
return autoConvert_api_ImageLookupPolicy_To_v1_ImageLookupPolicy(in, out, s)
}
func autoConvert_v1_ImageSignature_To_api_ImageSignature(in *ImageSignature, out *api.ImageSignature, s conversion.Scope) error {
out.ObjectMeta = in.ObjectMeta
out.Type = in.Type
out.Content = *(*[]byte)(unsafe.Pointer(&in.Content))
out.Conditions = *(*[]api.SignatureCondition)(unsafe.Pointer(&in.Conditions))
out.ImageIdentity = in.ImageIdentity
out.SignedClaims = *(*map[string]string)(unsafe.Pointer(&in.SignedClaims))
out.Created = (*meta_v1.Time)(unsafe.Pointer(in.Created))
out.IssuedBy = (*api.SignatureIssuer)(unsafe.Pointer(in.IssuedBy))
out.IssuedTo = (*api.SignatureSubject)(unsafe.Pointer(in.IssuedTo))
return nil
}
func Convert_v1_ImageSignature_To_api_ImageSignature(in *ImageSignature, out *api.ImageSignature, s conversion.Scope) error {
return autoConvert_v1_ImageSignature_To_api_ImageSignature(in, out, s)
}
func autoConvert_api_ImageSignature_To_v1_ImageSignature(in *api.ImageSignature, out *ImageSignature, s conversion.Scope) error {
out.ObjectMeta = in.ObjectMeta
out.Type = in.Type
if in.Content == nil {
out.Content = make([]byte, 0)
} else {
out.Content = *(*[]byte)(unsafe.Pointer(&in.Content))
}
out.Conditions = *(*[]SignatureCondition)(unsafe.Pointer(&in.Conditions))
out.ImageIdentity = in.ImageIdentity
out.SignedClaims = *(*map[string]string)(unsafe.Pointer(&in.SignedClaims))
out.Created = (*meta_v1.Time)(unsafe.Pointer(in.Created))
out.IssuedBy = (*SignatureIssuer)(unsafe.Pointer(in.IssuedBy))
out.IssuedTo = (*SignatureSubject)(unsafe.Pointer(in.IssuedTo))
return nil
}
func Convert_api_ImageSignature_To_v1_ImageSignature(in *api.ImageSignature, out *ImageSignature, s conversion.Scope) error {
return autoConvert_api_ImageSignature_To_v1_ImageSignature(in, out, s)
}
func autoConvert_v1_ImageStream_To_api_ImageStream(in *ImageStream, out *api.ImageStream, s conversion.Scope) error {
out.ObjectMeta = in.ObjectMeta
if err := Convert_v1_ImageStreamSpec_To_api_ImageStreamSpec(&in.Spec, &out.Spec, s); err != nil {
return err
}
if err := Convert_v1_ImageStreamStatus_To_api_ImageStreamStatus(&in.Status, &out.Status, s); err != nil {
return err
}
return nil
}
func Convert_v1_ImageStream_To_api_ImageStream(in *ImageStream, out *api.ImageStream, s conversion.Scope) error {
return autoConvert_v1_ImageStream_To_api_ImageStream(in, out, s)
}
func autoConvert_api_ImageStream_To_v1_ImageStream(in *api.ImageStream, out *ImageStream, s conversion.Scope) error {
out.ObjectMeta = in.ObjectMeta
if err := Convert_api_ImageStreamSpec_To_v1_ImageStreamSpec(&in.Spec, &out.Spec, s); err != nil {
return err
}
if err := Convert_api_ImageStreamStatus_To_v1_ImageStreamStatus(&in.Status, &out.Status, s); err != nil {
return err
}
return nil
}
func Convert_api_ImageStream_To_v1_ImageStream(in *api.ImageStream, out *ImageStream, s conversion.Scope) error {
return autoConvert_api_ImageStream_To_v1_ImageStream(in, out, s)
}
func autoConvert_v1_ImageStreamImage_To_api_ImageStreamImage(in *ImageStreamImage, out *api.ImageStreamImage, s conversion.Scope) error {
out.ObjectMeta = in.ObjectMeta
if err := Convert_v1_Image_To_api_Image(&in.Image, &out.Image, s); err != nil {
return err
}
return nil
}
func Convert_v1_ImageStreamImage_To_api_ImageStreamImage(in *ImageStreamImage, out *api.ImageStreamImage, s conversion.Scope) error {
return autoConvert_v1_ImageStreamImage_To_api_ImageStreamImage(in, out, s)
}
func autoConvert_api_ImageStreamImage_To_v1_ImageStreamImage(in *api.ImageStreamImage, out *ImageStreamImage, s conversion.Scope) error {
out.ObjectMeta = in.ObjectMeta
if err := Convert_api_Image_To_v1_Image(&in.Image, &out.Image, s); err != nil {
return err
}
return nil
}
func Convert_api_ImageStreamImage_To_v1_ImageStreamImage(in *api.ImageStreamImage, out *ImageStreamImage, s conversion.Scope) error {
return autoConvert_api_ImageStreamImage_To_v1_ImageStreamImage(in, out, s)
}
func autoConvert_v1_ImageStreamImport_To_api_ImageStreamImport(in *ImageStreamImport, out *api.ImageStreamImport, s conversion.Scope) error {
out.ObjectMeta = in.ObjectMeta
if err := Convert_v1_ImageStreamImportSpec_To_api_ImageStreamImportSpec(&in.Spec, &out.Spec, s); err != nil {
return err
}
if err := Convert_v1_ImageStreamImportStatus_To_api_ImageStreamImportStatus(&in.Status, &out.Status, s); err != nil {
return err
}
return nil
}
func Convert_v1_ImageStreamImport_To_api_ImageStreamImport(in *ImageStreamImport, out *api.ImageStreamImport, s conversion.Scope) error {
return autoConvert_v1_ImageStreamImport_To_api_ImageStreamImport(in, out, s)
}
func autoConvert_api_ImageStreamImport_To_v1_ImageStreamImport(in *api.ImageStreamImport, out *ImageStreamImport, s conversion.Scope) error {
out.ObjectMeta = in.ObjectMeta
if err := Convert_api_ImageStreamImportSpec_To_v1_ImageStreamImportSpec(&in.Spec, &out.Spec, s); err != nil {
return err
}
if err := Convert_api_ImageStreamImportStatus_To_v1_ImageStreamImportStatus(&in.Status, &out.Status, s); err != nil {
return err
}
return nil
}
func Convert_api_ImageStreamImport_To_v1_ImageStreamImport(in *api.ImageStreamImport, out *ImageStreamImport, s conversion.Scope) error {
return autoConvert_api_ImageStreamImport_To_v1_ImageStreamImport(in, out, s)
}
func autoConvert_v1_ImageStreamImportSpec_To_api_ImageStreamImportSpec(in *ImageStreamImportSpec, out *api.ImageStreamImportSpec, s conversion.Scope) error {
out.Import = in.Import
if in.Repository != nil {
in, out := &in.Repository, &out.Repository
*out = new(api.RepositoryImportSpec)
if err := Convert_v1_RepositoryImportSpec_To_api_RepositoryImportSpec(*in, *out, s); err != nil {
return err
}
} else {
out.Repository = nil
}
if in.Images != nil {
in, out := &in.Images, &out.Images
*out = make([]api.ImageImportSpec, len(*in))
for i := range *in {
if err := Convert_v1_ImageImportSpec_To_api_ImageImportSpec(&(*in)[i], &(*out)[i], s); err != nil {
return err
}
}
} else {
out.Images = nil
}
return nil
}
func Convert_v1_ImageStreamImportSpec_To_api_ImageStreamImportSpec(in *ImageStreamImportSpec, out *api.ImageStreamImportSpec, s conversion.Scope) error {
return autoConvert_v1_ImageStreamImportSpec_To_api_ImageStreamImportSpec(in, out, s)
}
func autoConvert_api_ImageStreamImportSpec_To_v1_ImageStreamImportSpec(in *api.ImageStreamImportSpec, out *ImageStreamImportSpec, s conversion.Scope) error {
out.Import = in.Import
if in.Repository != nil {
in, out := &in.Repository, &out.Repository
*out = new(RepositoryImportSpec)
if err := Convert_api_RepositoryImportSpec_To_v1_RepositoryImportSpec(*in, *out, s); err != nil {
return err
}
} else {
out.Repository = nil
}
if in.Images != nil {
in, out := &in.Images, &out.Images
*out = make([]ImageImportSpec, len(*in))
for i := range *in {
if err := Convert_api_ImageImportSpec_To_v1_ImageImportSpec(&(*in)[i], &(*out)[i], s); err != nil {
return err
}
}
} else {
out.Images = nil
}
return nil
}
func Convert_api_ImageStreamImportSpec_To_v1_ImageStreamImportSpec(in *api.ImageStreamImportSpec, out *ImageStreamImportSpec, s conversion.Scope) error {
return autoConvert_api_ImageStreamImportSpec_To_v1_ImageStreamImportSpec(in, out, s)
}
func autoConvert_v1_ImageStreamImportStatus_To_api_ImageStreamImportStatus(in *ImageStreamImportStatus, out *api.ImageStreamImportStatus, s conversion.Scope) error {
if in.Import != nil {
in, out := &in.Import, &out.Import
*out = new(api.ImageStream)
if err := Convert_v1_ImageStream_To_api_ImageStream(*in, *out, s); err != nil {
return err
}
} else {
out.Import = nil
}
if in.Repository != nil {
in, out := &in.Repository, &out.Repository
*out = new(api.RepositoryImportStatus)
if err := Convert_v1_RepositoryImportStatus_To_api_RepositoryImportStatus(*in, *out, s); err != nil {
return err
}
} else {
out.Repository = nil
}
if in.Images != nil {
in, out := &in.Images, &out.Images
*out = make([]api.ImageImportStatus, len(*in))
for i := range *in {
if err := Convert_v1_ImageImportStatus_To_api_ImageImportStatus(&(*in)[i], &(*out)[i], s); err != nil {
return err
}
}
} else {
out.Images = nil
}
return nil
}
func Convert_v1_ImageStreamImportStatus_To_api_ImageStreamImportStatus(in *ImageStreamImportStatus, out *api.ImageStreamImportStatus, s conversion.Scope) error {
return autoConvert_v1_ImageStreamImportStatus_To_api_ImageStreamImportStatus(in, out, s)
}
func autoConvert_api_ImageStreamImportStatus_To_v1_ImageStreamImportStatus(in *api.ImageStreamImportStatus, out *ImageStreamImportStatus, s conversion.Scope) error {
if in.Import != nil {
in, out := &in.Import, &out.Import
*out = new(ImageStream)
if err := Convert_api_ImageStream_To_v1_ImageStream(*in, *out, s); err != nil {
return err
}
} else {
out.Import = nil
}
if in.Repository != nil {
in, out := &in.Repository, &out.Repository
*out = new(RepositoryImportStatus)
if err := Convert_api_RepositoryImportStatus_To_v1_RepositoryImportStatus(*in, *out, s); err != nil {
return err
}
} else {
out.Repository = nil
}
if in.Images != nil {
in, out := &in.Images, &out.Images
*out = make([]ImageImportStatus, len(*in))
for i := range *in {
if err := Convert_api_ImageImportStatus_To_v1_ImageImportStatus(&(*in)[i], &(*out)[i], s); err != nil {
return err
}
}
} else {
out.Images = nil
}
return nil
}
func Convert_api_ImageStreamImportStatus_To_v1_ImageStreamImportStatus(in *api.ImageStreamImportStatus, out *ImageStreamImportStatus, s conversion.Scope) error {
return autoConvert_api_ImageStreamImportStatus_To_v1_ImageStreamImportStatus(in, out, s)
}
func autoConvert_v1_ImageStreamList_To_api_ImageStreamList(in *ImageStreamList, out *api.ImageStreamList, s conversion.Scope) error {
out.ListMeta = in.ListMeta
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]api.ImageStream, len(*in))
for i := range *in {
if err := Convert_v1_ImageStream_To_api_ImageStream(&(*in)[i], &(*out)[i], s); err != nil {
return err
}
}
} else {
out.Items = nil
}
return nil
}
func Convert_v1_ImageStreamList_To_api_ImageStreamList(in *ImageStreamList, out *api.ImageStreamList, s conversion.Scope) error {
return autoConvert_v1_ImageStreamList_To_api_ImageStreamList(in, out, s)
}
func autoConvert_api_ImageStreamList_To_v1_ImageStreamList(in *api.ImageStreamList, out *ImageStreamList, s conversion.Scope) error {
out.ListMeta = in.ListMeta
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]ImageStream, len(*in))
for i := range *in {
if err := Convert_api_ImageStream_To_v1_ImageStream(&(*in)[i], &(*out)[i], s); err != nil {
return err
}
}
} else {
out.Items = make([]ImageStream, 0)
}
return nil
}
func Convert_api_ImageStreamList_To_v1_ImageStreamList(in *api.ImageStreamList, out *ImageStreamList, s conversion.Scope) error {
return autoConvert_api_ImageStreamList_To_v1_ImageStreamList(in, out, s)
}
func autoConvert_v1_ImageStreamMapping_To_api_ImageStreamMapping(in *ImageStreamMapping, out *api.ImageStreamMapping, s conversion.Scope) error {
out.ObjectMeta = in.ObjectMeta
if err := Convert_v1_Image_To_api_Image(&in.Image, &out.Image, s); err != nil {
return err
}
out.Tag = in.Tag
return nil
}
func autoConvert_api_ImageStreamMapping_To_v1_ImageStreamMapping(in *api.ImageStreamMapping, out *ImageStreamMapping, s conversion.Scope) error {
out.ObjectMeta = in.ObjectMeta
// INFO: in.DockerImageRepository opted out of conversion generation
if err := Convert_api_Image_To_v1_Image(&in.Image, &out.Image, s); err != nil {
return err
}
out.Tag = in.Tag
return nil
}
func autoConvert_v1_ImageStreamSpec_To_api_ImageStreamSpec(in *ImageStreamSpec, out *api.ImageStreamSpec, s conversion.Scope) error {
if err := Convert_v1_ImageLookupPolicy_To_api_ImageLookupPolicy(&in.LookupPolicy, &out.LookupPolicy, s); err != nil {
return err
}
out.DockerImageRepository = in.DockerImageRepository
// WARNING: in.Tags requires manual conversion: inconvertible types ([]github.com/openshift/origin/pkg/image/api/v1.TagReference vs map[string]github.com/openshift/origin/pkg/image/api.TagReference)
return nil
}
func autoConvert_api_ImageStreamSpec_To_v1_ImageStreamSpec(in *api.ImageStreamSpec, out *ImageStreamSpec, s conversion.Scope) error {
if err := Convert_api_ImageLookupPolicy_To_v1_ImageLookupPolicy(&in.LookupPolicy, &out.LookupPolicy, s); err != nil {
return err
}
out.DockerImageRepository = in.DockerImageRepository
// WARNING: in.Tags requires manual conversion: inconvertible types (map[string]github.com/openshift/origin/pkg/image/api.TagReference vs []github.com/openshift/origin/pkg/image/api/v1.TagReference)
return nil
}
func autoConvert_v1_ImageStreamStatus_To_api_ImageStreamStatus(in *ImageStreamStatus, out *api.ImageStreamStatus, s conversion.Scope) error {
out.DockerImageRepository = in.DockerImageRepository
// WARNING: in.Tags requires manual conversion: inconvertible types ([]github.com/openshift/origin/pkg/image/api/v1.NamedTagEventList vs map[string]github.com/openshift/origin/pkg/image/api.TagEventList)
return nil
}
func autoConvert_api_ImageStreamStatus_To_v1_ImageStreamStatus(in *api.ImageStreamStatus, out *ImageStreamStatus, s conversion.Scope) error {
out.DockerImageRepository = in.DockerImageRepository
// WARNING: in.Tags requires manual conversion: inconvertible types (map[string]github.com/openshift/origin/pkg/image/api.TagEventList vs []github.com/openshift/origin/pkg/image/api/v1.NamedTagEventList)
return nil
}
func autoConvert_v1_ImageStreamTag_To_api_ImageStreamTag(in *ImageStreamTag, out *api.ImageStreamTag, s conversion.Scope) error {
out.ObjectMeta = in.ObjectMeta
if in.Tag != nil {
in, out := &in.Tag, &out.Tag
*out = new(api.TagReference)
if err := Convert_v1_TagReference_To_api_TagReference(*in, *out, s); err != nil {
return err
}
} else {
out.Tag = nil
}
out.Generation = in.Generation
if err := Convert_v1_ImageLookupPolicy_To_api_ImageLookupPolicy(&in.LookupPolicy, &out.LookupPolicy, s); err != nil {
return err
}
out.Conditions = *(*[]api.TagEventCondition)(unsafe.Pointer(&in.Conditions))
if err := Convert_v1_Image_To_api_Image(&in.Image, &out.Image, s); err != nil {
return err
}
return nil
}
func Convert_v1_ImageStreamTag_To_api_ImageStreamTag(in *ImageStreamTag, out *api.ImageStreamTag, s conversion.Scope) error {
return autoConvert_v1_ImageStreamTag_To_api_ImageStreamTag(in, out, s)
}
func autoConvert_api_ImageStreamTag_To_v1_ImageStreamTag(in *api.ImageStreamTag, out *ImageStreamTag, s conversion.Scope) error {
out.ObjectMeta = in.ObjectMeta
if in.Tag != nil {
in, out := &in.Tag, &out.Tag
*out = new(TagReference)
if err := Convert_api_TagReference_To_v1_TagReference(*in, *out, s); err != nil {
return err
}
} else {
out.Tag = nil
}
out.Generation = in.Generation
out.Conditions = *(*[]TagEventCondition)(unsafe.Pointer(&in.Conditions))
if err := Convert_api_ImageLookupPolicy_To_v1_ImageLookupPolicy(&in.LookupPolicy, &out.LookupPolicy, s); err != nil {
return err
}
if err := Convert_api_Image_To_v1_Image(&in.Image, &out.Image, s); err != nil {
return err
}
return nil
}
func Convert_api_ImageStreamTag_To_v1_ImageStreamTag(in *api.ImageStreamTag, out *ImageStreamTag, s conversion.Scope) error {
return autoConvert_api_ImageStreamTag_To_v1_ImageStreamTag(in, out, s)
}
func autoConvert_v1_ImageStreamTagList_To_api_ImageStreamTagList(in *ImageStreamTagList, out *api.ImageStreamTagList, s conversion.Scope) error {
out.ListMeta = in.ListMeta
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]api.ImageStreamTag, len(*in))
for i := range *in {
if err := Convert_v1_ImageStreamTag_To_api_ImageStreamTag(&(*in)[i], &(*out)[i], s); err != nil {
return err
}
}
} else {
out.Items = nil
}
return nil
}
func Convert_v1_ImageStreamTagList_To_api_ImageStreamTagList(in *ImageStreamTagList, out *api.ImageStreamTagList, s conversion.Scope) error {
return autoConvert_v1_ImageStreamTagList_To_api_ImageStreamTagList(in, out, s)
}
func autoConvert_api_ImageStreamTagList_To_v1_ImageStreamTagList(in *api.ImageStreamTagList, out *ImageStreamTagList, s conversion.Scope) error {
out.ListMeta = in.ListMeta
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]ImageStreamTag, len(*in))
for i := range *in {
if err := Convert_api_ImageStreamTag_To_v1_ImageStreamTag(&(*in)[i], &(*out)[i], s); err != nil {
return err
}
}
} else {
out.Items = make([]ImageStreamTag, 0)
}
return nil
}
func Convert_api_ImageStreamTagList_To_v1_ImageStreamTagList(in *api.ImageStreamTagList, out *ImageStreamTagList, s conversion.Scope) error {
return autoConvert_api_ImageStreamTagList_To_v1_ImageStreamTagList(in, out, s)
}
func autoConvert_v1_RepositoryImportSpec_To_api_RepositoryImportSpec(in *RepositoryImportSpec, out *api.RepositoryImportSpec, s conversion.Scope) error {
if err := api_v1.Convert_v1_ObjectReference_To_api_ObjectReference(&in.From, &out.From, s); err != nil {
return err
}
if err := Convert_v1_TagImportPolicy_To_api_TagImportPolicy(&in.ImportPolicy, &out.ImportPolicy, s); err != nil {
return err
}
if err := Convert_v1_TagReferencePolicy_To_api_TagReferencePolicy(&in.ReferencePolicy, &out.ReferencePolicy, s); err != nil {
return err
}
out.IncludeManifest = in.IncludeManifest
return nil
}
func Convert_v1_RepositoryImportSpec_To_api_RepositoryImportSpec(in *RepositoryImportSpec, out *api.RepositoryImportSpec, s conversion.Scope) error {
return autoConvert_v1_RepositoryImportSpec_To_api_RepositoryImportSpec(in, out, s)
}
func autoConvert_api_RepositoryImportSpec_To_v1_RepositoryImportSpec(in *api.RepositoryImportSpec, out *RepositoryImportSpec, s conversion.Scope) error {
if err := api_v1.Convert_api_ObjectReference_To_v1_ObjectReference(&in.From, &out.From, s); err != nil {
return err
}
if err := Convert_api_TagImportPolicy_To_v1_TagImportPolicy(&in.ImportPolicy, &out.ImportPolicy, s); err != nil {
return err
}
if err := Convert_api_TagReferencePolicy_To_v1_TagReferencePolicy(&in.ReferencePolicy, &out.ReferencePolicy, s); err != nil {
return err
}
out.IncludeManifest = in.IncludeManifest
return nil
}
func Convert_api_RepositoryImportSpec_To_v1_RepositoryImportSpec(in *api.RepositoryImportSpec, out *RepositoryImportSpec, s conversion.Scope) error {
return autoConvert_api_RepositoryImportSpec_To_v1_RepositoryImportSpec(in, out, s)
}
func autoConvert_v1_RepositoryImportStatus_To_api_RepositoryImportStatus(in *RepositoryImportStatus, out *api.RepositoryImportStatus, s conversion.Scope) error {
out.Status = in.Status
if in.Images != nil {
in, out := &in.Images, &out.Images
*out = make([]api.ImageImportStatus, len(*in))
for i := range *in {
if err := Convert_v1_ImageImportStatus_To_api_ImageImportStatus(&(*in)[i], &(*out)[i], s); err != nil {
return err
}
}
} else {
out.Images = nil
}
out.AdditionalTags = *(*[]string)(unsafe.Pointer(&in.AdditionalTags))
return nil
}
func Convert_v1_RepositoryImportStatus_To_api_RepositoryImportStatus(in *RepositoryImportStatus, out *api.RepositoryImportStatus, s conversion.Scope) error {
return autoConvert_v1_RepositoryImportStatus_To_api_RepositoryImportStatus(in, out, s)
}
func autoConvert_api_RepositoryImportStatus_To_v1_RepositoryImportStatus(in *api.RepositoryImportStatus, out *RepositoryImportStatus, s conversion.Scope) error {
out.Status = in.Status
if in.Images != nil {
in, out := &in.Images, &out.Images
*out = make([]ImageImportStatus, len(*in))
for i := range *in {
if err := Convert_api_ImageImportStatus_To_v1_ImageImportStatus(&(*in)[i], &(*out)[i], s); err != nil {
return err
}
}
} else {
out.Images = nil
}
out.AdditionalTags = *(*[]string)(unsafe.Pointer(&in.AdditionalTags))
return nil
}
func Convert_api_RepositoryImportStatus_To_v1_RepositoryImportStatus(in *api.RepositoryImportStatus, out *RepositoryImportStatus, s conversion.Scope) error {
return autoConvert_api_RepositoryImportStatus_To_v1_RepositoryImportStatus(in, out, s)
}
func autoConvert_v1_SignatureCondition_To_api_SignatureCondition(in *SignatureCondition, out *api.SignatureCondition, s conversion.Scope) error {
out.Type = api.SignatureConditionType(in.Type)
out.Status = pkg_api.ConditionStatus(in.Status)
out.LastProbeTime = in.LastProbeTime
out.LastTransitionTime = in.LastTransitionTime
out.Reason = in.Reason
out.Message = in.Message
return nil
}
func Convert_v1_SignatureCondition_To_api_SignatureCondition(in *SignatureCondition, out *api.SignatureCondition, s conversion.Scope) error {
return autoConvert_v1_SignatureCondition_To_api_SignatureCondition(in, out, s)
}
func autoConvert_api_SignatureCondition_To_v1_SignatureCondition(in *api.SignatureCondition, out *SignatureCondition, s conversion.Scope) error {
out.Type = SignatureConditionType(in.Type)
out.Status = api_v1.ConditionStatus(in.Status)
out.LastProbeTime = in.LastProbeTime
out.LastTransitionTime = in.LastTransitionTime
out.Reason = in.Reason
out.Message = in.Message
return nil
}
func Convert_api_SignatureCondition_To_v1_SignatureCondition(in *api.SignatureCondition, out *SignatureCondition, s conversion.Scope) error {
return autoConvert_api_SignatureCondition_To_v1_SignatureCondition(in, out, s)
}
func autoConvert_v1_SignatureGenericEntity_To_api_SignatureGenericEntity(in *SignatureGenericEntity, out *api.SignatureGenericEntity, s conversion.Scope) error {
out.Organization = in.Organization
out.CommonName = in.CommonName
return nil
}
func Convert_v1_SignatureGenericEntity_To_api_SignatureGenericEntity(in *SignatureGenericEntity, out *api.SignatureGenericEntity, s conversion.Scope) error {
return autoConvert_v1_SignatureGenericEntity_To_api_SignatureGenericEntity(in, out, s)
}
func autoConvert_api_SignatureGenericEntity_To_v1_SignatureGenericEntity(in *api.SignatureGenericEntity, out *SignatureGenericEntity, s conversion.Scope) error {
out.Organization = in.Organization
out.CommonName = in.CommonName
return nil
}
func Convert_api_SignatureGenericEntity_To_v1_SignatureGenericEntity(in *api.SignatureGenericEntity, out *SignatureGenericEntity, s conversion.Scope) error {
return autoConvert_api_SignatureGenericEntity_To_v1_SignatureGenericEntity(in, out, s)
}
func autoConvert_v1_SignatureIssuer_To_api_SignatureIssuer(in *SignatureIssuer, out *api.SignatureIssuer, s conversion.Scope) error {
if err := Convert_v1_SignatureGenericEntity_To_api_SignatureGenericEntity(&in.SignatureGenericEntity, &out.SignatureGenericEntity, s); err != nil {
return err
}
return nil
}
func Convert_v1_SignatureIssuer_To_api_SignatureIssuer(in *SignatureIssuer, out *api.SignatureIssuer, s conversion.Scope) error {
return autoConvert_v1_SignatureIssuer_To_api_SignatureIssuer(in, out, s)
}
func autoConvert_api_SignatureIssuer_To_v1_SignatureIssuer(in *api.SignatureIssuer, out *SignatureIssuer, s conversion.Scope) error {
if err := Convert_api_SignatureGenericEntity_To_v1_SignatureGenericEntity(&in.SignatureGenericEntity, &out.SignatureGenericEntity, s); err != nil {
return err
}
return nil
}
func Convert_api_SignatureIssuer_To_v1_SignatureIssuer(in *api.SignatureIssuer, out *SignatureIssuer, s conversion.Scope) error {
return autoConvert_api_SignatureIssuer_To_v1_SignatureIssuer(in, out, s)
}
func autoConvert_v1_SignatureSubject_To_api_SignatureSubject(in *SignatureSubject, out *api.SignatureSubject, s conversion.Scope) error {
if err := Convert_v1_SignatureGenericEntity_To_api_SignatureGenericEntity(&in.SignatureGenericEntity, &out.SignatureGenericEntity, s); err != nil {
return err
}
out.PublicKeyID = in.PublicKeyID
return nil
}
func Convert_v1_SignatureSubject_To_api_SignatureSubject(in *SignatureSubject, out *api.SignatureSubject, s conversion.Scope) error {
return autoConvert_v1_SignatureSubject_To_api_SignatureSubject(in, out, s)
}
func autoConvert_api_SignatureSubject_To_v1_SignatureSubject(in *api.SignatureSubject, out *SignatureSubject, s conversion.Scope) error {
if err := Convert_api_SignatureGenericEntity_To_v1_SignatureGenericEntity(&in.SignatureGenericEntity, &out.SignatureGenericEntity, s); err != nil {
return err
}
out.PublicKeyID = in.PublicKeyID
return nil
}
func Convert_api_SignatureSubject_To_v1_SignatureSubject(in *api.SignatureSubject, out *SignatureSubject, s conversion.Scope) error {
return autoConvert_api_SignatureSubject_To_v1_SignatureSubject(in, out, s)
}
func autoConvert_v1_TagEvent_To_api_TagEvent(in *TagEvent, out *api.TagEvent, s conversion.Scope) error {
out.Created = in.Created
out.DockerImageReference = in.DockerImageReference
out.Image = in.Image
out.Generation = in.Generation
return nil
}
func Convert_v1_TagEvent_To_api_TagEvent(in *TagEvent, out *api.TagEvent, s conversion.Scope) error {
return autoConvert_v1_TagEvent_To_api_TagEvent(in, out, s)
}
func autoConvert_api_TagEvent_To_v1_TagEvent(in *api.TagEvent, out *TagEvent, s conversion.Scope) error {
out.Created = in.Created
out.DockerImageReference = in.DockerImageReference
out.Image = in.Image
out.Generation = in.Generation
return nil
}
func Convert_api_TagEvent_To_v1_TagEvent(in *api.TagEvent, out *TagEvent, s conversion.Scope) error {
return autoConvert_api_TagEvent_To_v1_TagEvent(in, out, s)
}
func autoConvert_v1_TagEventCondition_To_api_TagEventCondition(in *TagEventCondition, out *api.TagEventCondition, s conversion.Scope) error {
out.Type = api.TagEventConditionType(in.Type)
out.Status = pkg_api.ConditionStatus(in.Status)
out.LastTransitionTime = in.LastTransitionTime
out.Reason = in.Reason
out.Message = in.Message
out.Generation = in.Generation
return nil
}
func Convert_v1_TagEventCondition_To_api_TagEventCondition(in *TagEventCondition, out *api.TagEventCondition, s conversion.Scope) error {
return autoConvert_v1_TagEventCondition_To_api_TagEventCondition(in, out, s)
}
func autoConvert_api_TagEventCondition_To_v1_TagEventCondition(in *api.TagEventCondition, out *TagEventCondition, s conversion.Scope) error {
out.Type = TagEventConditionType(in.Type)
out.Status = api_v1.ConditionStatus(in.Status)
out.LastTransitionTime = in.LastTransitionTime
out.Reason = in.Reason
out.Message = in.Message
out.Generation = in.Generation
return nil
}
func Convert_api_TagEventCondition_To_v1_TagEventCondition(in *api.TagEventCondition, out *TagEventCondition, s conversion.Scope) error {
return autoConvert_api_TagEventCondition_To_v1_TagEventCondition(in, out, s)
}
func autoConvert_v1_TagImportPolicy_To_api_TagImportPolicy(in *TagImportPolicy, out *api.TagImportPolicy, s conversion.Scope) error {
out.Insecure = in.Insecure
out.Scheduled = in.Scheduled
return nil
}
func Convert_v1_TagImportPolicy_To_api_TagImportPolicy(in *TagImportPolicy, out *api.TagImportPolicy, s conversion.Scope) error {
return autoConvert_v1_TagImportPolicy_To_api_TagImportPolicy(in, out, s)
}
func autoConvert_api_TagImportPolicy_To_v1_TagImportPolicy(in *api.TagImportPolicy, out *TagImportPolicy, s conversion.Scope) error {
out.Insecure = in.Insecure
out.Scheduled = in.Scheduled
return nil
}
func Convert_api_TagImportPolicy_To_v1_TagImportPolicy(in *api.TagImportPolicy, out *TagImportPolicy, s conversion.Scope) error {
return autoConvert_api_TagImportPolicy_To_v1_TagImportPolicy(in, out, s)