zz_generated.deepcopy.go 14 KB

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