sslobodr | d046be8 | 2019-01-16 10:02:22 -0500 | [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 v2beta2 |
| 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 *CrossVersionObjectReference) DeepCopyInto(out *CrossVersionObjectReference) { |
| 30 | *out = *in |
| 31 | return |
| 32 | } |
| 33 | |
| 34 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossVersionObjectReference. |
| 35 | func (in *CrossVersionObjectReference) DeepCopy() *CrossVersionObjectReference { |
| 36 | if in == nil { |
| 37 | return nil |
| 38 | } |
| 39 | out := new(CrossVersionObjectReference) |
| 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 *ExternalMetricSource) DeepCopyInto(out *ExternalMetricSource) { |
| 46 | *out = *in |
| 47 | in.Metric.DeepCopyInto(&out.Metric) |
| 48 | in.Target.DeepCopyInto(&out.Target) |
| 49 | return |
| 50 | } |
| 51 | |
| 52 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalMetricSource. |
| 53 | func (in *ExternalMetricSource) DeepCopy() *ExternalMetricSource { |
| 54 | if in == nil { |
| 55 | return nil |
| 56 | } |
| 57 | out := new(ExternalMetricSource) |
| 58 | in.DeepCopyInto(out) |
| 59 | return out |
| 60 | } |
| 61 | |
| 62 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 63 | func (in *ExternalMetricStatus) DeepCopyInto(out *ExternalMetricStatus) { |
| 64 | *out = *in |
| 65 | in.Metric.DeepCopyInto(&out.Metric) |
| 66 | in.Current.DeepCopyInto(&out.Current) |
| 67 | return |
| 68 | } |
| 69 | |
| 70 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalMetricStatus. |
| 71 | func (in *ExternalMetricStatus) DeepCopy() *ExternalMetricStatus { |
| 72 | if in == nil { |
| 73 | return nil |
| 74 | } |
| 75 | out := new(ExternalMetricStatus) |
| 76 | in.DeepCopyInto(out) |
| 77 | return out |
| 78 | } |
| 79 | |
| 80 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 81 | func (in *HorizontalPodAutoscaler) DeepCopyInto(out *HorizontalPodAutoscaler) { |
| 82 | *out = *in |
| 83 | out.TypeMeta = in.TypeMeta |
| 84 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 85 | in.Spec.DeepCopyInto(&out.Spec) |
| 86 | in.Status.DeepCopyInto(&out.Status) |
| 87 | return |
| 88 | } |
| 89 | |
| 90 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscaler. |
| 91 | func (in *HorizontalPodAutoscaler) DeepCopy() *HorizontalPodAutoscaler { |
| 92 | if in == nil { |
| 93 | return nil |
| 94 | } |
| 95 | out := new(HorizontalPodAutoscaler) |
| 96 | in.DeepCopyInto(out) |
| 97 | return out |
| 98 | } |
| 99 | |
| 100 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 101 | func (in *HorizontalPodAutoscaler) DeepCopyObject() runtime.Object { |
| 102 | if c := in.DeepCopy(); c != nil { |
| 103 | return c |
| 104 | } |
| 105 | return nil |
| 106 | } |
| 107 | |
| 108 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 109 | func (in *HorizontalPodAutoscalerCondition) DeepCopyInto(out *HorizontalPodAutoscalerCondition) { |
| 110 | *out = *in |
| 111 | in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) |
| 112 | return |
| 113 | } |
| 114 | |
| 115 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerCondition. |
| 116 | func (in *HorizontalPodAutoscalerCondition) DeepCopy() *HorizontalPodAutoscalerCondition { |
| 117 | if in == nil { |
| 118 | return nil |
| 119 | } |
| 120 | out := new(HorizontalPodAutoscalerCondition) |
| 121 | in.DeepCopyInto(out) |
| 122 | return out |
| 123 | } |
| 124 | |
| 125 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 126 | func (in *HorizontalPodAutoscalerList) DeepCopyInto(out *HorizontalPodAutoscalerList) { |
| 127 | *out = *in |
| 128 | out.TypeMeta = in.TypeMeta |
| 129 | out.ListMeta = in.ListMeta |
| 130 | if in.Items != nil { |
| 131 | in, out := &in.Items, &out.Items |
| 132 | *out = make([]HorizontalPodAutoscaler, len(*in)) |
| 133 | for i := range *in { |
| 134 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 135 | } |
| 136 | } |
| 137 | return |
| 138 | } |
| 139 | |
| 140 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerList. |
| 141 | func (in *HorizontalPodAutoscalerList) DeepCopy() *HorizontalPodAutoscalerList { |
| 142 | if in == nil { |
| 143 | return nil |
| 144 | } |
| 145 | out := new(HorizontalPodAutoscalerList) |
| 146 | in.DeepCopyInto(out) |
| 147 | return out |
| 148 | } |
| 149 | |
| 150 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 151 | func (in *HorizontalPodAutoscalerList) DeepCopyObject() runtime.Object { |
| 152 | if c := in.DeepCopy(); c != nil { |
| 153 | return c |
| 154 | } |
| 155 | return nil |
| 156 | } |
| 157 | |
| 158 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 159 | func (in *HorizontalPodAutoscalerSpec) DeepCopyInto(out *HorizontalPodAutoscalerSpec) { |
| 160 | *out = *in |
| 161 | out.ScaleTargetRef = in.ScaleTargetRef |
| 162 | if in.MinReplicas != nil { |
| 163 | in, out := &in.MinReplicas, &out.MinReplicas |
| 164 | *out = new(int32) |
| 165 | **out = **in |
| 166 | } |
| 167 | if in.Metrics != nil { |
| 168 | in, out := &in.Metrics, &out.Metrics |
| 169 | *out = make([]MetricSpec, len(*in)) |
| 170 | for i := range *in { |
| 171 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 172 | } |
| 173 | } |
| 174 | return |
| 175 | } |
| 176 | |
| 177 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerSpec. |
| 178 | func (in *HorizontalPodAutoscalerSpec) DeepCopy() *HorizontalPodAutoscalerSpec { |
| 179 | if in == nil { |
| 180 | return nil |
| 181 | } |
| 182 | out := new(HorizontalPodAutoscalerSpec) |
| 183 | in.DeepCopyInto(out) |
| 184 | return out |
| 185 | } |
| 186 | |
| 187 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 188 | func (in *HorizontalPodAutoscalerStatus) DeepCopyInto(out *HorizontalPodAutoscalerStatus) { |
| 189 | *out = *in |
| 190 | if in.ObservedGeneration != nil { |
| 191 | in, out := &in.ObservedGeneration, &out.ObservedGeneration |
| 192 | *out = new(int64) |
| 193 | **out = **in |
| 194 | } |
| 195 | if in.LastScaleTime != nil { |
| 196 | in, out := &in.LastScaleTime, &out.LastScaleTime |
| 197 | *out = (*in).DeepCopy() |
| 198 | } |
| 199 | if in.CurrentMetrics != nil { |
| 200 | in, out := &in.CurrentMetrics, &out.CurrentMetrics |
| 201 | *out = make([]MetricStatus, len(*in)) |
| 202 | for i := range *in { |
| 203 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 204 | } |
| 205 | } |
| 206 | if in.Conditions != nil { |
| 207 | in, out := &in.Conditions, &out.Conditions |
| 208 | *out = make([]HorizontalPodAutoscalerCondition, len(*in)) |
| 209 | for i := range *in { |
| 210 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 211 | } |
| 212 | } |
| 213 | return |
| 214 | } |
| 215 | |
| 216 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerStatus. |
| 217 | func (in *HorizontalPodAutoscalerStatus) DeepCopy() *HorizontalPodAutoscalerStatus { |
| 218 | if in == nil { |
| 219 | return nil |
| 220 | } |
| 221 | out := new(HorizontalPodAutoscalerStatus) |
| 222 | in.DeepCopyInto(out) |
| 223 | return out |
| 224 | } |
| 225 | |
| 226 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 227 | func (in *MetricIdentifier) DeepCopyInto(out *MetricIdentifier) { |
| 228 | *out = *in |
| 229 | if in.Selector != nil { |
| 230 | in, out := &in.Selector, &out.Selector |
| 231 | *out = new(v1.LabelSelector) |
| 232 | (*in).DeepCopyInto(*out) |
| 233 | } |
| 234 | return |
| 235 | } |
| 236 | |
| 237 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricIdentifier. |
| 238 | func (in *MetricIdentifier) DeepCopy() *MetricIdentifier { |
| 239 | if in == nil { |
| 240 | return nil |
| 241 | } |
| 242 | out := new(MetricIdentifier) |
| 243 | in.DeepCopyInto(out) |
| 244 | return out |
| 245 | } |
| 246 | |
| 247 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 248 | func (in *MetricSpec) DeepCopyInto(out *MetricSpec) { |
| 249 | *out = *in |
| 250 | if in.Object != nil { |
| 251 | in, out := &in.Object, &out.Object |
| 252 | *out = new(ObjectMetricSource) |
| 253 | (*in).DeepCopyInto(*out) |
| 254 | } |
| 255 | if in.Pods != nil { |
| 256 | in, out := &in.Pods, &out.Pods |
| 257 | *out = new(PodsMetricSource) |
| 258 | (*in).DeepCopyInto(*out) |
| 259 | } |
| 260 | if in.Resource != nil { |
| 261 | in, out := &in.Resource, &out.Resource |
| 262 | *out = new(ResourceMetricSource) |
| 263 | (*in).DeepCopyInto(*out) |
| 264 | } |
| 265 | if in.External != nil { |
| 266 | in, out := &in.External, &out.External |
| 267 | *out = new(ExternalMetricSource) |
| 268 | (*in).DeepCopyInto(*out) |
| 269 | } |
| 270 | return |
| 271 | } |
| 272 | |
| 273 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricSpec. |
| 274 | func (in *MetricSpec) DeepCopy() *MetricSpec { |
| 275 | if in == nil { |
| 276 | return nil |
| 277 | } |
| 278 | out := new(MetricSpec) |
| 279 | in.DeepCopyInto(out) |
| 280 | return out |
| 281 | } |
| 282 | |
| 283 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 284 | func (in *MetricStatus) DeepCopyInto(out *MetricStatus) { |
| 285 | *out = *in |
| 286 | if in.Object != nil { |
| 287 | in, out := &in.Object, &out.Object |
| 288 | *out = new(ObjectMetricStatus) |
| 289 | (*in).DeepCopyInto(*out) |
| 290 | } |
| 291 | if in.Pods != nil { |
| 292 | in, out := &in.Pods, &out.Pods |
| 293 | *out = new(PodsMetricStatus) |
| 294 | (*in).DeepCopyInto(*out) |
| 295 | } |
| 296 | if in.Resource != nil { |
| 297 | in, out := &in.Resource, &out.Resource |
| 298 | *out = new(ResourceMetricStatus) |
| 299 | (*in).DeepCopyInto(*out) |
| 300 | } |
| 301 | if in.External != nil { |
| 302 | in, out := &in.External, &out.External |
| 303 | *out = new(ExternalMetricStatus) |
| 304 | (*in).DeepCopyInto(*out) |
| 305 | } |
| 306 | return |
| 307 | } |
| 308 | |
| 309 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricStatus. |
| 310 | func (in *MetricStatus) DeepCopy() *MetricStatus { |
| 311 | if in == nil { |
| 312 | return nil |
| 313 | } |
| 314 | out := new(MetricStatus) |
| 315 | in.DeepCopyInto(out) |
| 316 | return out |
| 317 | } |
| 318 | |
| 319 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 320 | func (in *MetricTarget) DeepCopyInto(out *MetricTarget) { |
| 321 | *out = *in |
| 322 | if in.Value != nil { |
| 323 | in, out := &in.Value, &out.Value |
| 324 | x := (*in).DeepCopy() |
| 325 | *out = &x |
| 326 | } |
| 327 | if in.AverageValue != nil { |
| 328 | in, out := &in.AverageValue, &out.AverageValue |
| 329 | x := (*in).DeepCopy() |
| 330 | *out = &x |
| 331 | } |
| 332 | if in.AverageUtilization != nil { |
| 333 | in, out := &in.AverageUtilization, &out.AverageUtilization |
| 334 | *out = new(int32) |
| 335 | **out = **in |
| 336 | } |
| 337 | return |
| 338 | } |
| 339 | |
| 340 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricTarget. |
| 341 | func (in *MetricTarget) DeepCopy() *MetricTarget { |
| 342 | if in == nil { |
| 343 | return nil |
| 344 | } |
| 345 | out := new(MetricTarget) |
| 346 | in.DeepCopyInto(out) |
| 347 | return out |
| 348 | } |
| 349 | |
| 350 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 351 | func (in *MetricValueStatus) DeepCopyInto(out *MetricValueStatus) { |
| 352 | *out = *in |
| 353 | if in.Value != nil { |
| 354 | in, out := &in.Value, &out.Value |
| 355 | x := (*in).DeepCopy() |
| 356 | *out = &x |
| 357 | } |
| 358 | if in.AverageValue != nil { |
| 359 | in, out := &in.AverageValue, &out.AverageValue |
| 360 | x := (*in).DeepCopy() |
| 361 | *out = &x |
| 362 | } |
| 363 | if in.AverageUtilization != nil { |
| 364 | in, out := &in.AverageUtilization, &out.AverageUtilization |
| 365 | *out = new(int32) |
| 366 | **out = **in |
| 367 | } |
| 368 | return |
| 369 | } |
| 370 | |
| 371 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricValueStatus. |
| 372 | func (in *MetricValueStatus) DeepCopy() *MetricValueStatus { |
| 373 | if in == nil { |
| 374 | return nil |
| 375 | } |
| 376 | out := new(MetricValueStatus) |
| 377 | in.DeepCopyInto(out) |
| 378 | return out |
| 379 | } |
| 380 | |
| 381 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 382 | func (in *ObjectMetricSource) DeepCopyInto(out *ObjectMetricSource) { |
| 383 | *out = *in |
| 384 | out.DescribedObject = in.DescribedObject |
| 385 | in.Target.DeepCopyInto(&out.Target) |
| 386 | in.Metric.DeepCopyInto(&out.Metric) |
| 387 | return |
| 388 | } |
| 389 | |
| 390 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricSource. |
| 391 | func (in *ObjectMetricSource) DeepCopy() *ObjectMetricSource { |
| 392 | if in == nil { |
| 393 | return nil |
| 394 | } |
| 395 | out := new(ObjectMetricSource) |
| 396 | in.DeepCopyInto(out) |
| 397 | return out |
| 398 | } |
| 399 | |
| 400 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 401 | func (in *ObjectMetricStatus) DeepCopyInto(out *ObjectMetricStatus) { |
| 402 | *out = *in |
| 403 | in.Metric.DeepCopyInto(&out.Metric) |
| 404 | in.Current.DeepCopyInto(&out.Current) |
| 405 | out.DescribedObject = in.DescribedObject |
| 406 | return |
| 407 | } |
| 408 | |
| 409 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricStatus. |
| 410 | func (in *ObjectMetricStatus) DeepCopy() *ObjectMetricStatus { |
| 411 | if in == nil { |
| 412 | return nil |
| 413 | } |
| 414 | out := new(ObjectMetricStatus) |
| 415 | in.DeepCopyInto(out) |
| 416 | return out |
| 417 | } |
| 418 | |
| 419 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 420 | func (in *PodsMetricSource) DeepCopyInto(out *PodsMetricSource) { |
| 421 | *out = *in |
| 422 | in.Metric.DeepCopyInto(&out.Metric) |
| 423 | in.Target.DeepCopyInto(&out.Target) |
| 424 | return |
| 425 | } |
| 426 | |
| 427 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricSource. |
| 428 | func (in *PodsMetricSource) DeepCopy() *PodsMetricSource { |
| 429 | if in == nil { |
| 430 | return nil |
| 431 | } |
| 432 | out := new(PodsMetricSource) |
| 433 | in.DeepCopyInto(out) |
| 434 | return out |
| 435 | } |
| 436 | |
| 437 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 438 | func (in *PodsMetricStatus) DeepCopyInto(out *PodsMetricStatus) { |
| 439 | *out = *in |
| 440 | in.Metric.DeepCopyInto(&out.Metric) |
| 441 | in.Current.DeepCopyInto(&out.Current) |
| 442 | return |
| 443 | } |
| 444 | |
| 445 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricStatus. |
| 446 | func (in *PodsMetricStatus) DeepCopy() *PodsMetricStatus { |
| 447 | if in == nil { |
| 448 | return nil |
| 449 | } |
| 450 | out := new(PodsMetricStatus) |
| 451 | in.DeepCopyInto(out) |
| 452 | return out |
| 453 | } |
| 454 | |
| 455 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 456 | func (in *ResourceMetricSource) DeepCopyInto(out *ResourceMetricSource) { |
| 457 | *out = *in |
| 458 | in.Target.DeepCopyInto(&out.Target) |
| 459 | return |
| 460 | } |
| 461 | |
| 462 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricSource. |
| 463 | func (in *ResourceMetricSource) DeepCopy() *ResourceMetricSource { |
| 464 | if in == nil { |
| 465 | return nil |
| 466 | } |
| 467 | out := new(ResourceMetricSource) |
| 468 | in.DeepCopyInto(out) |
| 469 | return out |
| 470 | } |
| 471 | |
| 472 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 473 | func (in *ResourceMetricStatus) DeepCopyInto(out *ResourceMetricStatus) { |
| 474 | *out = *in |
| 475 | in.Current.DeepCopyInto(&out.Current) |
| 476 | return |
| 477 | } |
| 478 | |
| 479 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricStatus. |
| 480 | func (in *ResourceMetricStatus) DeepCopy() *ResourceMetricStatus { |
| 481 | if in == nil { |
| 482 | return nil |
| 483 | } |
| 484 | out := new(ResourceMetricStatus) |
| 485 | in.DeepCopyInto(out) |
| 486 | return out |
| 487 | } |