zz_generated.deepcopy.go 18 KB

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