1 // +build !ignore_autogenerated
4 Copyright The Kubernetes Authors.
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
19 // Code generated by deepcopy-gen. DO NOT EDIT.
24 runtime "k8s.io/apimachinery/pkg/runtime"
27 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
28 func (in *BoundObjectReference) DeepCopyInto(out *BoundObjectReference) {
33 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BoundObjectReference.
34 func (in *BoundObjectReference) DeepCopy() *BoundObjectReference {
38 out := new(BoundObjectReference)
43 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
44 func (in ExtraValue) DeepCopyInto(out *ExtraValue) {
47 *out = make(ExtraValue, len(*in))
53 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraValue.
54 func (in ExtraValue) DeepCopy() ExtraValue {
58 out := new(ExtraValue)
63 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
64 func (in *TokenRequest) DeepCopyInto(out *TokenRequest) {
66 out.TypeMeta = in.TypeMeta
67 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
68 in.Spec.DeepCopyInto(&out.Spec)
69 in.Status.DeepCopyInto(&out.Status)
73 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequest.
74 func (in *TokenRequest) DeepCopy() *TokenRequest {
78 out := new(TokenRequest)
83 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
84 func (in *TokenRequest) DeepCopyObject() runtime.Object {
85 if c := in.DeepCopy(); c != nil {
91 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
92 func (in *TokenRequestSpec) DeepCopyInto(out *TokenRequestSpec) {
94 if in.Audiences != nil {
95 in, out := &in.Audiences, &out.Audiences
96 *out = make([]string, len(*in))
99 if in.ExpirationSeconds != nil {
100 in, out := &in.ExpirationSeconds, &out.ExpirationSeconds
104 if in.BoundObjectRef != nil {
105 in, out := &in.BoundObjectRef, &out.BoundObjectRef
106 *out = new(BoundObjectReference)
112 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequestSpec.
113 func (in *TokenRequestSpec) DeepCopy() *TokenRequestSpec {
117 out := new(TokenRequestSpec)
122 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
123 func (in *TokenRequestStatus) DeepCopyInto(out *TokenRequestStatus) {
125 in.ExpirationTimestamp.DeepCopyInto(&out.ExpirationTimestamp)
129 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequestStatus.
130 func (in *TokenRequestStatus) DeepCopy() *TokenRequestStatus {
134 out := new(TokenRequestStatus)
139 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
140 func (in *TokenReview) DeepCopyInto(out *TokenReview) {
142 out.TypeMeta = in.TypeMeta
143 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
144 in.Spec.DeepCopyInto(&out.Spec)
145 in.Status.DeepCopyInto(&out.Status)
149 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview.
150 func (in *TokenReview) DeepCopy() *TokenReview {
154 out := new(TokenReview)
159 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
160 func (in *TokenReview) DeepCopyObject() runtime.Object {
161 if c := in.DeepCopy(); c != nil {
167 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
168 func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) {
170 if in.Audiences != nil {
171 in, out := &in.Audiences, &out.Audiences
172 *out = make([]string, len(*in))
178 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec.
179 func (in *TokenReviewSpec) DeepCopy() *TokenReviewSpec {
183 out := new(TokenReviewSpec)
188 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
189 func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) {
191 in.User.DeepCopyInto(&out.User)
192 if in.Audiences != nil {
193 in, out := &in.Audiences, &out.Audiences
194 *out = make([]string, len(*in))
200 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus.
201 func (in *TokenReviewStatus) DeepCopy() *TokenReviewStatus {
205 out := new(TokenReviewStatus)
210 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
211 func (in *UserInfo) DeepCopyInto(out *UserInfo) {
213 if in.Groups != nil {
214 in, out := &in.Groups, &out.Groups
215 *out = make([]string, len(*in))
219 in, out := &in.Extra, &out.Extra
220 *out = make(map[string]ExtraValue, len(*in))
221 for key, val := range *in {
226 in, out := &val, &outVal
227 *out = make(ExtraValue, len(*in))
236 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo.
237 func (in *UserInfo) DeepCopy() *UserInfo {