zz_generated.deepcopy.go 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498
  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 v1alpha2
  17. import (
  18. v1 "k8s.io/api/core/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 *AllocationResult) DeepCopyInto(out *AllocationResult) {
  23. *out = *in
  24. if in.ResourceHandles != nil {
  25. in, out := &in.ResourceHandles, &out.ResourceHandles
  26. *out = make([]ResourceHandle, len(*in))
  27. copy(*out, *in)
  28. }
  29. if in.AvailableOnNodes != nil {
  30. in, out := &in.AvailableOnNodes, &out.AvailableOnNodes
  31. *out = new(v1.NodeSelector)
  32. (*in).DeepCopyInto(*out)
  33. }
  34. return
  35. }
  36. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllocationResult.
  37. func (in *AllocationResult) DeepCopy() *AllocationResult {
  38. if in == nil {
  39. return nil
  40. }
  41. out := new(AllocationResult)
  42. in.DeepCopyInto(out)
  43. return out
  44. }
  45. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  46. func (in *PodSchedulingContext) DeepCopyInto(out *PodSchedulingContext) {
  47. *out = *in
  48. out.TypeMeta = in.TypeMeta
  49. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  50. in.Spec.DeepCopyInto(&out.Spec)
  51. in.Status.DeepCopyInto(&out.Status)
  52. return
  53. }
  54. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingContext.
  55. func (in *PodSchedulingContext) DeepCopy() *PodSchedulingContext {
  56. if in == nil {
  57. return nil
  58. }
  59. out := new(PodSchedulingContext)
  60. in.DeepCopyInto(out)
  61. return out
  62. }
  63. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  64. func (in *PodSchedulingContext) DeepCopyObject() runtime.Object {
  65. if c := in.DeepCopy(); c != nil {
  66. return c
  67. }
  68. return nil
  69. }
  70. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  71. func (in *PodSchedulingContextList) DeepCopyInto(out *PodSchedulingContextList) {
  72. *out = *in
  73. out.TypeMeta = in.TypeMeta
  74. in.ListMeta.DeepCopyInto(&out.ListMeta)
  75. if in.Items != nil {
  76. in, out := &in.Items, &out.Items
  77. *out = make([]PodSchedulingContext, len(*in))
  78. for i := range *in {
  79. (*in)[i].DeepCopyInto(&(*out)[i])
  80. }
  81. }
  82. return
  83. }
  84. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingContextList.
  85. func (in *PodSchedulingContextList) DeepCopy() *PodSchedulingContextList {
  86. if in == nil {
  87. return nil
  88. }
  89. out := new(PodSchedulingContextList)
  90. in.DeepCopyInto(out)
  91. return out
  92. }
  93. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  94. func (in *PodSchedulingContextList) DeepCopyObject() runtime.Object {
  95. if c := in.DeepCopy(); c != nil {
  96. return c
  97. }
  98. return nil
  99. }
  100. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  101. func (in *PodSchedulingContextSpec) DeepCopyInto(out *PodSchedulingContextSpec) {
  102. *out = *in
  103. if in.PotentialNodes != nil {
  104. in, out := &in.PotentialNodes, &out.PotentialNodes
  105. *out = make([]string, len(*in))
  106. copy(*out, *in)
  107. }
  108. return
  109. }
  110. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingContextSpec.
  111. func (in *PodSchedulingContextSpec) DeepCopy() *PodSchedulingContextSpec {
  112. if in == nil {
  113. return nil
  114. }
  115. out := new(PodSchedulingContextSpec)
  116. in.DeepCopyInto(out)
  117. return out
  118. }
  119. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  120. func (in *PodSchedulingContextStatus) DeepCopyInto(out *PodSchedulingContextStatus) {
  121. *out = *in
  122. if in.ResourceClaims != nil {
  123. in, out := &in.ResourceClaims, &out.ResourceClaims
  124. *out = make([]ResourceClaimSchedulingStatus, len(*in))
  125. for i := range *in {
  126. (*in)[i].DeepCopyInto(&(*out)[i])
  127. }
  128. }
  129. return
  130. }
  131. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingContextStatus.
  132. func (in *PodSchedulingContextStatus) DeepCopy() *PodSchedulingContextStatus {
  133. if in == nil {
  134. return nil
  135. }
  136. out := new(PodSchedulingContextStatus)
  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 *ResourceClaim) DeepCopyInto(out *ResourceClaim) {
  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 ResourceClaim.
  150. func (in *ResourceClaim) DeepCopy() *ResourceClaim {
  151. if in == nil {
  152. return nil
  153. }
  154. out := new(ResourceClaim)
  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 *ResourceClaim) 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 *ResourceClaimConsumerReference) DeepCopyInto(out *ResourceClaimConsumerReference) {
  167. *out = *in
  168. return
  169. }
  170. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimConsumerReference.
  171. func (in *ResourceClaimConsumerReference) DeepCopy() *ResourceClaimConsumerReference {
  172. if in == nil {
  173. return nil
  174. }
  175. out := new(ResourceClaimConsumerReference)
  176. in.DeepCopyInto(out)
  177. return out
  178. }
  179. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  180. func (in *ResourceClaimList) DeepCopyInto(out *ResourceClaimList) {
  181. *out = *in
  182. out.TypeMeta = in.TypeMeta
  183. in.ListMeta.DeepCopyInto(&out.ListMeta)
  184. if in.Items != nil {
  185. in, out := &in.Items, &out.Items
  186. *out = make([]ResourceClaim, len(*in))
  187. for i := range *in {
  188. (*in)[i].DeepCopyInto(&(*out)[i])
  189. }
  190. }
  191. return
  192. }
  193. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimList.
  194. func (in *ResourceClaimList) DeepCopy() *ResourceClaimList {
  195. if in == nil {
  196. return nil
  197. }
  198. out := new(ResourceClaimList)
  199. in.DeepCopyInto(out)
  200. return out
  201. }
  202. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  203. func (in *ResourceClaimList) DeepCopyObject() runtime.Object {
  204. if c := in.DeepCopy(); c != nil {
  205. return c
  206. }
  207. return nil
  208. }
  209. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  210. func (in *ResourceClaimParametersReference) DeepCopyInto(out *ResourceClaimParametersReference) {
  211. *out = *in
  212. return
  213. }
  214. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimParametersReference.
  215. func (in *ResourceClaimParametersReference) DeepCopy() *ResourceClaimParametersReference {
  216. if in == nil {
  217. return nil
  218. }
  219. out := new(ResourceClaimParametersReference)
  220. in.DeepCopyInto(out)
  221. return out
  222. }
  223. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  224. func (in *ResourceClaimSchedulingStatus) DeepCopyInto(out *ResourceClaimSchedulingStatus) {
  225. *out = *in
  226. if in.UnsuitableNodes != nil {
  227. in, out := &in.UnsuitableNodes, &out.UnsuitableNodes
  228. *out = make([]string, len(*in))
  229. copy(*out, *in)
  230. }
  231. return
  232. }
  233. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimSchedulingStatus.
  234. func (in *ResourceClaimSchedulingStatus) DeepCopy() *ResourceClaimSchedulingStatus {
  235. if in == nil {
  236. return nil
  237. }
  238. out := new(ResourceClaimSchedulingStatus)
  239. in.DeepCopyInto(out)
  240. return out
  241. }
  242. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  243. func (in *ResourceClaimSpec) DeepCopyInto(out *ResourceClaimSpec) {
  244. *out = *in
  245. if in.ParametersRef != nil {
  246. in, out := &in.ParametersRef, &out.ParametersRef
  247. *out = new(ResourceClaimParametersReference)
  248. **out = **in
  249. }
  250. return
  251. }
  252. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimSpec.
  253. func (in *ResourceClaimSpec) DeepCopy() *ResourceClaimSpec {
  254. if in == nil {
  255. return nil
  256. }
  257. out := new(ResourceClaimSpec)
  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 *ResourceClaimStatus) DeepCopyInto(out *ResourceClaimStatus) {
  263. *out = *in
  264. if in.Allocation != nil {
  265. in, out := &in.Allocation, &out.Allocation
  266. *out = new(AllocationResult)
  267. (*in).DeepCopyInto(*out)
  268. }
  269. if in.ReservedFor != nil {
  270. in, out := &in.ReservedFor, &out.ReservedFor
  271. *out = make([]ResourceClaimConsumerReference, len(*in))
  272. copy(*out, *in)
  273. }
  274. return
  275. }
  276. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimStatus.
  277. func (in *ResourceClaimStatus) DeepCopy() *ResourceClaimStatus {
  278. if in == nil {
  279. return nil
  280. }
  281. out := new(ResourceClaimStatus)
  282. in.DeepCopyInto(out)
  283. return out
  284. }
  285. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  286. func (in *ResourceClaimTemplate) DeepCopyInto(out *ResourceClaimTemplate) {
  287. *out = *in
  288. out.TypeMeta = in.TypeMeta
  289. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  290. in.Spec.DeepCopyInto(&out.Spec)
  291. return
  292. }
  293. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimTemplate.
  294. func (in *ResourceClaimTemplate) DeepCopy() *ResourceClaimTemplate {
  295. if in == nil {
  296. return nil
  297. }
  298. out := new(ResourceClaimTemplate)
  299. in.DeepCopyInto(out)
  300. return out
  301. }
  302. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  303. func (in *ResourceClaimTemplate) DeepCopyObject() runtime.Object {
  304. if c := in.DeepCopy(); c != nil {
  305. return c
  306. }
  307. return nil
  308. }
  309. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  310. func (in *ResourceClaimTemplateList) DeepCopyInto(out *ResourceClaimTemplateList) {
  311. *out = *in
  312. out.TypeMeta = in.TypeMeta
  313. in.ListMeta.DeepCopyInto(&out.ListMeta)
  314. if in.Items != nil {
  315. in, out := &in.Items, &out.Items
  316. *out = make([]ResourceClaimTemplate, len(*in))
  317. for i := range *in {
  318. (*in)[i].DeepCopyInto(&(*out)[i])
  319. }
  320. }
  321. return
  322. }
  323. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimTemplateList.
  324. func (in *ResourceClaimTemplateList) DeepCopy() *ResourceClaimTemplateList {
  325. if in == nil {
  326. return nil
  327. }
  328. out := new(ResourceClaimTemplateList)
  329. in.DeepCopyInto(out)
  330. return out
  331. }
  332. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  333. func (in *ResourceClaimTemplateList) DeepCopyObject() runtime.Object {
  334. if c := in.DeepCopy(); c != nil {
  335. return c
  336. }
  337. return nil
  338. }
  339. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  340. func (in *ResourceClaimTemplateSpec) DeepCopyInto(out *ResourceClaimTemplateSpec) {
  341. *out = *in
  342. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  343. in.Spec.DeepCopyInto(&out.Spec)
  344. return
  345. }
  346. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimTemplateSpec.
  347. func (in *ResourceClaimTemplateSpec) DeepCopy() *ResourceClaimTemplateSpec {
  348. if in == nil {
  349. return nil
  350. }
  351. out := new(ResourceClaimTemplateSpec)
  352. in.DeepCopyInto(out)
  353. return out
  354. }
  355. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  356. func (in *ResourceClass) DeepCopyInto(out *ResourceClass) {
  357. *out = *in
  358. out.TypeMeta = in.TypeMeta
  359. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  360. if in.ParametersRef != nil {
  361. in, out := &in.ParametersRef, &out.ParametersRef
  362. *out = new(ResourceClassParametersReference)
  363. **out = **in
  364. }
  365. if in.SuitableNodes != nil {
  366. in, out := &in.SuitableNodes, &out.SuitableNodes
  367. *out = new(v1.NodeSelector)
  368. (*in).DeepCopyInto(*out)
  369. }
  370. return
  371. }
  372. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClass.
  373. func (in *ResourceClass) DeepCopy() *ResourceClass {
  374. if in == nil {
  375. return nil
  376. }
  377. out := new(ResourceClass)
  378. in.DeepCopyInto(out)
  379. return out
  380. }
  381. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  382. func (in *ResourceClass) DeepCopyObject() runtime.Object {
  383. if c := in.DeepCopy(); c != nil {
  384. return c
  385. }
  386. return nil
  387. }
  388. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  389. func (in *ResourceClassList) DeepCopyInto(out *ResourceClassList) {
  390. *out = *in
  391. out.TypeMeta = in.TypeMeta
  392. in.ListMeta.DeepCopyInto(&out.ListMeta)
  393. if in.Items != nil {
  394. in, out := &in.Items, &out.Items
  395. *out = make([]ResourceClass, len(*in))
  396. for i := range *in {
  397. (*in)[i].DeepCopyInto(&(*out)[i])
  398. }
  399. }
  400. return
  401. }
  402. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClassList.
  403. func (in *ResourceClassList) DeepCopy() *ResourceClassList {
  404. if in == nil {
  405. return nil
  406. }
  407. out := new(ResourceClassList)
  408. in.DeepCopyInto(out)
  409. return out
  410. }
  411. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  412. func (in *ResourceClassList) DeepCopyObject() runtime.Object {
  413. if c := in.DeepCopy(); c != nil {
  414. return c
  415. }
  416. return nil
  417. }
  418. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  419. func (in *ResourceClassParametersReference) DeepCopyInto(out *ResourceClassParametersReference) {
  420. *out = *in
  421. return
  422. }
  423. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClassParametersReference.
  424. func (in *ResourceClassParametersReference) DeepCopy() *ResourceClassParametersReference {
  425. if in == nil {
  426. return nil
  427. }
  428. out := new(ResourceClassParametersReference)
  429. in.DeepCopyInto(out)
  430. return out
  431. }
  432. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  433. func (in *ResourceHandle) DeepCopyInto(out *ResourceHandle) {
  434. *out = *in
  435. return
  436. }
  437. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceHandle.
  438. func (in *ResourceHandle) DeepCopy() *ResourceHandle {
  439. if in == nil {
  440. return nil
  441. }
  442. out := new(ResourceHandle)
  443. in.DeepCopyInto(out)
  444. return out
  445. }