zz_generated.deepcopy.go 18 KB

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