zz_generated.deepcopy.go 18 KB

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