1// +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 *out = new(int64) 102 **out = **in 103 } 104 if in.BoundObjectRef != nil { 105 in, out := &in.BoundObjectRef, &out.BoundObjectRef 106 *out = new(BoundObjectReference) 107 **out = **in 108 } 109 return 110} 111 112// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequestSpec. 113func (in *TokenRequestSpec) DeepCopy() *TokenRequestSpec { 114 if in == nil { 115 return nil 116 } 117 out := new(TokenRequestSpec) 118 in.DeepCopyInto(out) 119 return out 120} 121 122// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 123func (in *TokenRequestStatus) DeepCopyInto(out *TokenRequestStatus) { 124 *out = *in 125 in.ExpirationTimestamp.DeepCopyInto(&out.ExpirationTimestamp) 126 return 127} 128 129// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequestStatus. 130func (in *TokenRequestStatus) DeepCopy() *TokenRequestStatus { 131 if in == nil { 132 return nil 133 } 134 out := new(TokenRequestStatus) 135 in.DeepCopyInto(out) 136 return out 137} 138 139// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 140func (in *TokenReview) DeepCopyInto(out *TokenReview) { 141 *out = *in 142 out.TypeMeta = in.TypeMeta 143 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 144 in.Spec.DeepCopyInto(&out.Spec) 145 in.Status.DeepCopyInto(&out.Status) 146 return 147} 148 149// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview. 150func (in *TokenReview) DeepCopy() *TokenReview { 151 if in == nil { 152 return nil 153 } 154 out := new(TokenReview) 155 in.DeepCopyInto(out) 156 return out 157} 158 159// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 160func (in *TokenReview) DeepCopyObject() runtime.Object { 161 if c := in.DeepCopy(); c != nil { 162 return c 163 } 164 return nil 165} 166 167// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 168func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) { 169 *out = *in 170 if in.Audiences != nil { 171 in, out := &in.Audiences, &out.Audiences 172 *out = make([]string, len(*in)) 173 copy(*out, *in) 174 } 175 return 176} 177 178// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec. 179func (in *TokenReviewSpec) DeepCopy() *TokenReviewSpec { 180 if in == nil { 181 return nil 182 } 183 out := new(TokenReviewSpec) 184 in.DeepCopyInto(out) 185 return out 186} 187 188// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 189func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) { 190 *out = *in 191 in.User.DeepCopyInto(&out.User) 192 if in.Audiences != nil { 193 in, out := &in.Audiences, &out.Audiences 194 *out = make([]string, len(*in)) 195 copy(*out, *in) 196 } 197 return 198} 199 200// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus. 201func (in *TokenReviewStatus) DeepCopy() *TokenReviewStatus { 202 if in == nil { 203 return nil 204 } 205 out := new(TokenReviewStatus) 206 in.DeepCopyInto(out) 207 return out 208} 209 210// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 211func (in *UserInfo) DeepCopyInto(out *UserInfo) { 212 *out = *in 213 if in.Groups != nil { 214 in, out := &in.Groups, &out.Groups 215 *out = make([]string, len(*in)) 216 copy(*out, *in) 217 } 218 if in.Extra != nil { 219 in, out := &in.Extra, &out.Extra 220 *out = make(map[string]ExtraValue, len(*in)) 221 for key, val := range *in { 222 var outVal []string 223 if val == nil { 224 (*out)[key] = nil 225 } else { 226 in, out := &val, &outVal 227 *out = make(ExtraValue, len(*in)) 228 copy(*out, *in) 229 } 230 (*out)[key] = outVal 231 } 232 } 233 return 234} 235 236// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo. 237func (in *UserInfo) DeepCopy() *UserInfo { 238 if in == nil { 239 return nil 240 } 241 out := new(UserInfo) 242 in.DeepCopyInto(out) 243 return out 244} 245