blob: 4b9b9410535966cf186753b3a4993d623e922609 [file] [log] [blame]
Matthias Andreas Benkard832a54e2019-01-29 09:27:38 +01001// +build !ignore_autogenerated
2
3/*
4Copyright The Kubernetes Authors.
5
6Licensed under the Apache License, Version 2.0 (the "License");
7you may not use this file except in compliance with the License.
8You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12Unless required by applicable law or agreed to in writing, software
13distributed under the License is distributed on an "AS IS" BASIS,
14WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15See the License for the specific language governing permissions and
16limitations under the License.
17*/
18
19// Code generated by deepcopy-gen. DO NOT EDIT.
20
21package v1
22
23import (
24 runtime "k8s.io/apimachinery/pkg/runtime"
25)
26
27// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
28func (in *BoundObjectReference) DeepCopyInto(out *BoundObjectReference) {
29 *out = *in
30 return
31}
32
33// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BoundObjectReference.
34func (in *BoundObjectReference) DeepCopy() *BoundObjectReference {
35 if in == nil {
36 return nil
37 }
38 out := new(BoundObjectReference)
39 in.DeepCopyInto(out)
40 return out
41}
42
43// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
44func (in ExtraValue) DeepCopyInto(out *ExtraValue) {
45 {
46 in := &in
47 *out = make(ExtraValue, len(*in))
48 copy(*out, *in)
49 return
50 }
51}
52
53// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraValue.
54func (in ExtraValue) DeepCopy() ExtraValue {
55 if in == nil {
56 return nil
57 }
58 out := new(ExtraValue)
59 in.DeepCopyInto(out)
60 return *out
61}
62
63// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
64func (in *TokenRequest) DeepCopyInto(out *TokenRequest) {
65 *out = *in
66 out.TypeMeta = in.TypeMeta
67 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
68 in.Spec.DeepCopyInto(&out.Spec)
69 in.Status.DeepCopyInto(&out.Status)
70 return
71}
72
73// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequest.
74func (in *TokenRequest) DeepCopy() *TokenRequest {
75 if in == nil {
76 return nil
77 }
78 out := new(TokenRequest)
79 in.DeepCopyInto(out)
80 return out
81}
82
83// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
84func (in *TokenRequest) DeepCopyObject() runtime.Object {
85 if c := in.DeepCopy(); c != nil {
86 return c
87 }
88 return nil
89}
90
91// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
92func (in *TokenRequestSpec) DeepCopyInto(out *TokenRequestSpec) {
93 *out = *in
94 if in.Audiences != nil {
95 in, out := &in.Audiences, &out.Audiences
96 *out = make([]string, len(*in))
97 copy(*out, *in)
98 }
99 if in.ExpirationSeconds != nil {
100 in, out := &in.ExpirationSeconds, &out.ExpirationSeconds
101 if *in == nil {
102 *out = nil
103 } else {
104 *out = new(int64)
105 **out = **in
106 }
107 }
108 if in.BoundObjectRef != nil {
109 in, out := &in.BoundObjectRef, &out.BoundObjectRef
110 if *in == nil {
111 *out = nil
112 } else {
113 *out = new(BoundObjectReference)
114 **out = **in
115 }
116 }
117 return
118}
119
120// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequestSpec.
121func (in *TokenRequestSpec) DeepCopy() *TokenRequestSpec {
122 if in == nil {
123 return nil
124 }
125 out := new(TokenRequestSpec)
126 in.DeepCopyInto(out)
127 return out
128}
129
130// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
131func (in *TokenRequestStatus) DeepCopyInto(out *TokenRequestStatus) {
132 *out = *in
133 in.ExpirationTimestamp.DeepCopyInto(&out.ExpirationTimestamp)
134 return
135}
136
137// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequestStatus.
138func (in *TokenRequestStatus) DeepCopy() *TokenRequestStatus {
139 if in == nil {
140 return nil
141 }
142 out := new(TokenRequestStatus)
143 in.DeepCopyInto(out)
144 return out
145}
146
147// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
148func (in *TokenReview) DeepCopyInto(out *TokenReview) {
149 *out = *in
150 out.TypeMeta = in.TypeMeta
151 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
152 out.Spec = in.Spec
153 in.Status.DeepCopyInto(&out.Status)
154 return
155}
156
157// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview.
158func (in *TokenReview) DeepCopy() *TokenReview {
159 if in == nil {
160 return nil
161 }
162 out := new(TokenReview)
163 in.DeepCopyInto(out)
164 return out
165}
166
167// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
168func (in *TokenReview) DeepCopyObject() runtime.Object {
169 if c := in.DeepCopy(); c != nil {
170 return c
171 }
172 return nil
173}
174
175// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
176func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) {
177 *out = *in
178 return
179}
180
181// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec.
182func (in *TokenReviewSpec) DeepCopy() *TokenReviewSpec {
183 if in == nil {
184 return nil
185 }
186 out := new(TokenReviewSpec)
187 in.DeepCopyInto(out)
188 return out
189}
190
191// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
192func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) {
193 *out = *in
194 in.User.DeepCopyInto(&out.User)
195 return
196}
197
198// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus.
199func (in *TokenReviewStatus) DeepCopy() *TokenReviewStatus {
200 if in == nil {
201 return nil
202 }
203 out := new(TokenReviewStatus)
204 in.DeepCopyInto(out)
205 return out
206}
207
208// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
209func (in *UserInfo) DeepCopyInto(out *UserInfo) {
210 *out = *in
211 if in.Groups != nil {
212 in, out := &in.Groups, &out.Groups
213 *out = make([]string, len(*in))
214 copy(*out, *in)
215 }
216 if in.Extra != nil {
217 in, out := &in.Extra, &out.Extra
218 *out = make(map[string]ExtraValue, len(*in))
219 for key, val := range *in {
220 if val == nil {
221 (*out)[key] = nil
222 } else {
223 (*out)[key] = make([]string, len(val))
224 copy((*out)[key], val)
225 }
226 }
227 }
228 return
229}
230
231// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo.
232func (in *UserInfo) DeepCopy() *UserInfo {
233 if in == nil {
234 return nil
235 }
236 out := new(UserInfo)
237 in.DeepCopyInto(out)
238 return out
239}