zz_generated.deepcopy.go 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626
  1. // +build !ignore_autogenerated
  2. /*
  3. Copyright The Kubernetes Authors.
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. */
  14. // Code generated by deepcopy-gen. DO NOT EDIT.
  15. package autoscaling
  16. import (
  17. v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
  18. runtime "k8s.io/apimachinery/pkg/runtime"
  19. )
  20. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  21. func (in *CrossVersionObjectReference) DeepCopyInto(out *CrossVersionObjectReference) {
  22. *out = *in
  23. return
  24. }
  25. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossVersionObjectReference.
  26. func (in *CrossVersionObjectReference) DeepCopy() *CrossVersionObjectReference {
  27. if in == nil {
  28. return nil
  29. }
  30. out := new(CrossVersionObjectReference)
  31. in.DeepCopyInto(out)
  32. return out
  33. }
  34. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  35. func (in *ExternalMetricSource) DeepCopyInto(out *ExternalMetricSource) {
  36. *out = *in
  37. in.Metric.DeepCopyInto(&out.Metric)
  38. in.Target.DeepCopyInto(&out.Target)
  39. return
  40. }
  41. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalMetricSource.
  42. func (in *ExternalMetricSource) DeepCopy() *ExternalMetricSource {
  43. if in == nil {
  44. return nil
  45. }
  46. out := new(ExternalMetricSource)
  47. in.DeepCopyInto(out)
  48. return out
  49. }
  50. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  51. func (in *ExternalMetricStatus) DeepCopyInto(out *ExternalMetricStatus) {
  52. *out = *in
  53. in.Metric.DeepCopyInto(&out.Metric)
  54. in.Current.DeepCopyInto(&out.Current)
  55. return
  56. }
  57. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalMetricStatus.
  58. func (in *ExternalMetricStatus) DeepCopy() *ExternalMetricStatus {
  59. if in == nil {
  60. return nil
  61. }
  62. out := new(ExternalMetricStatus)
  63. in.DeepCopyInto(out)
  64. return out
  65. }
  66. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  67. func (in *HPAScalingPolicy) DeepCopyInto(out *HPAScalingPolicy) {
  68. *out = *in
  69. return
  70. }
  71. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HPAScalingPolicy.
  72. func (in *HPAScalingPolicy) DeepCopy() *HPAScalingPolicy {
  73. if in == nil {
  74. return nil
  75. }
  76. out := new(HPAScalingPolicy)
  77. in.DeepCopyInto(out)
  78. return out
  79. }
  80. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  81. func (in *HPAScalingRules) DeepCopyInto(out *HPAScalingRules) {
  82. *out = *in
  83. if in.StabilizationWindowSeconds != nil {
  84. in, out := &in.StabilizationWindowSeconds, &out.StabilizationWindowSeconds
  85. *out = new(int32)
  86. **out = **in
  87. }
  88. if in.SelectPolicy != nil {
  89. in, out := &in.SelectPolicy, &out.SelectPolicy
  90. *out = new(ScalingPolicySelect)
  91. **out = **in
  92. }
  93. if in.Policies != nil {
  94. in, out := &in.Policies, &out.Policies
  95. *out = make([]HPAScalingPolicy, len(*in))
  96. copy(*out, *in)
  97. }
  98. return
  99. }
  100. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HPAScalingRules.
  101. func (in *HPAScalingRules) DeepCopy() *HPAScalingRules {
  102. if in == nil {
  103. return nil
  104. }
  105. out := new(HPAScalingRules)
  106. in.DeepCopyInto(out)
  107. return out
  108. }
  109. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  110. func (in *HorizontalPodAutoscaler) DeepCopyInto(out *HorizontalPodAutoscaler) {
  111. *out = *in
  112. out.TypeMeta = in.TypeMeta
  113. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  114. in.Spec.DeepCopyInto(&out.Spec)
  115. in.Status.DeepCopyInto(&out.Status)
  116. return
  117. }
  118. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscaler.
  119. func (in *HorizontalPodAutoscaler) DeepCopy() *HorizontalPodAutoscaler {
  120. if in == nil {
  121. return nil
  122. }
  123. out := new(HorizontalPodAutoscaler)
  124. in.DeepCopyInto(out)
  125. return out
  126. }
  127. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  128. func (in *HorizontalPodAutoscaler) DeepCopyObject() runtime.Object {
  129. if c := in.DeepCopy(); c != nil {
  130. return c
  131. }
  132. return nil
  133. }
  134. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  135. func (in *HorizontalPodAutoscalerBehavior) DeepCopyInto(out *HorizontalPodAutoscalerBehavior) {
  136. *out = *in
  137. if in.ScaleUp != nil {
  138. in, out := &in.ScaleUp, &out.ScaleUp
  139. *out = new(HPAScalingRules)
  140. (*in).DeepCopyInto(*out)
  141. }
  142. if in.ScaleDown != nil {
  143. in, out := &in.ScaleDown, &out.ScaleDown
  144. *out = new(HPAScalingRules)
  145. (*in).DeepCopyInto(*out)
  146. }
  147. return
  148. }
  149. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerBehavior.
  150. func (in *HorizontalPodAutoscalerBehavior) DeepCopy() *HorizontalPodAutoscalerBehavior {
  151. if in == nil {
  152. return nil
  153. }
  154. out := new(HorizontalPodAutoscalerBehavior)
  155. in.DeepCopyInto(out)
  156. return out
  157. }
  158. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  159. func (in *HorizontalPodAutoscalerCondition) DeepCopyInto(out *HorizontalPodAutoscalerCondition) {
  160. *out = *in
  161. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  162. return
  163. }
  164. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerCondition.
  165. func (in *HorizontalPodAutoscalerCondition) DeepCopy() *HorizontalPodAutoscalerCondition {
  166. if in == nil {
  167. return nil
  168. }
  169. out := new(HorizontalPodAutoscalerCondition)
  170. in.DeepCopyInto(out)
  171. return out
  172. }
  173. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  174. func (in *HorizontalPodAutoscalerList) DeepCopyInto(out *HorizontalPodAutoscalerList) {
  175. *out = *in
  176. out.TypeMeta = in.TypeMeta
  177. in.ListMeta.DeepCopyInto(&out.ListMeta)
  178. if in.Items != nil {
  179. in, out := &in.Items, &out.Items
  180. *out = make([]HorizontalPodAutoscaler, len(*in))
  181. for i := range *in {
  182. (*in)[i].DeepCopyInto(&(*out)[i])
  183. }
  184. }
  185. return
  186. }
  187. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerList.
  188. func (in *HorizontalPodAutoscalerList) DeepCopy() *HorizontalPodAutoscalerList {
  189. if in == nil {
  190. return nil
  191. }
  192. out := new(HorizontalPodAutoscalerList)
  193. in.DeepCopyInto(out)
  194. return out
  195. }
  196. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  197. func (in *HorizontalPodAutoscalerList) DeepCopyObject() runtime.Object {
  198. if c := in.DeepCopy(); c != nil {
  199. return c
  200. }
  201. return nil
  202. }
  203. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  204. func (in *HorizontalPodAutoscalerSpec) DeepCopyInto(out *HorizontalPodAutoscalerSpec) {
  205. *out = *in
  206. out.ScaleTargetRef = in.ScaleTargetRef
  207. if in.MinReplicas != nil {
  208. in, out := &in.MinReplicas, &out.MinReplicas
  209. *out = new(int32)
  210. **out = **in
  211. }
  212. if in.Metrics != nil {
  213. in, out := &in.Metrics, &out.Metrics
  214. *out = make([]MetricSpec, len(*in))
  215. for i := range *in {
  216. (*in)[i].DeepCopyInto(&(*out)[i])
  217. }
  218. }
  219. if in.Behavior != nil {
  220. in, out := &in.Behavior, &out.Behavior
  221. *out = new(HorizontalPodAutoscalerBehavior)
  222. (*in).DeepCopyInto(*out)
  223. }
  224. return
  225. }
  226. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerSpec.
  227. func (in *HorizontalPodAutoscalerSpec) DeepCopy() *HorizontalPodAutoscalerSpec {
  228. if in == nil {
  229. return nil
  230. }
  231. out := new(HorizontalPodAutoscalerSpec)
  232. in.DeepCopyInto(out)
  233. return out
  234. }
  235. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  236. func (in *HorizontalPodAutoscalerStatus) DeepCopyInto(out *HorizontalPodAutoscalerStatus) {
  237. *out = *in
  238. if in.ObservedGeneration != nil {
  239. in, out := &in.ObservedGeneration, &out.ObservedGeneration
  240. *out = new(int64)
  241. **out = **in
  242. }
  243. if in.LastScaleTime != nil {
  244. in, out := &in.LastScaleTime, &out.LastScaleTime
  245. *out = (*in).DeepCopy()
  246. }
  247. if in.CurrentMetrics != nil {
  248. in, out := &in.CurrentMetrics, &out.CurrentMetrics
  249. *out = make([]MetricStatus, len(*in))
  250. for i := range *in {
  251. (*in)[i].DeepCopyInto(&(*out)[i])
  252. }
  253. }
  254. if in.Conditions != nil {
  255. in, out := &in.Conditions, &out.Conditions
  256. *out = make([]HorizontalPodAutoscalerCondition, len(*in))
  257. for i := range *in {
  258. (*in)[i].DeepCopyInto(&(*out)[i])
  259. }
  260. }
  261. return
  262. }
  263. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerStatus.
  264. func (in *HorizontalPodAutoscalerStatus) DeepCopy() *HorizontalPodAutoscalerStatus {
  265. if in == nil {
  266. return nil
  267. }
  268. out := new(HorizontalPodAutoscalerStatus)
  269. in.DeepCopyInto(out)
  270. return out
  271. }
  272. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  273. func (in *MetricIdentifier) DeepCopyInto(out *MetricIdentifier) {
  274. *out = *in
  275. if in.Selector != nil {
  276. in, out := &in.Selector, &out.Selector
  277. *out = new(v1.LabelSelector)
  278. (*in).DeepCopyInto(*out)
  279. }
  280. return
  281. }
  282. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricIdentifier.
  283. func (in *MetricIdentifier) DeepCopy() *MetricIdentifier {
  284. if in == nil {
  285. return nil
  286. }
  287. out := new(MetricIdentifier)
  288. in.DeepCopyInto(out)
  289. return out
  290. }
  291. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  292. func (in *MetricSpec) DeepCopyInto(out *MetricSpec) {
  293. *out = *in
  294. if in.Object != nil {
  295. in, out := &in.Object, &out.Object
  296. *out = new(ObjectMetricSource)
  297. (*in).DeepCopyInto(*out)
  298. }
  299. if in.Pods != nil {
  300. in, out := &in.Pods, &out.Pods
  301. *out = new(PodsMetricSource)
  302. (*in).DeepCopyInto(*out)
  303. }
  304. if in.Resource != nil {
  305. in, out := &in.Resource, &out.Resource
  306. *out = new(ResourceMetricSource)
  307. (*in).DeepCopyInto(*out)
  308. }
  309. if in.External != nil {
  310. in, out := &in.External, &out.External
  311. *out = new(ExternalMetricSource)
  312. (*in).DeepCopyInto(*out)
  313. }
  314. return
  315. }
  316. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricSpec.
  317. func (in *MetricSpec) DeepCopy() *MetricSpec {
  318. if in == nil {
  319. return nil
  320. }
  321. out := new(MetricSpec)
  322. in.DeepCopyInto(out)
  323. return out
  324. }
  325. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  326. func (in *MetricStatus) DeepCopyInto(out *MetricStatus) {
  327. *out = *in
  328. if in.Object != nil {
  329. in, out := &in.Object, &out.Object
  330. *out = new(ObjectMetricStatus)
  331. (*in).DeepCopyInto(*out)
  332. }
  333. if in.Pods != nil {
  334. in, out := &in.Pods, &out.Pods
  335. *out = new(PodsMetricStatus)
  336. (*in).DeepCopyInto(*out)
  337. }
  338. if in.Resource != nil {
  339. in, out := &in.Resource, &out.Resource
  340. *out = new(ResourceMetricStatus)
  341. (*in).DeepCopyInto(*out)
  342. }
  343. if in.External != nil {
  344. in, out := &in.External, &out.External
  345. *out = new(ExternalMetricStatus)
  346. (*in).DeepCopyInto(*out)
  347. }
  348. return
  349. }
  350. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricStatus.
  351. func (in *MetricStatus) DeepCopy() *MetricStatus {
  352. if in == nil {
  353. return nil
  354. }
  355. out := new(MetricStatus)
  356. in.DeepCopyInto(out)
  357. return out
  358. }
  359. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  360. func (in *MetricTarget) DeepCopyInto(out *MetricTarget) {
  361. *out = *in
  362. if in.Value != nil {
  363. in, out := &in.Value, &out.Value
  364. x := (*in).DeepCopy()
  365. *out = &x
  366. }
  367. if in.AverageValue != nil {
  368. in, out := &in.AverageValue, &out.AverageValue
  369. x := (*in).DeepCopy()
  370. *out = &x
  371. }
  372. if in.AverageUtilization != nil {
  373. in, out := &in.AverageUtilization, &out.AverageUtilization
  374. *out = new(int32)
  375. **out = **in
  376. }
  377. return
  378. }
  379. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricTarget.
  380. func (in *MetricTarget) DeepCopy() *MetricTarget {
  381. if in == nil {
  382. return nil
  383. }
  384. out := new(MetricTarget)
  385. in.DeepCopyInto(out)
  386. return out
  387. }
  388. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  389. func (in *MetricValueStatus) DeepCopyInto(out *MetricValueStatus) {
  390. *out = *in
  391. if in.Value != nil {
  392. in, out := &in.Value, &out.Value
  393. x := (*in).DeepCopy()
  394. *out = &x
  395. }
  396. if in.AverageValue != nil {
  397. in, out := &in.AverageValue, &out.AverageValue
  398. x := (*in).DeepCopy()
  399. *out = &x
  400. }
  401. if in.AverageUtilization != nil {
  402. in, out := &in.AverageUtilization, &out.AverageUtilization
  403. *out = new(int32)
  404. **out = **in
  405. }
  406. return
  407. }
  408. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricValueStatus.
  409. func (in *MetricValueStatus) DeepCopy() *MetricValueStatus {
  410. if in == nil {
  411. return nil
  412. }
  413. out := new(MetricValueStatus)
  414. in.DeepCopyInto(out)
  415. return out
  416. }
  417. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  418. func (in *ObjectMetricSource) DeepCopyInto(out *ObjectMetricSource) {
  419. *out = *in
  420. out.DescribedObject = in.DescribedObject
  421. in.Target.DeepCopyInto(&out.Target)
  422. in.Metric.DeepCopyInto(&out.Metric)
  423. return
  424. }
  425. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricSource.
  426. func (in *ObjectMetricSource) DeepCopy() *ObjectMetricSource {
  427. if in == nil {
  428. return nil
  429. }
  430. out := new(ObjectMetricSource)
  431. in.DeepCopyInto(out)
  432. return out
  433. }
  434. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  435. func (in *ObjectMetricStatus) DeepCopyInto(out *ObjectMetricStatus) {
  436. *out = *in
  437. in.Metric.DeepCopyInto(&out.Metric)
  438. in.Current.DeepCopyInto(&out.Current)
  439. out.DescribedObject = in.DescribedObject
  440. return
  441. }
  442. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricStatus.
  443. func (in *ObjectMetricStatus) DeepCopy() *ObjectMetricStatus {
  444. if in == nil {
  445. return nil
  446. }
  447. out := new(ObjectMetricStatus)
  448. in.DeepCopyInto(out)
  449. return out
  450. }
  451. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  452. func (in *PodsMetricSource) DeepCopyInto(out *PodsMetricSource) {
  453. *out = *in
  454. in.Metric.DeepCopyInto(&out.Metric)
  455. in.Target.DeepCopyInto(&out.Target)
  456. return
  457. }
  458. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricSource.
  459. func (in *PodsMetricSource) DeepCopy() *PodsMetricSource {
  460. if in == nil {
  461. return nil
  462. }
  463. out := new(PodsMetricSource)
  464. in.DeepCopyInto(out)
  465. return out
  466. }
  467. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  468. func (in *PodsMetricStatus) DeepCopyInto(out *PodsMetricStatus) {
  469. *out = *in
  470. in.Metric.DeepCopyInto(&out.Metric)
  471. in.Current.DeepCopyInto(&out.Current)
  472. return
  473. }
  474. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricStatus.
  475. func (in *PodsMetricStatus) DeepCopy() *PodsMetricStatus {
  476. if in == nil {
  477. return nil
  478. }
  479. out := new(PodsMetricStatus)
  480. in.DeepCopyInto(out)
  481. return out
  482. }
  483. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  484. func (in *ResourceMetricSource) DeepCopyInto(out *ResourceMetricSource) {
  485. *out = *in
  486. in.Target.DeepCopyInto(&out.Target)
  487. return
  488. }
  489. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricSource.
  490. func (in *ResourceMetricSource) DeepCopy() *ResourceMetricSource {
  491. if in == nil {
  492. return nil
  493. }
  494. out := new(ResourceMetricSource)
  495. in.DeepCopyInto(out)
  496. return out
  497. }
  498. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  499. func (in *ResourceMetricStatus) DeepCopyInto(out *ResourceMetricStatus) {
  500. *out = *in
  501. in.Current.DeepCopyInto(&out.Current)
  502. return
  503. }
  504. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricStatus.
  505. func (in *ResourceMetricStatus) DeepCopy() *ResourceMetricStatus {
  506. if in == nil {
  507. return nil
  508. }
  509. out := new(ResourceMetricStatus)
  510. in.DeepCopyInto(out)
  511. return out
  512. }
  513. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  514. func (in *Scale) DeepCopyInto(out *Scale) {
  515. *out = *in
  516. out.TypeMeta = in.TypeMeta
  517. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  518. out.Spec = in.Spec
  519. out.Status = in.Status
  520. return
  521. }
  522. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale.
  523. func (in *Scale) DeepCopy() *Scale {
  524. if in == nil {
  525. return nil
  526. }
  527. out := new(Scale)
  528. in.DeepCopyInto(out)
  529. return out
  530. }
  531. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  532. func (in *Scale) DeepCopyObject() runtime.Object {
  533. if c := in.DeepCopy(); c != nil {
  534. return c
  535. }
  536. return nil
  537. }
  538. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  539. func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) {
  540. *out = *in
  541. return
  542. }
  543. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec.
  544. func (in *ScaleSpec) DeepCopy() *ScaleSpec {
  545. if in == nil {
  546. return nil
  547. }
  548. out := new(ScaleSpec)
  549. in.DeepCopyInto(out)
  550. return out
  551. }
  552. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  553. func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) {
  554. *out = *in
  555. return
  556. }
  557. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus.
  558. func (in *ScaleStatus) DeepCopy() *ScaleStatus {
  559. if in == nil {
  560. return nil
  561. }
  562. out := new(ScaleStatus)
  563. in.DeepCopyInto(out)
  564. return out
  565. }