Scott Baker | e7144bc | 2019-10-01 14:16:47 -0700 | [diff] [blame^] | 1 | // +build !ignore_autogenerated |
| 2 | |
| 3 | /* |
| 4 | Copyright The Kubernetes Authors. |
| 5 | |
| 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 |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 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. |
| 17 | */ |
| 18 | |
| 19 | // Code generated by deepcopy-gen. DO NOT EDIT. |
| 20 | |
| 21 | package v1 |
| 22 | |
| 23 | import ( |
| 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. |
| 28 | func (in ExtraValue) DeepCopyInto(out *ExtraValue) { |
| 29 | { |
| 30 | in := &in |
| 31 | *out = make(ExtraValue, len(*in)) |
| 32 | copy(*out, *in) |
| 33 | return |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraValue. |
| 38 | func (in ExtraValue) DeepCopy() ExtraValue { |
| 39 | if in == nil { |
| 40 | return nil |
| 41 | } |
| 42 | out := new(ExtraValue) |
| 43 | in.DeepCopyInto(out) |
| 44 | return *out |
| 45 | } |
| 46 | |
| 47 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 48 | func (in *LocalSubjectAccessReview) DeepCopyInto(out *LocalSubjectAccessReview) { |
| 49 | *out = *in |
| 50 | out.TypeMeta = in.TypeMeta |
| 51 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 52 | in.Spec.DeepCopyInto(&out.Spec) |
| 53 | out.Status = in.Status |
| 54 | return |
| 55 | } |
| 56 | |
| 57 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalSubjectAccessReview. |
| 58 | func (in *LocalSubjectAccessReview) DeepCopy() *LocalSubjectAccessReview { |
| 59 | if in == nil { |
| 60 | return nil |
| 61 | } |
| 62 | out := new(LocalSubjectAccessReview) |
| 63 | in.DeepCopyInto(out) |
| 64 | return out |
| 65 | } |
| 66 | |
| 67 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 68 | func (in *LocalSubjectAccessReview) DeepCopyObject() runtime.Object { |
| 69 | if c := in.DeepCopy(); c != nil { |
| 70 | return c |
| 71 | } |
| 72 | return nil |
| 73 | } |
| 74 | |
| 75 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 76 | func (in *NonResourceAttributes) DeepCopyInto(out *NonResourceAttributes) { |
| 77 | *out = *in |
| 78 | return |
| 79 | } |
| 80 | |
| 81 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonResourceAttributes. |
| 82 | func (in *NonResourceAttributes) DeepCopy() *NonResourceAttributes { |
| 83 | if in == nil { |
| 84 | return nil |
| 85 | } |
| 86 | out := new(NonResourceAttributes) |
| 87 | in.DeepCopyInto(out) |
| 88 | return out |
| 89 | } |
| 90 | |
| 91 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 92 | func (in *NonResourceRule) DeepCopyInto(out *NonResourceRule) { |
| 93 | *out = *in |
| 94 | if in.Verbs != nil { |
| 95 | in, out := &in.Verbs, &out.Verbs |
| 96 | *out = make([]string, len(*in)) |
| 97 | copy(*out, *in) |
| 98 | } |
| 99 | if in.NonResourceURLs != nil { |
| 100 | in, out := &in.NonResourceURLs, &out.NonResourceURLs |
| 101 | *out = make([]string, len(*in)) |
| 102 | copy(*out, *in) |
| 103 | } |
| 104 | return |
| 105 | } |
| 106 | |
| 107 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonResourceRule. |
| 108 | func (in *NonResourceRule) DeepCopy() *NonResourceRule { |
| 109 | if in == nil { |
| 110 | return nil |
| 111 | } |
| 112 | out := new(NonResourceRule) |
| 113 | in.DeepCopyInto(out) |
| 114 | return out |
| 115 | } |
| 116 | |
| 117 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 118 | func (in *ResourceAttributes) DeepCopyInto(out *ResourceAttributes) { |
| 119 | *out = *in |
| 120 | return |
| 121 | } |
| 122 | |
| 123 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAttributes. |
| 124 | func (in *ResourceAttributes) DeepCopy() *ResourceAttributes { |
| 125 | if in == nil { |
| 126 | return nil |
| 127 | } |
| 128 | out := new(ResourceAttributes) |
| 129 | in.DeepCopyInto(out) |
| 130 | return out |
| 131 | } |
| 132 | |
| 133 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 134 | func (in *ResourceRule) DeepCopyInto(out *ResourceRule) { |
| 135 | *out = *in |
| 136 | if in.Verbs != nil { |
| 137 | in, out := &in.Verbs, &out.Verbs |
| 138 | *out = make([]string, len(*in)) |
| 139 | copy(*out, *in) |
| 140 | } |
| 141 | if in.APIGroups != nil { |
| 142 | in, out := &in.APIGroups, &out.APIGroups |
| 143 | *out = make([]string, len(*in)) |
| 144 | copy(*out, *in) |
| 145 | } |
| 146 | if in.Resources != nil { |
| 147 | in, out := &in.Resources, &out.Resources |
| 148 | *out = make([]string, len(*in)) |
| 149 | copy(*out, *in) |
| 150 | } |
| 151 | if in.ResourceNames != nil { |
| 152 | in, out := &in.ResourceNames, &out.ResourceNames |
| 153 | *out = make([]string, len(*in)) |
| 154 | copy(*out, *in) |
| 155 | } |
| 156 | return |
| 157 | } |
| 158 | |
| 159 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRule. |
| 160 | func (in *ResourceRule) DeepCopy() *ResourceRule { |
| 161 | if in == nil { |
| 162 | return nil |
| 163 | } |
| 164 | out := new(ResourceRule) |
| 165 | in.DeepCopyInto(out) |
| 166 | return out |
| 167 | } |
| 168 | |
| 169 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 170 | func (in *SelfSubjectAccessReview) DeepCopyInto(out *SelfSubjectAccessReview) { |
| 171 | *out = *in |
| 172 | out.TypeMeta = in.TypeMeta |
| 173 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 174 | in.Spec.DeepCopyInto(&out.Spec) |
| 175 | out.Status = in.Status |
| 176 | return |
| 177 | } |
| 178 | |
| 179 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReview. |
| 180 | func (in *SelfSubjectAccessReview) DeepCopy() *SelfSubjectAccessReview { |
| 181 | if in == nil { |
| 182 | return nil |
| 183 | } |
| 184 | out := new(SelfSubjectAccessReview) |
| 185 | in.DeepCopyInto(out) |
| 186 | return out |
| 187 | } |
| 188 | |
| 189 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 190 | func (in *SelfSubjectAccessReview) DeepCopyObject() runtime.Object { |
| 191 | if c := in.DeepCopy(); c != nil { |
| 192 | return c |
| 193 | } |
| 194 | return nil |
| 195 | } |
| 196 | |
| 197 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 198 | func (in *SelfSubjectAccessReviewSpec) DeepCopyInto(out *SelfSubjectAccessReviewSpec) { |
| 199 | *out = *in |
| 200 | if in.ResourceAttributes != nil { |
| 201 | in, out := &in.ResourceAttributes, &out.ResourceAttributes |
| 202 | *out = new(ResourceAttributes) |
| 203 | **out = **in |
| 204 | } |
| 205 | if in.NonResourceAttributes != nil { |
| 206 | in, out := &in.NonResourceAttributes, &out.NonResourceAttributes |
| 207 | *out = new(NonResourceAttributes) |
| 208 | **out = **in |
| 209 | } |
| 210 | return |
| 211 | } |
| 212 | |
| 213 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReviewSpec. |
| 214 | func (in *SelfSubjectAccessReviewSpec) DeepCopy() *SelfSubjectAccessReviewSpec { |
| 215 | if in == nil { |
| 216 | return nil |
| 217 | } |
| 218 | out := new(SelfSubjectAccessReviewSpec) |
| 219 | in.DeepCopyInto(out) |
| 220 | return out |
| 221 | } |
| 222 | |
| 223 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 224 | func (in *SelfSubjectRulesReview) DeepCopyInto(out *SelfSubjectRulesReview) { |
| 225 | *out = *in |
| 226 | out.TypeMeta = in.TypeMeta |
| 227 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 228 | out.Spec = in.Spec |
| 229 | in.Status.DeepCopyInto(&out.Status) |
| 230 | return |
| 231 | } |
| 232 | |
| 233 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectRulesReview. |
| 234 | func (in *SelfSubjectRulesReview) DeepCopy() *SelfSubjectRulesReview { |
| 235 | if in == nil { |
| 236 | return nil |
| 237 | } |
| 238 | out := new(SelfSubjectRulesReview) |
| 239 | in.DeepCopyInto(out) |
| 240 | return out |
| 241 | } |
| 242 | |
| 243 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 244 | func (in *SelfSubjectRulesReview) DeepCopyObject() runtime.Object { |
| 245 | if c := in.DeepCopy(); c != nil { |
| 246 | return c |
| 247 | } |
| 248 | return nil |
| 249 | } |
| 250 | |
| 251 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 252 | func (in *SelfSubjectRulesReviewSpec) DeepCopyInto(out *SelfSubjectRulesReviewSpec) { |
| 253 | *out = *in |
| 254 | return |
| 255 | } |
| 256 | |
| 257 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectRulesReviewSpec. |
| 258 | func (in *SelfSubjectRulesReviewSpec) DeepCopy() *SelfSubjectRulesReviewSpec { |
| 259 | if in == nil { |
| 260 | return nil |
| 261 | } |
| 262 | out := new(SelfSubjectRulesReviewSpec) |
| 263 | in.DeepCopyInto(out) |
| 264 | return out |
| 265 | } |
| 266 | |
| 267 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 268 | func (in *SubjectAccessReview) DeepCopyInto(out *SubjectAccessReview) { |
| 269 | *out = *in |
| 270 | out.TypeMeta = in.TypeMeta |
| 271 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 272 | in.Spec.DeepCopyInto(&out.Spec) |
| 273 | out.Status = in.Status |
| 274 | return |
| 275 | } |
| 276 | |
| 277 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReview. |
| 278 | func (in *SubjectAccessReview) DeepCopy() *SubjectAccessReview { |
| 279 | if in == nil { |
| 280 | return nil |
| 281 | } |
| 282 | out := new(SubjectAccessReview) |
| 283 | in.DeepCopyInto(out) |
| 284 | return out |
| 285 | } |
| 286 | |
| 287 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 288 | func (in *SubjectAccessReview) DeepCopyObject() runtime.Object { |
| 289 | if c := in.DeepCopy(); c != nil { |
| 290 | return c |
| 291 | } |
| 292 | return nil |
| 293 | } |
| 294 | |
| 295 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 296 | func (in *SubjectAccessReviewSpec) DeepCopyInto(out *SubjectAccessReviewSpec) { |
| 297 | *out = *in |
| 298 | if in.ResourceAttributes != nil { |
| 299 | in, out := &in.ResourceAttributes, &out.ResourceAttributes |
| 300 | *out = new(ResourceAttributes) |
| 301 | **out = **in |
| 302 | } |
| 303 | if in.NonResourceAttributes != nil { |
| 304 | in, out := &in.NonResourceAttributes, &out.NonResourceAttributes |
| 305 | *out = new(NonResourceAttributes) |
| 306 | **out = **in |
| 307 | } |
| 308 | if in.Groups != nil { |
| 309 | in, out := &in.Groups, &out.Groups |
| 310 | *out = make([]string, len(*in)) |
| 311 | copy(*out, *in) |
| 312 | } |
| 313 | if in.Extra != nil { |
| 314 | in, out := &in.Extra, &out.Extra |
| 315 | *out = make(map[string]ExtraValue, len(*in)) |
| 316 | for key, val := range *in { |
| 317 | var outVal []string |
| 318 | if val == nil { |
| 319 | (*out)[key] = nil |
| 320 | } else { |
| 321 | in, out := &val, &outVal |
| 322 | *out = make(ExtraValue, len(*in)) |
| 323 | copy(*out, *in) |
| 324 | } |
| 325 | (*out)[key] = outVal |
| 326 | } |
| 327 | } |
| 328 | return |
| 329 | } |
| 330 | |
| 331 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewSpec. |
| 332 | func (in *SubjectAccessReviewSpec) DeepCopy() *SubjectAccessReviewSpec { |
| 333 | if in == nil { |
| 334 | return nil |
| 335 | } |
| 336 | out := new(SubjectAccessReviewSpec) |
| 337 | in.DeepCopyInto(out) |
| 338 | return out |
| 339 | } |
| 340 | |
| 341 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 342 | func (in *SubjectAccessReviewStatus) DeepCopyInto(out *SubjectAccessReviewStatus) { |
| 343 | *out = *in |
| 344 | return |
| 345 | } |
| 346 | |
| 347 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewStatus. |
| 348 | func (in *SubjectAccessReviewStatus) DeepCopy() *SubjectAccessReviewStatus { |
| 349 | if in == nil { |
| 350 | return nil |
| 351 | } |
| 352 | out := new(SubjectAccessReviewStatus) |
| 353 | in.DeepCopyInto(out) |
| 354 | return out |
| 355 | } |
| 356 | |
| 357 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 358 | func (in *SubjectRulesReviewStatus) DeepCopyInto(out *SubjectRulesReviewStatus) { |
| 359 | *out = *in |
| 360 | if in.ResourceRules != nil { |
| 361 | in, out := &in.ResourceRules, &out.ResourceRules |
| 362 | *out = make([]ResourceRule, len(*in)) |
| 363 | for i := range *in { |
| 364 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 365 | } |
| 366 | } |
| 367 | if in.NonResourceRules != nil { |
| 368 | in, out := &in.NonResourceRules, &out.NonResourceRules |
| 369 | *out = make([]NonResourceRule, len(*in)) |
| 370 | for i := range *in { |
| 371 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 372 | } |
| 373 | } |
| 374 | return |
| 375 | } |
| 376 | |
| 377 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectRulesReviewStatus. |
| 378 | func (in *SubjectRulesReviewStatus) DeepCopy() *SubjectRulesReviewStatus { |
| 379 | if in == nil { |
| 380 | return nil |
| 381 | } |
| 382 | out := new(SubjectRulesReviewStatus) |
| 383 | in.DeepCopyInto(out) |
| 384 | return out |
| 385 | } |