...
1
2
3
4
19
20
21
22 package v1alpha1
23
24 import (
25 runtime "k8s.io/apimachinery/pkg/runtime"
26 )
27
28
29 func (in *ServerStorageVersion) DeepCopyInto(out *ServerStorageVersion) {
30 *out = *in
31 if in.DecodableVersions != nil {
32 in, out := &in.DecodableVersions, &out.DecodableVersions
33 *out = make([]string, len(*in))
34 copy(*out, *in)
35 }
36 if in.ServedVersions != nil {
37 in, out := &in.ServedVersions, &out.ServedVersions
38 *out = make([]string, len(*in))
39 copy(*out, *in)
40 }
41 return
42 }
43
44
45 func (in *ServerStorageVersion) DeepCopy() *ServerStorageVersion {
46 if in == nil {
47 return nil
48 }
49 out := new(ServerStorageVersion)
50 in.DeepCopyInto(out)
51 return out
52 }
53
54
55 func (in *StorageVersion) DeepCopyInto(out *StorageVersion) {
56 *out = *in
57 out.TypeMeta = in.TypeMeta
58 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
59 out.Spec = in.Spec
60 in.Status.DeepCopyInto(&out.Status)
61 return
62 }
63
64
65 func (in *StorageVersion) DeepCopy() *StorageVersion {
66 if in == nil {
67 return nil
68 }
69 out := new(StorageVersion)
70 in.DeepCopyInto(out)
71 return out
72 }
73
74
75 func (in *StorageVersion) DeepCopyObject() runtime.Object {
76 if c := in.DeepCopy(); c != nil {
77 return c
78 }
79 return nil
80 }
81
82
83 func (in *StorageVersionCondition) DeepCopyInto(out *StorageVersionCondition) {
84 *out = *in
85 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
86 return
87 }
88
89
90 func (in *StorageVersionCondition) DeepCopy() *StorageVersionCondition {
91 if in == nil {
92 return nil
93 }
94 out := new(StorageVersionCondition)
95 in.DeepCopyInto(out)
96 return out
97 }
98
99
100 func (in *StorageVersionList) DeepCopyInto(out *StorageVersionList) {
101 *out = *in
102 out.TypeMeta = in.TypeMeta
103 in.ListMeta.DeepCopyInto(&out.ListMeta)
104 if in.Items != nil {
105 in, out := &in.Items, &out.Items
106 *out = make([]StorageVersion, len(*in))
107 for i := range *in {
108 (*in)[i].DeepCopyInto(&(*out)[i])
109 }
110 }
111 return
112 }
113
114
115 func (in *StorageVersionList) DeepCopy() *StorageVersionList {
116 if in == nil {
117 return nil
118 }
119 out := new(StorageVersionList)
120 in.DeepCopyInto(out)
121 return out
122 }
123
124
125 func (in *StorageVersionList) DeepCopyObject() runtime.Object {
126 if c := in.DeepCopy(); c != nil {
127 return c
128 }
129 return nil
130 }
131
132
133 func (in *StorageVersionSpec) DeepCopyInto(out *StorageVersionSpec) {
134 *out = *in
135 return
136 }
137
138
139 func (in *StorageVersionSpec) DeepCopy() *StorageVersionSpec {
140 if in == nil {
141 return nil
142 }
143 out := new(StorageVersionSpec)
144 in.DeepCopyInto(out)
145 return out
146 }
147
148
149 func (in *StorageVersionStatus) DeepCopyInto(out *StorageVersionStatus) {
150 *out = *in
151 if in.StorageVersions != nil {
152 in, out := &in.StorageVersions, &out.StorageVersions
153 *out = make([]ServerStorageVersion, len(*in))
154 for i := range *in {
155 (*in)[i].DeepCopyInto(&(*out)[i])
156 }
157 }
158 if in.CommonEncodingVersion != nil {
159 in, out := &in.CommonEncodingVersion, &out.CommonEncodingVersion
160 *out = new(string)
161 **out = **in
162 }
163 if in.Conditions != nil {
164 in, out := &in.Conditions, &out.Conditions
165 *out = make([]StorageVersionCondition, len(*in))
166 for i := range *in {
167 (*in)[i].DeepCopyInto(&(*out)[i])
168 }
169 }
170 return
171 }
172
173
174 func (in *StorageVersionStatus) DeepCopy() *StorageVersionStatus {
175 if in == nil {
176 return nil
177 }
178 out := new(StorageVersionStatus)
179 in.DeepCopyInto(out)
180 return out
181 }
182
View as plain text