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 v1alpha1 |
| 22 | |
| 23 | import ( |
| 24 | v1 "k8s.io/apimachinery/pkg/apis/meta/v1" |
| 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 *AggregationRule) DeepCopyInto(out *AggregationRule) { |
| 30 | *out = *in |
| 31 | if in.ClusterRoleSelectors != nil { |
| 32 | in, out := &in.ClusterRoleSelectors, &out.ClusterRoleSelectors |
| 33 | *out = make([]v1.LabelSelector, len(*in)) |
| 34 | for i := range *in { |
| 35 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 36 | } |
| 37 | } |
| 38 | return |
| 39 | } |
| 40 | |
| 41 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AggregationRule. |
| 42 | func (in *AggregationRule) DeepCopy() *AggregationRule { |
| 43 | if in == nil { |
| 44 | return nil |
| 45 | } |
| 46 | out := new(AggregationRule) |
| 47 | in.DeepCopyInto(out) |
| 48 | return out |
| 49 | } |
| 50 | |
| 51 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 52 | func (in *ClusterRole) DeepCopyInto(out *ClusterRole) { |
| 53 | *out = *in |
| 54 | out.TypeMeta = in.TypeMeta |
| 55 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 56 | if in.Rules != nil { |
| 57 | in, out := &in.Rules, &out.Rules |
| 58 | *out = make([]PolicyRule, len(*in)) |
| 59 | for i := range *in { |
| 60 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 61 | } |
| 62 | } |
| 63 | if in.AggregationRule != nil { |
| 64 | in, out := &in.AggregationRule, &out.AggregationRule |
| 65 | *out = new(AggregationRule) |
| 66 | (*in).DeepCopyInto(*out) |
| 67 | } |
| 68 | return |
| 69 | } |
| 70 | |
| 71 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRole. |
| 72 | func (in *ClusterRole) DeepCopy() *ClusterRole { |
| 73 | if in == nil { |
| 74 | return nil |
| 75 | } |
| 76 | out := new(ClusterRole) |
| 77 | in.DeepCopyInto(out) |
| 78 | return out |
| 79 | } |
| 80 | |
| 81 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 82 | func (in *ClusterRole) DeepCopyObject() runtime.Object { |
| 83 | if c := in.DeepCopy(); c != nil { |
| 84 | return c |
| 85 | } |
| 86 | return nil |
| 87 | } |
| 88 | |
| 89 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 90 | func (in *ClusterRoleBinding) DeepCopyInto(out *ClusterRoleBinding) { |
| 91 | *out = *in |
| 92 | out.TypeMeta = in.TypeMeta |
| 93 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 94 | if in.Subjects != nil { |
| 95 | in, out := &in.Subjects, &out.Subjects |
| 96 | *out = make([]Subject, len(*in)) |
| 97 | copy(*out, *in) |
| 98 | } |
| 99 | out.RoleRef = in.RoleRef |
| 100 | return |
| 101 | } |
| 102 | |
| 103 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBinding. |
| 104 | func (in *ClusterRoleBinding) DeepCopy() *ClusterRoleBinding { |
| 105 | if in == nil { |
| 106 | return nil |
| 107 | } |
| 108 | out := new(ClusterRoleBinding) |
| 109 | in.DeepCopyInto(out) |
| 110 | return out |
| 111 | } |
| 112 | |
| 113 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 114 | func (in *ClusterRoleBinding) DeepCopyObject() runtime.Object { |
| 115 | if c := in.DeepCopy(); c != nil { |
| 116 | return c |
| 117 | } |
| 118 | return nil |
| 119 | } |
| 120 | |
| 121 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 122 | func (in *ClusterRoleBindingList) DeepCopyInto(out *ClusterRoleBindingList) { |
| 123 | *out = *in |
| 124 | out.TypeMeta = in.TypeMeta |
girishk | e7ca43b | 2019-10-10 12:30:03 +0000 | [diff] [blame] | 125 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
Scott Baker | e7144bc | 2019-10-01 14:16:47 -0700 | [diff] [blame] | 126 | if in.Items != nil { |
| 127 | in, out := &in.Items, &out.Items |
| 128 | *out = make([]ClusterRoleBinding, len(*in)) |
| 129 | for i := range *in { |
| 130 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 131 | } |
| 132 | } |
| 133 | return |
| 134 | } |
| 135 | |
| 136 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBindingList. |
| 137 | func (in *ClusterRoleBindingList) DeepCopy() *ClusterRoleBindingList { |
| 138 | if in == nil { |
| 139 | return nil |
| 140 | } |
| 141 | out := new(ClusterRoleBindingList) |
| 142 | in.DeepCopyInto(out) |
| 143 | return out |
| 144 | } |
| 145 | |
| 146 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 147 | func (in *ClusterRoleBindingList) DeepCopyObject() runtime.Object { |
| 148 | if c := in.DeepCopy(); c != nil { |
| 149 | return c |
| 150 | } |
| 151 | return nil |
| 152 | } |
| 153 | |
| 154 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 155 | func (in *ClusterRoleList) DeepCopyInto(out *ClusterRoleList) { |
| 156 | *out = *in |
| 157 | out.TypeMeta = in.TypeMeta |
girishk | e7ca43b | 2019-10-10 12:30:03 +0000 | [diff] [blame] | 158 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
Scott Baker | e7144bc | 2019-10-01 14:16:47 -0700 | [diff] [blame] | 159 | if in.Items != nil { |
| 160 | in, out := &in.Items, &out.Items |
| 161 | *out = make([]ClusterRole, len(*in)) |
| 162 | for i := range *in { |
| 163 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 164 | } |
| 165 | } |
| 166 | return |
| 167 | } |
| 168 | |
| 169 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleList. |
| 170 | func (in *ClusterRoleList) DeepCopy() *ClusterRoleList { |
| 171 | if in == nil { |
| 172 | return nil |
| 173 | } |
| 174 | out := new(ClusterRoleList) |
| 175 | in.DeepCopyInto(out) |
| 176 | return out |
| 177 | } |
| 178 | |
| 179 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 180 | func (in *ClusterRoleList) DeepCopyObject() runtime.Object { |
| 181 | if c := in.DeepCopy(); c != nil { |
| 182 | return c |
| 183 | } |
| 184 | return nil |
| 185 | } |
| 186 | |
| 187 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 188 | func (in *PolicyRule) DeepCopyInto(out *PolicyRule) { |
| 189 | *out = *in |
| 190 | if in.Verbs != nil { |
| 191 | in, out := &in.Verbs, &out.Verbs |
| 192 | *out = make([]string, len(*in)) |
| 193 | copy(*out, *in) |
| 194 | } |
| 195 | if in.APIGroups != nil { |
| 196 | in, out := &in.APIGroups, &out.APIGroups |
| 197 | *out = make([]string, len(*in)) |
| 198 | copy(*out, *in) |
| 199 | } |
| 200 | if in.Resources != nil { |
| 201 | in, out := &in.Resources, &out.Resources |
| 202 | *out = make([]string, len(*in)) |
| 203 | copy(*out, *in) |
| 204 | } |
| 205 | if in.ResourceNames != nil { |
| 206 | in, out := &in.ResourceNames, &out.ResourceNames |
| 207 | *out = make([]string, len(*in)) |
| 208 | copy(*out, *in) |
| 209 | } |
| 210 | if in.NonResourceURLs != nil { |
| 211 | in, out := &in.NonResourceURLs, &out.NonResourceURLs |
| 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 PolicyRule. |
| 219 | func (in *PolicyRule) DeepCopy() *PolicyRule { |
| 220 | if in == nil { |
| 221 | return nil |
| 222 | } |
| 223 | out := new(PolicyRule) |
| 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 *Role) DeepCopyInto(out *Role) { |
| 230 | *out = *in |
| 231 | out.TypeMeta = in.TypeMeta |
| 232 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 233 | if in.Rules != nil { |
| 234 | in, out := &in.Rules, &out.Rules |
| 235 | *out = make([]PolicyRule, len(*in)) |
| 236 | for i := range *in { |
| 237 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 238 | } |
| 239 | } |
| 240 | return |
| 241 | } |
| 242 | |
| 243 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Role. |
| 244 | func (in *Role) DeepCopy() *Role { |
| 245 | if in == nil { |
| 246 | return nil |
| 247 | } |
| 248 | out := new(Role) |
| 249 | in.DeepCopyInto(out) |
| 250 | return out |
| 251 | } |
| 252 | |
| 253 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 254 | func (in *Role) DeepCopyObject() runtime.Object { |
| 255 | if c := in.DeepCopy(); c != nil { |
| 256 | return c |
| 257 | } |
| 258 | return nil |
| 259 | } |
| 260 | |
| 261 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 262 | func (in *RoleBinding) DeepCopyInto(out *RoleBinding) { |
| 263 | *out = *in |
| 264 | out.TypeMeta = in.TypeMeta |
| 265 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 266 | if in.Subjects != nil { |
| 267 | in, out := &in.Subjects, &out.Subjects |
| 268 | *out = make([]Subject, len(*in)) |
| 269 | copy(*out, *in) |
| 270 | } |
| 271 | out.RoleRef = in.RoleRef |
| 272 | return |
| 273 | } |
| 274 | |
| 275 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBinding. |
| 276 | func (in *RoleBinding) DeepCopy() *RoleBinding { |
| 277 | if in == nil { |
| 278 | return nil |
| 279 | } |
| 280 | out := new(RoleBinding) |
| 281 | in.DeepCopyInto(out) |
| 282 | return out |
| 283 | } |
| 284 | |
| 285 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 286 | func (in *RoleBinding) DeepCopyObject() runtime.Object { |
| 287 | if c := in.DeepCopy(); c != nil { |
| 288 | return c |
| 289 | } |
| 290 | return nil |
| 291 | } |
| 292 | |
| 293 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 294 | func (in *RoleBindingList) DeepCopyInto(out *RoleBindingList) { |
| 295 | *out = *in |
| 296 | out.TypeMeta = in.TypeMeta |
girishk | e7ca43b | 2019-10-10 12:30:03 +0000 | [diff] [blame] | 297 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
Scott Baker | e7144bc | 2019-10-01 14:16:47 -0700 | [diff] [blame] | 298 | if in.Items != nil { |
| 299 | in, out := &in.Items, &out.Items |
| 300 | *out = make([]RoleBinding, len(*in)) |
| 301 | for i := range *in { |
| 302 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 303 | } |
| 304 | } |
| 305 | return |
| 306 | } |
| 307 | |
| 308 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingList. |
| 309 | func (in *RoleBindingList) DeepCopy() *RoleBindingList { |
| 310 | if in == nil { |
| 311 | return nil |
| 312 | } |
| 313 | out := new(RoleBindingList) |
| 314 | in.DeepCopyInto(out) |
| 315 | return out |
| 316 | } |
| 317 | |
| 318 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 319 | func (in *RoleBindingList) DeepCopyObject() runtime.Object { |
| 320 | if c := in.DeepCopy(); c != nil { |
| 321 | return c |
| 322 | } |
| 323 | return nil |
| 324 | } |
| 325 | |
| 326 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 327 | func (in *RoleList) DeepCopyInto(out *RoleList) { |
| 328 | *out = *in |
| 329 | out.TypeMeta = in.TypeMeta |
girishk | e7ca43b | 2019-10-10 12:30:03 +0000 | [diff] [blame] | 330 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
Scott Baker | e7144bc | 2019-10-01 14:16:47 -0700 | [diff] [blame] | 331 | if in.Items != nil { |
| 332 | in, out := &in.Items, &out.Items |
| 333 | *out = make([]Role, len(*in)) |
| 334 | for i := range *in { |
| 335 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 336 | } |
| 337 | } |
| 338 | return |
| 339 | } |
| 340 | |
| 341 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleList. |
| 342 | func (in *RoleList) DeepCopy() *RoleList { |
| 343 | if in == nil { |
| 344 | return nil |
| 345 | } |
| 346 | out := new(RoleList) |
| 347 | in.DeepCopyInto(out) |
| 348 | return out |
| 349 | } |
| 350 | |
| 351 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 352 | func (in *RoleList) DeepCopyObject() runtime.Object { |
| 353 | if c := in.DeepCopy(); c != nil { |
| 354 | return c |
| 355 | } |
| 356 | return nil |
| 357 | } |
| 358 | |
| 359 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 360 | func (in *RoleRef) DeepCopyInto(out *RoleRef) { |
| 361 | *out = *in |
| 362 | return |
| 363 | } |
| 364 | |
| 365 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleRef. |
| 366 | func (in *RoleRef) DeepCopy() *RoleRef { |
| 367 | if in == nil { |
| 368 | return nil |
| 369 | } |
| 370 | out := new(RoleRef) |
| 371 | in.DeepCopyInto(out) |
| 372 | return out |
| 373 | } |
| 374 | |
| 375 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 376 | func (in *Subject) DeepCopyInto(out *Subject) { |
| 377 | *out = *in |
| 378 | return |
| 379 | } |
| 380 | |
| 381 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subject. |
| 382 | func (in *Subject) DeepCopy() *Subject { |
| 383 | if in == nil { |
| 384 | return nil |
| 385 | } |
| 386 | out := new(Subject) |
| 387 | in.DeepCopyInto(out) |
| 388 | return out |
| 389 | } |