zz_generated.deepcopy.go 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648
  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 config
  16. import (
  17. runtime "k8s.io/apimachinery/pkg/runtime"
  18. )
  19. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  20. func (in *Extender) DeepCopyInto(out *Extender) {
  21. *out = *in
  22. if in.TLSConfig != nil {
  23. in, out := &in.TLSConfig, &out.TLSConfig
  24. *out = new(ExtenderTLSConfig)
  25. (*in).DeepCopyInto(*out)
  26. }
  27. if in.ManagedResources != nil {
  28. in, out := &in.ManagedResources, &out.ManagedResources
  29. *out = make([]ExtenderManagedResource, len(*in))
  30. copy(*out, *in)
  31. }
  32. return
  33. }
  34. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Extender.
  35. func (in *Extender) DeepCopy() *Extender {
  36. if in == nil {
  37. return nil
  38. }
  39. out := new(Extender)
  40. in.DeepCopyInto(out)
  41. return out
  42. }
  43. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  44. func (in *ExtenderManagedResource) DeepCopyInto(out *ExtenderManagedResource) {
  45. *out = *in
  46. return
  47. }
  48. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderManagedResource.
  49. func (in *ExtenderManagedResource) DeepCopy() *ExtenderManagedResource {
  50. if in == nil {
  51. return nil
  52. }
  53. out := new(ExtenderManagedResource)
  54. in.DeepCopyInto(out)
  55. return out
  56. }
  57. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  58. func (in *ExtenderTLSConfig) DeepCopyInto(out *ExtenderTLSConfig) {
  59. *out = *in
  60. if in.CertData != nil {
  61. in, out := &in.CertData, &out.CertData
  62. *out = make([]byte, len(*in))
  63. copy(*out, *in)
  64. }
  65. if in.KeyData != nil {
  66. in, out := &in.KeyData, &out.KeyData
  67. *out = make([]byte, len(*in))
  68. copy(*out, *in)
  69. }
  70. if in.CAData != nil {
  71. in, out := &in.CAData, &out.CAData
  72. *out = make([]byte, len(*in))
  73. copy(*out, *in)
  74. }
  75. return
  76. }
  77. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderTLSConfig.
  78. func (in *ExtenderTLSConfig) DeepCopy() *ExtenderTLSConfig {
  79. if in == nil {
  80. return nil
  81. }
  82. out := new(ExtenderTLSConfig)
  83. in.DeepCopyInto(out)
  84. return out
  85. }
  86. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  87. func (in *KubeSchedulerConfiguration) DeepCopyInto(out *KubeSchedulerConfiguration) {
  88. *out = *in
  89. out.TypeMeta = in.TypeMeta
  90. in.AlgorithmSource.DeepCopyInto(&out.AlgorithmSource)
  91. out.LeaderElection = in.LeaderElection
  92. out.ClientConnection = in.ClientConnection
  93. out.DebuggingConfiguration = in.DebuggingConfiguration
  94. if in.Plugins != nil {
  95. in, out := &in.Plugins, &out.Plugins
  96. *out = new(Plugins)
  97. (*in).DeepCopyInto(*out)
  98. }
  99. if in.PluginConfig != nil {
  100. in, out := &in.PluginConfig, &out.PluginConfig
  101. *out = make([]PluginConfig, len(*in))
  102. for i := range *in {
  103. (*in)[i].DeepCopyInto(&(*out)[i])
  104. }
  105. }
  106. return
  107. }
  108. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeSchedulerConfiguration.
  109. func (in *KubeSchedulerConfiguration) DeepCopy() *KubeSchedulerConfiguration {
  110. if in == nil {
  111. return nil
  112. }
  113. out := new(KubeSchedulerConfiguration)
  114. in.DeepCopyInto(out)
  115. return out
  116. }
  117. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  118. func (in *KubeSchedulerConfiguration) DeepCopyObject() runtime.Object {
  119. if c := in.DeepCopy(); c != nil {
  120. return c
  121. }
  122. return nil
  123. }
  124. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  125. func (in *KubeSchedulerLeaderElectionConfiguration) DeepCopyInto(out *KubeSchedulerLeaderElectionConfiguration) {
  126. *out = *in
  127. out.LeaderElectionConfiguration = in.LeaderElectionConfiguration
  128. return
  129. }
  130. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeSchedulerLeaderElectionConfiguration.
  131. func (in *KubeSchedulerLeaderElectionConfiguration) DeepCopy() *KubeSchedulerLeaderElectionConfiguration {
  132. if in == nil {
  133. return nil
  134. }
  135. out := new(KubeSchedulerLeaderElectionConfiguration)
  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 *LabelPreference) DeepCopyInto(out *LabelPreference) {
  141. *out = *in
  142. return
  143. }
  144. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelPreference.
  145. func (in *LabelPreference) DeepCopy() *LabelPreference {
  146. if in == nil {
  147. return nil
  148. }
  149. out := new(LabelPreference)
  150. in.DeepCopyInto(out)
  151. return out
  152. }
  153. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  154. func (in *LabelsPresence) DeepCopyInto(out *LabelsPresence) {
  155. *out = *in
  156. if in.Labels != nil {
  157. in, out := &in.Labels, &out.Labels
  158. *out = make([]string, len(*in))
  159. copy(*out, *in)
  160. }
  161. return
  162. }
  163. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelsPresence.
  164. func (in *LabelsPresence) DeepCopy() *LabelsPresence {
  165. if in == nil {
  166. return nil
  167. }
  168. out := new(LabelsPresence)
  169. in.DeepCopyInto(out)
  170. return out
  171. }
  172. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  173. func (in *Plugin) DeepCopyInto(out *Plugin) {
  174. *out = *in
  175. return
  176. }
  177. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plugin.
  178. func (in *Plugin) DeepCopy() *Plugin {
  179. if in == nil {
  180. return nil
  181. }
  182. out := new(Plugin)
  183. in.DeepCopyInto(out)
  184. return out
  185. }
  186. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  187. func (in *PluginConfig) DeepCopyInto(out *PluginConfig) {
  188. *out = *in
  189. in.Args.DeepCopyInto(&out.Args)
  190. return
  191. }
  192. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginConfig.
  193. func (in *PluginConfig) DeepCopy() *PluginConfig {
  194. if in == nil {
  195. return nil
  196. }
  197. out := new(PluginConfig)
  198. in.DeepCopyInto(out)
  199. return out
  200. }
  201. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  202. func (in *PluginSet) DeepCopyInto(out *PluginSet) {
  203. *out = *in
  204. if in.Enabled != nil {
  205. in, out := &in.Enabled, &out.Enabled
  206. *out = make([]Plugin, len(*in))
  207. copy(*out, *in)
  208. }
  209. if in.Disabled != nil {
  210. in, out := &in.Disabled, &out.Disabled
  211. *out = make([]Plugin, len(*in))
  212. copy(*out, *in)
  213. }
  214. return
  215. }
  216. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginSet.
  217. func (in *PluginSet) DeepCopy() *PluginSet {
  218. if in == nil {
  219. return nil
  220. }
  221. out := new(PluginSet)
  222. in.DeepCopyInto(out)
  223. return out
  224. }
  225. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  226. func (in *Plugins) DeepCopyInto(out *Plugins) {
  227. *out = *in
  228. if in.QueueSort != nil {
  229. in, out := &in.QueueSort, &out.QueueSort
  230. *out = new(PluginSet)
  231. (*in).DeepCopyInto(*out)
  232. }
  233. if in.PreFilter != nil {
  234. in, out := &in.PreFilter, &out.PreFilter
  235. *out = new(PluginSet)
  236. (*in).DeepCopyInto(*out)
  237. }
  238. if in.Filter != nil {
  239. in, out := &in.Filter, &out.Filter
  240. *out = new(PluginSet)
  241. (*in).DeepCopyInto(*out)
  242. }
  243. if in.PostFilter != nil {
  244. in, out := &in.PostFilter, &out.PostFilter
  245. *out = new(PluginSet)
  246. (*in).DeepCopyInto(*out)
  247. }
  248. if in.Score != nil {
  249. in, out := &in.Score, &out.Score
  250. *out = new(PluginSet)
  251. (*in).DeepCopyInto(*out)
  252. }
  253. if in.Reserve != nil {
  254. in, out := &in.Reserve, &out.Reserve
  255. *out = new(PluginSet)
  256. (*in).DeepCopyInto(*out)
  257. }
  258. if in.Permit != nil {
  259. in, out := &in.Permit, &out.Permit
  260. *out = new(PluginSet)
  261. (*in).DeepCopyInto(*out)
  262. }
  263. if in.PreBind != nil {
  264. in, out := &in.PreBind, &out.PreBind
  265. *out = new(PluginSet)
  266. (*in).DeepCopyInto(*out)
  267. }
  268. if in.Bind != nil {
  269. in, out := &in.Bind, &out.Bind
  270. *out = new(PluginSet)
  271. (*in).DeepCopyInto(*out)
  272. }
  273. if in.PostBind != nil {
  274. in, out := &in.PostBind, &out.PostBind
  275. *out = new(PluginSet)
  276. (*in).DeepCopyInto(*out)
  277. }
  278. if in.Unreserve != nil {
  279. in, out := &in.Unreserve, &out.Unreserve
  280. *out = new(PluginSet)
  281. (*in).DeepCopyInto(*out)
  282. }
  283. return
  284. }
  285. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plugins.
  286. func (in *Plugins) DeepCopy() *Plugins {
  287. if in == nil {
  288. return nil
  289. }
  290. out := new(Plugins)
  291. in.DeepCopyInto(out)
  292. return out
  293. }
  294. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  295. func (in *Policy) DeepCopyInto(out *Policy) {
  296. *out = *in
  297. out.TypeMeta = in.TypeMeta
  298. if in.Predicates != nil {
  299. in, out := &in.Predicates, &out.Predicates
  300. *out = make([]PredicatePolicy, len(*in))
  301. for i := range *in {
  302. (*in)[i].DeepCopyInto(&(*out)[i])
  303. }
  304. }
  305. if in.Priorities != nil {
  306. in, out := &in.Priorities, &out.Priorities
  307. *out = make([]PriorityPolicy, len(*in))
  308. for i := range *in {
  309. (*in)[i].DeepCopyInto(&(*out)[i])
  310. }
  311. }
  312. if in.Extenders != nil {
  313. in, out := &in.Extenders, &out.Extenders
  314. *out = make([]Extender, len(*in))
  315. for i := range *in {
  316. (*in)[i].DeepCopyInto(&(*out)[i])
  317. }
  318. }
  319. return
  320. }
  321. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
  322. func (in *Policy) DeepCopy() *Policy {
  323. if in == nil {
  324. return nil
  325. }
  326. out := new(Policy)
  327. in.DeepCopyInto(out)
  328. return out
  329. }
  330. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  331. func (in *Policy) DeepCopyObject() runtime.Object {
  332. if c := in.DeepCopy(); c != nil {
  333. return c
  334. }
  335. return nil
  336. }
  337. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  338. func (in *PredicateArgument) DeepCopyInto(out *PredicateArgument) {
  339. *out = *in
  340. if in.ServiceAffinity != nil {
  341. in, out := &in.ServiceAffinity, &out.ServiceAffinity
  342. *out = new(ServiceAffinity)
  343. (*in).DeepCopyInto(*out)
  344. }
  345. if in.LabelsPresence != nil {
  346. in, out := &in.LabelsPresence, &out.LabelsPresence
  347. *out = new(LabelsPresence)
  348. (*in).DeepCopyInto(*out)
  349. }
  350. return
  351. }
  352. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredicateArgument.
  353. func (in *PredicateArgument) DeepCopy() *PredicateArgument {
  354. if in == nil {
  355. return nil
  356. }
  357. out := new(PredicateArgument)
  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 *PredicatePolicy) DeepCopyInto(out *PredicatePolicy) {
  363. *out = *in
  364. if in.Argument != nil {
  365. in, out := &in.Argument, &out.Argument
  366. *out = new(PredicateArgument)
  367. (*in).DeepCopyInto(*out)
  368. }
  369. return
  370. }
  371. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredicatePolicy.
  372. func (in *PredicatePolicy) DeepCopy() *PredicatePolicy {
  373. if in == nil {
  374. return nil
  375. }
  376. out := new(PredicatePolicy)
  377. in.DeepCopyInto(out)
  378. return out
  379. }
  380. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  381. func (in *PriorityArgument) DeepCopyInto(out *PriorityArgument) {
  382. *out = *in
  383. if in.ServiceAntiAffinity != nil {
  384. in, out := &in.ServiceAntiAffinity, &out.ServiceAntiAffinity
  385. *out = new(ServiceAntiAffinity)
  386. **out = **in
  387. }
  388. if in.LabelPreference != nil {
  389. in, out := &in.LabelPreference, &out.LabelPreference
  390. *out = new(LabelPreference)
  391. **out = **in
  392. }
  393. if in.RequestedToCapacityRatioArguments != nil {
  394. in, out := &in.RequestedToCapacityRatioArguments, &out.RequestedToCapacityRatioArguments
  395. *out = new(RequestedToCapacityRatioArguments)
  396. (*in).DeepCopyInto(*out)
  397. }
  398. return
  399. }
  400. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityArgument.
  401. func (in *PriorityArgument) DeepCopy() *PriorityArgument {
  402. if in == nil {
  403. return nil
  404. }
  405. out := new(PriorityArgument)
  406. in.DeepCopyInto(out)
  407. return out
  408. }
  409. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  410. func (in *PriorityPolicy) DeepCopyInto(out *PriorityPolicy) {
  411. *out = *in
  412. if in.Argument != nil {
  413. in, out := &in.Argument, &out.Argument
  414. *out = new(PriorityArgument)
  415. (*in).DeepCopyInto(*out)
  416. }
  417. return
  418. }
  419. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityPolicy.
  420. func (in *PriorityPolicy) DeepCopy() *PriorityPolicy {
  421. if in == nil {
  422. return nil
  423. }
  424. out := new(PriorityPolicy)
  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 *RequestedToCapacityRatioArguments) DeepCopyInto(out *RequestedToCapacityRatioArguments) {
  430. *out = *in
  431. if in.Shape != nil {
  432. in, out := &in.Shape, &out.Shape
  433. *out = make([]UtilizationShapePoint, len(*in))
  434. copy(*out, *in)
  435. }
  436. if in.Resources != nil {
  437. in, out := &in.Resources, &out.Resources
  438. *out = make([]ResourceSpec, len(*in))
  439. copy(*out, *in)
  440. }
  441. return
  442. }
  443. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestedToCapacityRatioArguments.
  444. func (in *RequestedToCapacityRatioArguments) DeepCopy() *RequestedToCapacityRatioArguments {
  445. if in == nil {
  446. return nil
  447. }
  448. out := new(RequestedToCapacityRatioArguments)
  449. in.DeepCopyInto(out)
  450. return out
  451. }
  452. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  453. func (in *ResourceSpec) DeepCopyInto(out *ResourceSpec) {
  454. *out = *in
  455. return
  456. }
  457. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSpec.
  458. func (in *ResourceSpec) DeepCopy() *ResourceSpec {
  459. if in == nil {
  460. return nil
  461. }
  462. out := new(ResourceSpec)
  463. in.DeepCopyInto(out)
  464. return out
  465. }
  466. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  467. func (in *SchedulerAlgorithmSource) DeepCopyInto(out *SchedulerAlgorithmSource) {
  468. *out = *in
  469. if in.Policy != nil {
  470. in, out := &in.Policy, &out.Policy
  471. *out = new(SchedulerPolicySource)
  472. (*in).DeepCopyInto(*out)
  473. }
  474. if in.Provider != nil {
  475. in, out := &in.Provider, &out.Provider
  476. *out = new(string)
  477. **out = **in
  478. }
  479. return
  480. }
  481. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulerAlgorithmSource.
  482. func (in *SchedulerAlgorithmSource) DeepCopy() *SchedulerAlgorithmSource {
  483. if in == nil {
  484. return nil
  485. }
  486. out := new(SchedulerAlgorithmSource)
  487. in.DeepCopyInto(out)
  488. return out
  489. }
  490. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  491. func (in *SchedulerPolicyConfigMapSource) DeepCopyInto(out *SchedulerPolicyConfigMapSource) {
  492. *out = *in
  493. return
  494. }
  495. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulerPolicyConfigMapSource.
  496. func (in *SchedulerPolicyConfigMapSource) DeepCopy() *SchedulerPolicyConfigMapSource {
  497. if in == nil {
  498. return nil
  499. }
  500. out := new(SchedulerPolicyConfigMapSource)
  501. in.DeepCopyInto(out)
  502. return out
  503. }
  504. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  505. func (in *SchedulerPolicyFileSource) DeepCopyInto(out *SchedulerPolicyFileSource) {
  506. *out = *in
  507. return
  508. }
  509. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulerPolicyFileSource.
  510. func (in *SchedulerPolicyFileSource) DeepCopy() *SchedulerPolicyFileSource {
  511. if in == nil {
  512. return nil
  513. }
  514. out := new(SchedulerPolicyFileSource)
  515. in.DeepCopyInto(out)
  516. return out
  517. }
  518. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  519. func (in *SchedulerPolicySource) DeepCopyInto(out *SchedulerPolicySource) {
  520. *out = *in
  521. if in.File != nil {
  522. in, out := &in.File, &out.File
  523. *out = new(SchedulerPolicyFileSource)
  524. **out = **in
  525. }
  526. if in.ConfigMap != nil {
  527. in, out := &in.ConfigMap, &out.ConfigMap
  528. *out = new(SchedulerPolicyConfigMapSource)
  529. **out = **in
  530. }
  531. return
  532. }
  533. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulerPolicySource.
  534. func (in *SchedulerPolicySource) DeepCopy() *SchedulerPolicySource {
  535. if in == nil {
  536. return nil
  537. }
  538. out := new(SchedulerPolicySource)
  539. in.DeepCopyInto(out)
  540. return out
  541. }
  542. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  543. func (in *ServiceAffinity) DeepCopyInto(out *ServiceAffinity) {
  544. *out = *in
  545. if in.Labels != nil {
  546. in, out := &in.Labels, &out.Labels
  547. *out = make([]string, len(*in))
  548. copy(*out, *in)
  549. }
  550. return
  551. }
  552. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAffinity.
  553. func (in *ServiceAffinity) DeepCopy() *ServiceAffinity {
  554. if in == nil {
  555. return nil
  556. }
  557. out := new(ServiceAffinity)
  558. in.DeepCopyInto(out)
  559. return out
  560. }
  561. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  562. func (in *ServiceAntiAffinity) DeepCopyInto(out *ServiceAntiAffinity) {
  563. *out = *in
  564. return
  565. }
  566. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAntiAffinity.
  567. func (in *ServiceAntiAffinity) DeepCopy() *ServiceAntiAffinity {
  568. if in == nil {
  569. return nil
  570. }
  571. out := new(ServiceAntiAffinity)
  572. in.DeepCopyInto(out)
  573. return out
  574. }
  575. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  576. func (in *UtilizationShapePoint) DeepCopyInto(out *UtilizationShapePoint) {
  577. *out = *in
  578. return
  579. }
  580. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UtilizationShapePoint.
  581. func (in *UtilizationShapePoint) DeepCopy() *UtilizationShapePoint {
  582. if in == nil {
  583. return nil
  584. }
  585. out := new(UtilizationShapePoint)
  586. in.DeepCopyInto(out)
  587. return out
  588. }