k8s.io/kubernetes@v1.29.3/pkg/apis/authentication/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright The Kubernetes Authors. 6 7 Licensed under the Apache License, Version 2.0 (the "License"); 8 you may not use this file except in compliance with the License. 9 You may obtain a copy of the License at 10 11 http://www.apache.org/licenses/LICENSE-2.0 12 13 Unless required by applicable law or agreed to in writing, software 14 distributed under the License is distributed on an "AS IS" BASIS, 15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 See the License for the specific language governing permissions and 17 limitations under the License. 18 */ 19 20 // Code generated by deepcopy-gen. DO NOT EDIT. 21 22 package authentication 23 24 import ( 25 runtime "k8s.io/apimachinery/pkg/runtime" 26 ) 27 28 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 29 func (in *BoundObjectReference) DeepCopyInto(out *BoundObjectReference) { 30 *out = *in 31 return 32 } 33 34 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BoundObjectReference. 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 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 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 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraValue. 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 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 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 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectReview. 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 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 84 func (in *SelfSubjectReview) 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. 92 func (in *SelfSubjectReviewStatus) DeepCopyInto(out *SelfSubjectReviewStatus) { 93 *out = *in 94 in.UserInfo.DeepCopyInto(&out.UserInfo) 95 return 96 } 97 98 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectReviewStatus. 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 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 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 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequest. 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 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 129 func (in *TokenRequest) DeepCopyObject() runtime.Object { 130 if c := in.DeepCopy(); c != nil { 131 return c 132 } 133 return nil 134 } 135 136 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 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.BoundObjectRef != nil { 145 in, out := &in.BoundObjectRef, &out.BoundObjectRef 146 *out = new(BoundObjectReference) 147 **out = **in 148 } 149 return 150 } 151 152 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequestSpec. 153 func (in *TokenRequestSpec) DeepCopy() *TokenRequestSpec { 154 if in == nil { 155 return nil 156 } 157 out := new(TokenRequestSpec) 158 in.DeepCopyInto(out) 159 return out 160 } 161 162 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 163 func (in *TokenRequestStatus) DeepCopyInto(out *TokenRequestStatus) { 164 *out = *in 165 in.ExpirationTimestamp.DeepCopyInto(&out.ExpirationTimestamp) 166 return 167 } 168 169 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequestStatus. 170 func (in *TokenRequestStatus) DeepCopy() *TokenRequestStatus { 171 if in == nil { 172 return nil 173 } 174 out := new(TokenRequestStatus) 175 in.DeepCopyInto(out) 176 return out 177 } 178 179 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 180 func (in *TokenReview) DeepCopyInto(out *TokenReview) { 181 *out = *in 182 out.TypeMeta = in.TypeMeta 183 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 184 in.Spec.DeepCopyInto(&out.Spec) 185 in.Status.DeepCopyInto(&out.Status) 186 return 187 } 188 189 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview. 190 func (in *TokenReview) DeepCopy() *TokenReview { 191 if in == nil { 192 return nil 193 } 194 out := new(TokenReview) 195 in.DeepCopyInto(out) 196 return out 197 } 198 199 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 200 func (in *TokenReview) DeepCopyObject() runtime.Object { 201 if c := in.DeepCopy(); c != nil { 202 return c 203 } 204 return nil 205 } 206 207 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 208 func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) { 209 *out = *in 210 if in.Audiences != nil { 211 in, out := &in.Audiences, &out.Audiences 212 *out = make([]string, len(*in)) 213 copy(*out, *in) 214 } 215 return 216 } 217 218 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec. 219 func (in *TokenReviewSpec) DeepCopy() *TokenReviewSpec { 220 if in == nil { 221 return nil 222 } 223 out := new(TokenReviewSpec) 224 in.DeepCopyInto(out) 225 return out 226 } 227 228 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 229 func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) { 230 *out = *in 231 in.User.DeepCopyInto(&out.User) 232 if in.Audiences != nil { 233 in, out := &in.Audiences, &out.Audiences 234 *out = make([]string, len(*in)) 235 copy(*out, *in) 236 } 237 return 238 } 239 240 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus. 241 func (in *TokenReviewStatus) DeepCopy() *TokenReviewStatus { 242 if in == nil { 243 return nil 244 } 245 out := new(TokenReviewStatus) 246 in.DeepCopyInto(out) 247 return out 248 } 249 250 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 251 func (in *UserInfo) DeepCopyInto(out *UserInfo) { 252 *out = *in 253 if in.Groups != nil { 254 in, out := &in.Groups, &out.Groups 255 *out = make([]string, len(*in)) 256 copy(*out, *in) 257 } 258 if in.Extra != nil { 259 in, out := &in.Extra, &out.Extra 260 *out = make(map[string]ExtraValue, len(*in)) 261 for key, val := range *in { 262 var outVal []string 263 if val == nil { 264 (*out)[key] = nil 265 } else { 266 in, out := &val, &outVal 267 *out = make(ExtraValue, len(*in)) 268 copy(*out, *in) 269 } 270 (*out)[key] = outVal 271 } 272 } 273 return 274 } 275 276 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo. 277 func (in *UserInfo) DeepCopy() *UserInfo { 278 if in == nil { 279 return nil 280 } 281 out := new(UserInfo) 282 in.DeepCopyInto(out) 283 return out 284 }