zz_generated.deepcopy.go 18 KB

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