zz_generated.deepcopy.go 19 KB

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