zz_generated.deepcopy.go 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618
  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 v1
  17. import (
  18. corev1 "k8s.io/api/core/v1"
  19. metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
  20. runtime "k8s.io/apimachinery/pkg/runtime"
  21. )
  22. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  23. func (in *CSIDriver) DeepCopyInto(out *CSIDriver) {
  24. *out = *in
  25. out.TypeMeta = in.TypeMeta
  26. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  27. in.Spec.DeepCopyInto(&out.Spec)
  28. return
  29. }
  30. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriver.
  31. func (in *CSIDriver) DeepCopy() *CSIDriver {
  32. if in == nil {
  33. return nil
  34. }
  35. out := new(CSIDriver)
  36. in.DeepCopyInto(out)
  37. return out
  38. }
  39. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  40. func (in *CSIDriver) DeepCopyObject() runtime.Object {
  41. if c := in.DeepCopy(); c != nil {
  42. return c
  43. }
  44. return nil
  45. }
  46. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  47. func (in *CSIDriverList) DeepCopyInto(out *CSIDriverList) {
  48. *out = *in
  49. out.TypeMeta = in.TypeMeta
  50. in.ListMeta.DeepCopyInto(&out.ListMeta)
  51. if in.Items != nil {
  52. in, out := &in.Items, &out.Items
  53. *out = make([]CSIDriver, len(*in))
  54. for i := range *in {
  55. (*in)[i].DeepCopyInto(&(*out)[i])
  56. }
  57. }
  58. return
  59. }
  60. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriverList.
  61. func (in *CSIDriverList) DeepCopy() *CSIDriverList {
  62. if in == nil {
  63. return nil
  64. }
  65. out := new(CSIDriverList)
  66. in.DeepCopyInto(out)
  67. return out
  68. }
  69. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  70. func (in *CSIDriverList) DeepCopyObject() runtime.Object {
  71. if c := in.DeepCopy(); c != nil {
  72. return c
  73. }
  74. return nil
  75. }
  76. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  77. func (in *CSIDriverSpec) DeepCopyInto(out *CSIDriverSpec) {
  78. *out = *in
  79. if in.AttachRequired != nil {
  80. in, out := &in.AttachRequired, &out.AttachRequired
  81. *out = new(bool)
  82. **out = **in
  83. }
  84. if in.PodInfoOnMount != nil {
  85. in, out := &in.PodInfoOnMount, &out.PodInfoOnMount
  86. *out = new(bool)
  87. **out = **in
  88. }
  89. if in.VolumeLifecycleModes != nil {
  90. in, out := &in.VolumeLifecycleModes, &out.VolumeLifecycleModes
  91. *out = make([]VolumeLifecycleMode, len(*in))
  92. copy(*out, *in)
  93. }
  94. if in.StorageCapacity != nil {
  95. in, out := &in.StorageCapacity, &out.StorageCapacity
  96. *out = new(bool)
  97. **out = **in
  98. }
  99. if in.FSGroupPolicy != nil {
  100. in, out := &in.FSGroupPolicy, &out.FSGroupPolicy
  101. *out = new(FSGroupPolicy)
  102. **out = **in
  103. }
  104. if in.TokenRequests != nil {
  105. in, out := &in.TokenRequests, &out.TokenRequests
  106. *out = make([]TokenRequest, len(*in))
  107. for i := range *in {
  108. (*in)[i].DeepCopyInto(&(*out)[i])
  109. }
  110. }
  111. if in.RequiresRepublish != nil {
  112. in, out := &in.RequiresRepublish, &out.RequiresRepublish
  113. *out = new(bool)
  114. **out = **in
  115. }
  116. if in.SELinuxMount != nil {
  117. in, out := &in.SELinuxMount, &out.SELinuxMount
  118. *out = new(bool)
  119. **out = **in
  120. }
  121. return
  122. }
  123. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriverSpec.
  124. func (in *CSIDriverSpec) DeepCopy() *CSIDriverSpec {
  125. if in == nil {
  126. return nil
  127. }
  128. out := new(CSIDriverSpec)
  129. in.DeepCopyInto(out)
  130. return out
  131. }
  132. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  133. func (in *CSINode) DeepCopyInto(out *CSINode) {
  134. *out = *in
  135. out.TypeMeta = in.TypeMeta
  136. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  137. in.Spec.DeepCopyInto(&out.Spec)
  138. return
  139. }
  140. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINode.
  141. func (in *CSINode) DeepCopy() *CSINode {
  142. if in == nil {
  143. return nil
  144. }
  145. out := new(CSINode)
  146. in.DeepCopyInto(out)
  147. return out
  148. }
  149. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  150. func (in *CSINode) DeepCopyObject() runtime.Object {
  151. if c := in.DeepCopy(); c != nil {
  152. return c
  153. }
  154. return nil
  155. }
  156. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  157. func (in *CSINodeDriver) DeepCopyInto(out *CSINodeDriver) {
  158. *out = *in
  159. if in.TopologyKeys != nil {
  160. in, out := &in.TopologyKeys, &out.TopologyKeys
  161. *out = make([]string, len(*in))
  162. copy(*out, *in)
  163. }
  164. if in.Allocatable != nil {
  165. in, out := &in.Allocatable, &out.Allocatable
  166. *out = new(VolumeNodeResources)
  167. (*in).DeepCopyInto(*out)
  168. }
  169. return
  170. }
  171. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeDriver.
  172. func (in *CSINodeDriver) DeepCopy() *CSINodeDriver {
  173. if in == nil {
  174. return nil
  175. }
  176. out := new(CSINodeDriver)
  177. in.DeepCopyInto(out)
  178. return out
  179. }
  180. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  181. func (in *CSINodeList) DeepCopyInto(out *CSINodeList) {
  182. *out = *in
  183. out.TypeMeta = in.TypeMeta
  184. in.ListMeta.DeepCopyInto(&out.ListMeta)
  185. if in.Items != nil {
  186. in, out := &in.Items, &out.Items
  187. *out = make([]CSINode, len(*in))
  188. for i := range *in {
  189. (*in)[i].DeepCopyInto(&(*out)[i])
  190. }
  191. }
  192. return
  193. }
  194. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeList.
  195. func (in *CSINodeList) DeepCopy() *CSINodeList {
  196. if in == nil {
  197. return nil
  198. }
  199. out := new(CSINodeList)
  200. in.DeepCopyInto(out)
  201. return out
  202. }
  203. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  204. func (in *CSINodeList) DeepCopyObject() runtime.Object {
  205. if c := in.DeepCopy(); c != nil {
  206. return c
  207. }
  208. return nil
  209. }
  210. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  211. func (in *CSINodeSpec) DeepCopyInto(out *CSINodeSpec) {
  212. *out = *in
  213. if in.Drivers != nil {
  214. in, out := &in.Drivers, &out.Drivers
  215. *out = make([]CSINodeDriver, len(*in))
  216. for i := range *in {
  217. (*in)[i].DeepCopyInto(&(*out)[i])
  218. }
  219. }
  220. return
  221. }
  222. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeSpec.
  223. func (in *CSINodeSpec) DeepCopy() *CSINodeSpec {
  224. if in == nil {
  225. return nil
  226. }
  227. out := new(CSINodeSpec)
  228. in.DeepCopyInto(out)
  229. return out
  230. }
  231. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  232. func (in *CSIStorageCapacity) DeepCopyInto(out *CSIStorageCapacity) {
  233. *out = *in
  234. out.TypeMeta = in.TypeMeta
  235. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  236. if in.NodeTopology != nil {
  237. in, out := &in.NodeTopology, &out.NodeTopology
  238. *out = new(metav1.LabelSelector)
  239. (*in).DeepCopyInto(*out)
  240. }
  241. if in.Capacity != nil {
  242. in, out := &in.Capacity, &out.Capacity
  243. x := (*in).DeepCopy()
  244. *out = &x
  245. }
  246. if in.MaximumVolumeSize != nil {
  247. in, out := &in.MaximumVolumeSize, &out.MaximumVolumeSize
  248. x := (*in).DeepCopy()
  249. *out = &x
  250. }
  251. return
  252. }
  253. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIStorageCapacity.
  254. func (in *CSIStorageCapacity) DeepCopy() *CSIStorageCapacity {
  255. if in == nil {
  256. return nil
  257. }
  258. out := new(CSIStorageCapacity)
  259. in.DeepCopyInto(out)
  260. return out
  261. }
  262. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  263. func (in *CSIStorageCapacity) DeepCopyObject() runtime.Object {
  264. if c := in.DeepCopy(); c != nil {
  265. return c
  266. }
  267. return nil
  268. }
  269. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  270. func (in *CSIStorageCapacityList) DeepCopyInto(out *CSIStorageCapacityList) {
  271. *out = *in
  272. out.TypeMeta = in.TypeMeta
  273. in.ListMeta.DeepCopyInto(&out.ListMeta)
  274. if in.Items != nil {
  275. in, out := &in.Items, &out.Items
  276. *out = make([]CSIStorageCapacity, len(*in))
  277. for i := range *in {
  278. (*in)[i].DeepCopyInto(&(*out)[i])
  279. }
  280. }
  281. return
  282. }
  283. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIStorageCapacityList.
  284. func (in *CSIStorageCapacityList) DeepCopy() *CSIStorageCapacityList {
  285. if in == nil {
  286. return nil
  287. }
  288. out := new(CSIStorageCapacityList)
  289. in.DeepCopyInto(out)
  290. return out
  291. }
  292. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  293. func (in *CSIStorageCapacityList) DeepCopyObject() runtime.Object {
  294. if c := in.DeepCopy(); c != nil {
  295. return c
  296. }
  297. return nil
  298. }
  299. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  300. func (in *StorageClass) DeepCopyInto(out *StorageClass) {
  301. *out = *in
  302. out.TypeMeta = in.TypeMeta
  303. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  304. if in.Parameters != nil {
  305. in, out := &in.Parameters, &out.Parameters
  306. *out = make(map[string]string, len(*in))
  307. for key, val := range *in {
  308. (*out)[key] = val
  309. }
  310. }
  311. if in.ReclaimPolicy != nil {
  312. in, out := &in.ReclaimPolicy, &out.ReclaimPolicy
  313. *out = new(corev1.PersistentVolumeReclaimPolicy)
  314. **out = **in
  315. }
  316. if in.MountOptions != nil {
  317. in, out := &in.MountOptions, &out.MountOptions
  318. *out = make([]string, len(*in))
  319. copy(*out, *in)
  320. }
  321. if in.AllowVolumeExpansion != nil {
  322. in, out := &in.AllowVolumeExpansion, &out.AllowVolumeExpansion
  323. *out = new(bool)
  324. **out = **in
  325. }
  326. if in.VolumeBindingMode != nil {
  327. in, out := &in.VolumeBindingMode, &out.VolumeBindingMode
  328. *out = new(VolumeBindingMode)
  329. **out = **in
  330. }
  331. if in.AllowedTopologies != nil {
  332. in, out := &in.AllowedTopologies, &out.AllowedTopologies
  333. *out = make([]corev1.TopologySelectorTerm, len(*in))
  334. for i := range *in {
  335. (*in)[i].DeepCopyInto(&(*out)[i])
  336. }
  337. }
  338. return
  339. }
  340. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClass.
  341. func (in *StorageClass) DeepCopy() *StorageClass {
  342. if in == nil {
  343. return nil
  344. }
  345. out := new(StorageClass)
  346. in.DeepCopyInto(out)
  347. return out
  348. }
  349. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  350. func (in *StorageClass) DeepCopyObject() runtime.Object {
  351. if c := in.DeepCopy(); c != nil {
  352. return c
  353. }
  354. return nil
  355. }
  356. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  357. func (in *StorageClassList) DeepCopyInto(out *StorageClassList) {
  358. *out = *in
  359. out.TypeMeta = in.TypeMeta
  360. in.ListMeta.DeepCopyInto(&out.ListMeta)
  361. if in.Items != nil {
  362. in, out := &in.Items, &out.Items
  363. *out = make([]StorageClass, len(*in))
  364. for i := range *in {
  365. (*in)[i].DeepCopyInto(&(*out)[i])
  366. }
  367. }
  368. return
  369. }
  370. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassList.
  371. func (in *StorageClassList) DeepCopy() *StorageClassList {
  372. if in == nil {
  373. return nil
  374. }
  375. out := new(StorageClassList)
  376. in.DeepCopyInto(out)
  377. return out
  378. }
  379. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  380. func (in *StorageClassList) DeepCopyObject() runtime.Object {
  381. if c := in.DeepCopy(); c != nil {
  382. return c
  383. }
  384. return nil
  385. }
  386. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  387. func (in *TokenRequest) DeepCopyInto(out *TokenRequest) {
  388. *out = *in
  389. if in.ExpirationSeconds != nil {
  390. in, out := &in.ExpirationSeconds, &out.ExpirationSeconds
  391. *out = new(int64)
  392. **out = **in
  393. }
  394. return
  395. }
  396. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequest.
  397. func (in *TokenRequest) DeepCopy() *TokenRequest {
  398. if in == nil {
  399. return nil
  400. }
  401. out := new(TokenRequest)
  402. in.DeepCopyInto(out)
  403. return out
  404. }
  405. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  406. func (in *VolumeAttachment) DeepCopyInto(out *VolumeAttachment) {
  407. *out = *in
  408. out.TypeMeta = in.TypeMeta
  409. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  410. in.Spec.DeepCopyInto(&out.Spec)
  411. in.Status.DeepCopyInto(&out.Status)
  412. return
  413. }
  414. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachment.
  415. func (in *VolumeAttachment) DeepCopy() *VolumeAttachment {
  416. if in == nil {
  417. return nil
  418. }
  419. out := new(VolumeAttachment)
  420. in.DeepCopyInto(out)
  421. return out
  422. }
  423. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  424. func (in *VolumeAttachment) DeepCopyObject() runtime.Object {
  425. if c := in.DeepCopy(); c != nil {
  426. return c
  427. }
  428. return nil
  429. }
  430. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  431. func (in *VolumeAttachmentList) DeepCopyInto(out *VolumeAttachmentList) {
  432. *out = *in
  433. out.TypeMeta = in.TypeMeta
  434. in.ListMeta.DeepCopyInto(&out.ListMeta)
  435. if in.Items != nil {
  436. in, out := &in.Items, &out.Items
  437. *out = make([]VolumeAttachment, len(*in))
  438. for i := range *in {
  439. (*in)[i].DeepCopyInto(&(*out)[i])
  440. }
  441. }
  442. return
  443. }
  444. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentList.
  445. func (in *VolumeAttachmentList) DeepCopy() *VolumeAttachmentList {
  446. if in == nil {
  447. return nil
  448. }
  449. out := new(VolumeAttachmentList)
  450. in.DeepCopyInto(out)
  451. return out
  452. }
  453. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  454. func (in *VolumeAttachmentList) DeepCopyObject() runtime.Object {
  455. if c := in.DeepCopy(); c != nil {
  456. return c
  457. }
  458. return nil
  459. }
  460. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  461. func (in *VolumeAttachmentSource) DeepCopyInto(out *VolumeAttachmentSource) {
  462. *out = *in
  463. if in.PersistentVolumeName != nil {
  464. in, out := &in.PersistentVolumeName, &out.PersistentVolumeName
  465. *out = new(string)
  466. **out = **in
  467. }
  468. if in.InlineVolumeSpec != nil {
  469. in, out := &in.InlineVolumeSpec, &out.InlineVolumeSpec
  470. *out = new(corev1.PersistentVolumeSpec)
  471. (*in).DeepCopyInto(*out)
  472. }
  473. return
  474. }
  475. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSource.
  476. func (in *VolumeAttachmentSource) DeepCopy() *VolumeAttachmentSource {
  477. if in == nil {
  478. return nil
  479. }
  480. out := new(VolumeAttachmentSource)
  481. in.DeepCopyInto(out)
  482. return out
  483. }
  484. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  485. func (in *VolumeAttachmentSpec) DeepCopyInto(out *VolumeAttachmentSpec) {
  486. *out = *in
  487. in.Source.DeepCopyInto(&out.Source)
  488. return
  489. }
  490. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSpec.
  491. func (in *VolumeAttachmentSpec) DeepCopy() *VolumeAttachmentSpec {
  492. if in == nil {
  493. return nil
  494. }
  495. out := new(VolumeAttachmentSpec)
  496. in.DeepCopyInto(out)
  497. return out
  498. }
  499. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  500. func (in *VolumeAttachmentStatus) DeepCopyInto(out *VolumeAttachmentStatus) {
  501. *out = *in
  502. if in.AttachmentMetadata != nil {
  503. in, out := &in.AttachmentMetadata, &out.AttachmentMetadata
  504. *out = make(map[string]string, len(*in))
  505. for key, val := range *in {
  506. (*out)[key] = val
  507. }
  508. }
  509. if in.AttachError != nil {
  510. in, out := &in.AttachError, &out.AttachError
  511. *out = new(VolumeError)
  512. (*in).DeepCopyInto(*out)
  513. }
  514. if in.DetachError != nil {
  515. in, out := &in.DetachError, &out.DetachError
  516. *out = new(VolumeError)
  517. (*in).DeepCopyInto(*out)
  518. }
  519. return
  520. }
  521. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentStatus.
  522. func (in *VolumeAttachmentStatus) DeepCopy() *VolumeAttachmentStatus {
  523. if in == nil {
  524. return nil
  525. }
  526. out := new(VolumeAttachmentStatus)
  527. in.DeepCopyInto(out)
  528. return out
  529. }
  530. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  531. func (in *VolumeError) DeepCopyInto(out *VolumeError) {
  532. *out = *in
  533. in.Time.DeepCopyInto(&out.Time)
  534. return
  535. }
  536. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeError.
  537. func (in *VolumeError) DeepCopy() *VolumeError {
  538. if in == nil {
  539. return nil
  540. }
  541. out := new(VolumeError)
  542. in.DeepCopyInto(out)
  543. return out
  544. }
  545. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  546. func (in *VolumeNodeResources) DeepCopyInto(out *VolumeNodeResources) {
  547. *out = *in
  548. if in.Count != nil {
  549. in, out := &in.Count, &out.Count
  550. *out = new(int32)
  551. **out = **in
  552. }
  553. return
  554. }
  555. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeNodeResources.
  556. func (in *VolumeNodeResources) DeepCopy() *VolumeNodeResources {
  557. if in == nil {
  558. return nil
  559. }
  560. out := new(VolumeNodeResources)
  561. in.DeepCopyInto(out)
  562. return out
  563. }