...
1
2
3
4
19
20
21
22 package v1
23
24 import (
25 runtime "k8s.io/apimachinery/pkg/runtime"
26 )
27
28
29 func (in *BoundObjectReference) DeepCopyInto(out *BoundObjectReference) {
30 *out = *in
31 return
32 }
33
34
35 func (in *BoundObjectReference) DeepCopy() *BoundObjectReference {
36 if in == nil {
37 return nil
38 }
39 out := new(BoundObjectReference)
40 in.DeepCopyInto(out)
41 return out
42 }
43
44
45 func (in ExtraValue) DeepCopyInto(out *ExtraValue) {
46 {
47 in := &in
48 *out = make(ExtraValue, len(*in))
49 copy(*out, *in)
50 return
51 }
52 }
53
54
55 func (in ExtraValue) DeepCopy() ExtraValue {
56 if in == nil {
57 return nil
58 }
59 out := new(ExtraValue)
60 in.DeepCopyInto(out)
61 return *out
62 }
63
64
65 func (in *SelfSubjectReview) DeepCopyInto(out *SelfSubjectReview) {
66 *out = *in
67 out.TypeMeta = in.TypeMeta
68 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
69 in.Status.DeepCopyInto(&out.Status)
70 return
71 }
72
73
74 func (in *SelfSubjectReview) DeepCopy() *SelfSubjectReview {
75 if in == nil {
76 return nil
77 }
78 out := new(SelfSubjectReview)
79 in.DeepCopyInto(out)
80 return out
81 }
82
83
84 func (in *SelfSubjectReview) DeepCopyObject() runtime.Object {
85 if c := in.DeepCopy(); c != nil {
86 return c
87 }
88 return nil
89 }
90
91
92 func (in *SelfSubjectReviewStatus) DeepCopyInto(out *SelfSubjectReviewStatus) {
93 *out = *in
94 in.UserInfo.DeepCopyInto(&out.UserInfo)
95 return
96 }
97
98
99 func (in *SelfSubjectReviewStatus) DeepCopy() *SelfSubjectReviewStatus {
100 if in == nil {
101 return nil
102 }
103 out := new(SelfSubjectReviewStatus)
104 in.DeepCopyInto(out)
105 return out
106 }
107
108
109 func (in *TokenRequest) DeepCopyInto(out *TokenRequest) {
110 *out = *in
111 out.TypeMeta = in.TypeMeta
112 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
113 in.Spec.DeepCopyInto(&out.Spec)
114 in.Status.DeepCopyInto(&out.Status)
115 return
116 }
117
118
119 func (in *TokenRequest) DeepCopy() *TokenRequest {
120 if in == nil {
121 return nil
122 }
123 out := new(TokenRequest)
124 in.DeepCopyInto(out)
125 return out
126 }
127
128
129 func (in *TokenRequest) DeepCopyObject() runtime.Object {
130 if c := in.DeepCopy(); c != nil {
131 return c
132 }
133 return nil
134 }
135
136
137 func (in *TokenRequestSpec) DeepCopyInto(out *TokenRequestSpec) {
138 *out = *in
139 if in.Audiences != nil {
140 in, out := &in.Audiences, &out.Audiences
141 *out = make([]string, len(*in))
142 copy(*out, *in)
143 }
144 if in.ExpirationSeconds != nil {
145 in, out := &in.ExpirationSeconds, &out.ExpirationSeconds
146 *out = new(int64)
147 **out = **in
148 }
149 if in.BoundObjectRef != nil {
150 in, out := &in.BoundObjectRef, &out.BoundObjectRef
151 *out = new(BoundObjectReference)
152 **out = **in
153 }
154 return
155 }
156
157
158 func (in *TokenRequestSpec) DeepCopy() *TokenRequestSpec {
159 if in == nil {
160 return nil
161 }
162 out := new(TokenRequestSpec)
163 in.DeepCopyInto(out)
164 return out
165 }
166
167
168 func (in *TokenRequestStatus) DeepCopyInto(out *TokenRequestStatus) {
169 *out = *in
170 in.ExpirationTimestamp.DeepCopyInto(&out.ExpirationTimestamp)
171 return
172 }
173
174
175 func (in *TokenRequestStatus) DeepCopy() *TokenRequestStatus {
176 if in == nil {
177 return nil
178 }
179 out := new(TokenRequestStatus)
180 in.DeepCopyInto(out)
181 return out
182 }
183
184
185 func (in *TokenReview) DeepCopyInto(out *TokenReview) {
186 *out = *in
187 out.TypeMeta = in.TypeMeta
188 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
189 in.Spec.DeepCopyInto(&out.Spec)
190 in.Status.DeepCopyInto(&out.Status)
191 return
192 }
193
194
195 func (in *TokenReview) DeepCopy() *TokenReview {
196 if in == nil {
197 return nil
198 }
199 out := new(TokenReview)
200 in.DeepCopyInto(out)
201 return out
202 }
203
204
205 func (in *TokenReview) DeepCopyObject() runtime.Object {
206 if c := in.DeepCopy(); c != nil {
207 return c
208 }
209 return nil
210 }
211
212
213 func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) {
214 *out = *in
215 if in.Audiences != nil {
216 in, out := &in.Audiences, &out.Audiences
217 *out = make([]string, len(*in))
218 copy(*out, *in)
219 }
220 return
221 }
222
223
224 func (in *TokenReviewSpec) DeepCopy() *TokenReviewSpec {
225 if in == nil {
226 return nil
227 }
228 out := new(TokenReviewSpec)
229 in.DeepCopyInto(out)
230 return out
231 }
232
233
234 func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) {
235 *out = *in
236 in.User.DeepCopyInto(&out.User)
237 if in.Audiences != nil {
238 in, out := &in.Audiences, &out.Audiences
239 *out = make([]string, len(*in))
240 copy(*out, *in)
241 }
242 return
243 }
244
245
246 func (in *TokenReviewStatus) DeepCopy() *TokenReviewStatus {
247 if in == nil {
248 return nil
249 }
250 out := new(TokenReviewStatus)
251 in.DeepCopyInto(out)
252 return out
253 }
254
255
256 func (in *UserInfo) DeepCopyInto(out *UserInfo) {
257 *out = *in
258 if in.Groups != nil {
259 in, out := &in.Groups, &out.Groups
260 *out = make([]string, len(*in))
261 copy(*out, *in)
262 }
263 if in.Extra != nil {
264 in, out := &in.Extra, &out.Extra
265 *out = make(map[string]ExtraValue, len(*in))
266 for key, val := range *in {
267 var outVal []string
268 if val == nil {
269 (*out)[key] = nil
270 } else {
271 in, out := &val, &outVal
272 *out = make(ExtraValue, len(*in))
273 copy(*out, *in)
274 }
275 (*out)[key] = outVal
276 }
277 }
278 return
279 }
280
281
282 func (in *UserInfo) DeepCopy() *UserInfo {
283 if in == nil {
284 return nil
285 }
286 out := new(UserInfo)
287 in.DeepCopyInto(out)
288 return out
289 }
290
View as plain text