...
1
2
3
4
5 package v1
6
7 import (
8 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
9 runtime "k8s.io/apimachinery/pkg/runtime"
10 )
11
12
13 func (in *IENPatch) DeepCopyInto(out *IENPatch) {
14 *out = *in
15 out.TypeMeta = in.TypeMeta
16 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
17 in.Spec.DeepCopyInto(&out.Spec)
18 if in.Status != nil {
19 in, out := &in.Status, &out.Status
20 *out = new(IENPatchStatus)
21 (*in).DeepCopyInto(*out)
22 }
23 }
24
25
26 func (in *IENPatch) DeepCopy() *IENPatch {
27 if in == nil {
28 return nil
29 }
30 out := new(IENPatch)
31 in.DeepCopyInto(out)
32 return out
33 }
34
35
36 func (in *IENPatch) DeepCopyObject() runtime.Object {
37 if c := in.DeepCopy(); c != nil {
38 return c
39 }
40 return nil
41 }
42
43
44 func (in *IENPatchList) DeepCopyInto(out *IENPatchList) {
45 *out = *in
46 out.TypeMeta = in.TypeMeta
47 in.ListMeta.DeepCopyInto(&out.ListMeta)
48 if in.Items != nil {
49 in, out := &in.Items, &out.Items
50 *out = make([]IENPatch, len(*in))
51 for i := range *in {
52 (*in)[i].DeepCopyInto(&(*out)[i])
53 }
54 }
55 }
56
57
58 func (in *IENPatchList) DeepCopy() *IENPatchList {
59 if in == nil {
60 return nil
61 }
62 out := new(IENPatchList)
63 in.DeepCopyInto(out)
64 return out
65 }
66
67
68 func (in *IENPatchList) DeepCopyObject() runtime.Object {
69 if c := in.DeepCopy(); c != nil {
70 return c
71 }
72 return nil
73 }
74
75
76 func (in *IENPatchSpec) DeepCopyInto(out *IENPatchSpec) {
77 *out = *in
78 if in.NodeTargets != nil {
79 in, out := &in.NodeTargets, &out.NodeTargets
80 *out = make([]string, len(*in))
81 copy(*out, *in)
82 }
83 if in.SourceVersions != nil {
84 in, out := &in.SourceVersions, &out.SourceVersions
85 *out = make([]string, len(*in))
86 copy(*out, *in)
87 }
88 }
89
90
91 func (in *IENPatchSpec) DeepCopy() *IENPatchSpec {
92 if in == nil {
93 return nil
94 }
95 out := new(IENPatchSpec)
96 in.DeepCopyInto(out)
97 return out
98 }
99
100
101 func (in *IENPatchStatus) DeepCopyInto(out *IENPatchStatus) {
102 *out = *in
103 if in.Conditions != nil {
104 in, out := &in.Conditions, &out.Conditions
105 *out = make([]metav1.Condition, len(*in))
106 for i := range *in {
107 (*in)[i].DeepCopyInto(&(*out)[i])
108 }
109 }
110 }
111
112
113 func (in *IENPatchStatus) DeepCopy() *IENPatchStatus {
114 if in == nil {
115 return nil
116 }
117 out := new(IENPatchStatus)
118 in.DeepCopyInto(out)
119 return out
120 }
121
View as plain text