zz_generated.deepcopy.go 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699
  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. if in.NodeAllocatableUpdatePeriodSeconds != nil {
  122. in, out := &in.NodeAllocatableUpdatePeriodSeconds, &out.NodeAllocatableUpdatePeriodSeconds
  123. *out = new(int64)
  124. **out = **in
  125. }
  126. if in.ServiceAccountTokenInSecrets != nil {
  127. in, out := &in.ServiceAccountTokenInSecrets, &out.ServiceAccountTokenInSecrets
  128. *out = new(bool)
  129. **out = **in
  130. }
  131. return
  132. }
  133. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriverSpec.
  134. func (in *CSIDriverSpec) DeepCopy() *CSIDriverSpec {
  135. if in == nil {
  136. return nil
  137. }
  138. out := new(CSIDriverSpec)
  139. in.DeepCopyInto(out)
  140. return out
  141. }
  142. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  143. func (in *CSINode) DeepCopyInto(out *CSINode) {
  144. *out = *in
  145. out.TypeMeta = in.TypeMeta
  146. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  147. in.Spec.DeepCopyInto(&out.Spec)
  148. return
  149. }
  150. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINode.
  151. func (in *CSINode) DeepCopy() *CSINode {
  152. if in == nil {
  153. return nil
  154. }
  155. out := new(CSINode)
  156. in.DeepCopyInto(out)
  157. return out
  158. }
  159. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  160. func (in *CSINode) DeepCopyObject() runtime.Object {
  161. if c := in.DeepCopy(); c != nil {
  162. return c
  163. }
  164. return nil
  165. }
  166. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  167. func (in *CSINodeDriver) DeepCopyInto(out *CSINodeDriver) {
  168. *out = *in
  169. if in.TopologyKeys != nil {
  170. in, out := &in.TopologyKeys, &out.TopologyKeys
  171. *out = make([]string, len(*in))
  172. copy(*out, *in)
  173. }
  174. if in.Allocatable != nil {
  175. in, out := &in.Allocatable, &out.Allocatable
  176. *out = new(VolumeNodeResources)
  177. (*in).DeepCopyInto(*out)
  178. }
  179. return
  180. }
  181. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeDriver.
  182. func (in *CSINodeDriver) DeepCopy() *CSINodeDriver {
  183. if in == nil {
  184. return nil
  185. }
  186. out := new(CSINodeDriver)
  187. in.DeepCopyInto(out)
  188. return out
  189. }
  190. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  191. func (in *CSINodeList) DeepCopyInto(out *CSINodeList) {
  192. *out = *in
  193. out.TypeMeta = in.TypeMeta
  194. in.ListMeta.DeepCopyInto(&out.ListMeta)
  195. if in.Items != nil {
  196. in, out := &in.Items, &out.Items
  197. *out = make([]CSINode, len(*in))
  198. for i := range *in {
  199. (*in)[i].DeepCopyInto(&(*out)[i])
  200. }
  201. }
  202. return
  203. }
  204. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeList.
  205. func (in *CSINodeList) DeepCopy() *CSINodeList {
  206. if in == nil {
  207. return nil
  208. }
  209. out := new(CSINodeList)
  210. in.DeepCopyInto(out)
  211. return out
  212. }
  213. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  214. func (in *CSINodeList) DeepCopyObject() runtime.Object {
  215. if c := in.DeepCopy(); c != nil {
  216. return c
  217. }
  218. return nil
  219. }
  220. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  221. func (in *CSINodeSpec) DeepCopyInto(out *CSINodeSpec) {
  222. *out = *in
  223. if in.Drivers != nil {
  224. in, out := &in.Drivers, &out.Drivers
  225. *out = make([]CSINodeDriver, len(*in))
  226. for i := range *in {
  227. (*in)[i].DeepCopyInto(&(*out)[i])
  228. }
  229. }
  230. return
  231. }
  232. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeSpec.
  233. func (in *CSINodeSpec) DeepCopy() *CSINodeSpec {
  234. if in == nil {
  235. return nil
  236. }
  237. out := new(CSINodeSpec)
  238. in.DeepCopyInto(out)
  239. return out
  240. }
  241. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  242. func (in *CSIStorageCapacity) DeepCopyInto(out *CSIStorageCapacity) {
  243. *out = *in
  244. out.TypeMeta = in.TypeMeta
  245. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  246. if in.NodeTopology != nil {
  247. in, out := &in.NodeTopology, &out.NodeTopology
  248. *out = new(metav1.LabelSelector)
  249. (*in).DeepCopyInto(*out)
  250. }
  251. if in.Capacity != nil {
  252. in, out := &in.Capacity, &out.Capacity
  253. x := (*in).DeepCopy()
  254. *out = &x
  255. }
  256. if in.MaximumVolumeSize != nil {
  257. in, out := &in.MaximumVolumeSize, &out.MaximumVolumeSize
  258. x := (*in).DeepCopy()
  259. *out = &x
  260. }
  261. return
  262. }
  263. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIStorageCapacity.
  264. func (in *CSIStorageCapacity) DeepCopy() *CSIStorageCapacity {
  265. if in == nil {
  266. return nil
  267. }
  268. out := new(CSIStorageCapacity)
  269. in.DeepCopyInto(out)
  270. return out
  271. }
  272. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  273. func (in *CSIStorageCapacity) DeepCopyObject() runtime.Object {
  274. if c := in.DeepCopy(); c != nil {
  275. return c
  276. }
  277. return nil
  278. }
  279. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  280. func (in *CSIStorageCapacityList) DeepCopyInto(out *CSIStorageCapacityList) {
  281. *out = *in
  282. out.TypeMeta = in.TypeMeta
  283. in.ListMeta.DeepCopyInto(&out.ListMeta)
  284. if in.Items != nil {
  285. in, out := &in.Items, &out.Items
  286. *out = make([]CSIStorageCapacity, len(*in))
  287. for i := range *in {
  288. (*in)[i].DeepCopyInto(&(*out)[i])
  289. }
  290. }
  291. return
  292. }
  293. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIStorageCapacityList.
  294. func (in *CSIStorageCapacityList) DeepCopy() *CSIStorageCapacityList {
  295. if in == nil {
  296. return nil
  297. }
  298. out := new(CSIStorageCapacityList)
  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 *CSIStorageCapacityList) 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 *StorageClass) DeepCopyInto(out *StorageClass) {
  311. *out = *in
  312. out.TypeMeta = in.TypeMeta
  313. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  314. if in.Parameters != nil {
  315. in, out := &in.Parameters, &out.Parameters
  316. *out = make(map[string]string, len(*in))
  317. for key, val := range *in {
  318. (*out)[key] = val
  319. }
  320. }
  321. if in.ReclaimPolicy != nil {
  322. in, out := &in.ReclaimPolicy, &out.ReclaimPolicy
  323. *out = new(corev1.PersistentVolumeReclaimPolicy)
  324. **out = **in
  325. }
  326. if in.MountOptions != nil {
  327. in, out := &in.MountOptions, &out.MountOptions
  328. *out = make([]string, len(*in))
  329. copy(*out, *in)
  330. }
  331. if in.AllowVolumeExpansion != nil {
  332. in, out := &in.AllowVolumeExpansion, &out.AllowVolumeExpansion
  333. *out = new(bool)
  334. **out = **in
  335. }
  336. if in.VolumeBindingMode != nil {
  337. in, out := &in.VolumeBindingMode, &out.VolumeBindingMode
  338. *out = new(VolumeBindingMode)
  339. **out = **in
  340. }
  341. if in.AllowedTopologies != nil {
  342. in, out := &in.AllowedTopologies, &out.AllowedTopologies
  343. *out = make([]corev1.TopologySelectorTerm, len(*in))
  344. for i := range *in {
  345. (*in)[i].DeepCopyInto(&(*out)[i])
  346. }
  347. }
  348. return
  349. }
  350. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClass.
  351. func (in *StorageClass) DeepCopy() *StorageClass {
  352. if in == nil {
  353. return nil
  354. }
  355. out := new(StorageClass)
  356. in.DeepCopyInto(out)
  357. return out
  358. }
  359. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  360. func (in *StorageClass) DeepCopyObject() runtime.Object {
  361. if c := in.DeepCopy(); c != nil {
  362. return c
  363. }
  364. return nil
  365. }
  366. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  367. func (in *StorageClassList) DeepCopyInto(out *StorageClassList) {
  368. *out = *in
  369. out.TypeMeta = in.TypeMeta
  370. in.ListMeta.DeepCopyInto(&out.ListMeta)
  371. if in.Items != nil {
  372. in, out := &in.Items, &out.Items
  373. *out = make([]StorageClass, len(*in))
  374. for i := range *in {
  375. (*in)[i].DeepCopyInto(&(*out)[i])
  376. }
  377. }
  378. return
  379. }
  380. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassList.
  381. func (in *StorageClassList) DeepCopy() *StorageClassList {
  382. if in == nil {
  383. return nil
  384. }
  385. out := new(StorageClassList)
  386. in.DeepCopyInto(out)
  387. return out
  388. }
  389. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  390. func (in *StorageClassList) DeepCopyObject() runtime.Object {
  391. if c := in.DeepCopy(); c != nil {
  392. return c
  393. }
  394. return nil
  395. }
  396. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  397. func (in *TokenRequest) DeepCopyInto(out *TokenRequest) {
  398. *out = *in
  399. if in.ExpirationSeconds != nil {
  400. in, out := &in.ExpirationSeconds, &out.ExpirationSeconds
  401. *out = new(int64)
  402. **out = **in
  403. }
  404. return
  405. }
  406. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequest.
  407. func (in *TokenRequest) DeepCopy() *TokenRequest {
  408. if in == nil {
  409. return nil
  410. }
  411. out := new(TokenRequest)
  412. in.DeepCopyInto(out)
  413. return out
  414. }
  415. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  416. func (in *VolumeAttachment) DeepCopyInto(out *VolumeAttachment) {
  417. *out = *in
  418. out.TypeMeta = in.TypeMeta
  419. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  420. in.Spec.DeepCopyInto(&out.Spec)
  421. in.Status.DeepCopyInto(&out.Status)
  422. return
  423. }
  424. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachment.
  425. func (in *VolumeAttachment) DeepCopy() *VolumeAttachment {
  426. if in == nil {
  427. return nil
  428. }
  429. out := new(VolumeAttachment)
  430. in.DeepCopyInto(out)
  431. return out
  432. }
  433. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  434. func (in *VolumeAttachment) DeepCopyObject() runtime.Object {
  435. if c := in.DeepCopy(); c != nil {
  436. return c
  437. }
  438. return nil
  439. }
  440. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  441. func (in *VolumeAttachmentList) DeepCopyInto(out *VolumeAttachmentList) {
  442. *out = *in
  443. out.TypeMeta = in.TypeMeta
  444. in.ListMeta.DeepCopyInto(&out.ListMeta)
  445. if in.Items != nil {
  446. in, out := &in.Items, &out.Items
  447. *out = make([]VolumeAttachment, len(*in))
  448. for i := range *in {
  449. (*in)[i].DeepCopyInto(&(*out)[i])
  450. }
  451. }
  452. return
  453. }
  454. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentList.
  455. func (in *VolumeAttachmentList) DeepCopy() *VolumeAttachmentList {
  456. if in == nil {
  457. return nil
  458. }
  459. out := new(VolumeAttachmentList)
  460. in.DeepCopyInto(out)
  461. return out
  462. }
  463. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  464. func (in *VolumeAttachmentList) DeepCopyObject() runtime.Object {
  465. if c := in.DeepCopy(); c != nil {
  466. return c
  467. }
  468. return nil
  469. }
  470. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  471. func (in *VolumeAttachmentSource) DeepCopyInto(out *VolumeAttachmentSource) {
  472. *out = *in
  473. if in.PersistentVolumeName != nil {
  474. in, out := &in.PersistentVolumeName, &out.PersistentVolumeName
  475. *out = new(string)
  476. **out = **in
  477. }
  478. if in.InlineVolumeSpec != nil {
  479. in, out := &in.InlineVolumeSpec, &out.InlineVolumeSpec
  480. *out = new(corev1.PersistentVolumeSpec)
  481. (*in).DeepCopyInto(*out)
  482. }
  483. return
  484. }
  485. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSource.
  486. func (in *VolumeAttachmentSource) DeepCopy() *VolumeAttachmentSource {
  487. if in == nil {
  488. return nil
  489. }
  490. out := new(VolumeAttachmentSource)
  491. in.DeepCopyInto(out)
  492. return out
  493. }
  494. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  495. func (in *VolumeAttachmentSpec) DeepCopyInto(out *VolumeAttachmentSpec) {
  496. *out = *in
  497. in.Source.DeepCopyInto(&out.Source)
  498. return
  499. }
  500. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSpec.
  501. func (in *VolumeAttachmentSpec) DeepCopy() *VolumeAttachmentSpec {
  502. if in == nil {
  503. return nil
  504. }
  505. out := new(VolumeAttachmentSpec)
  506. in.DeepCopyInto(out)
  507. return out
  508. }
  509. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  510. func (in *VolumeAttachmentStatus) DeepCopyInto(out *VolumeAttachmentStatus) {
  511. *out = *in
  512. if in.AttachmentMetadata != nil {
  513. in, out := &in.AttachmentMetadata, &out.AttachmentMetadata
  514. *out = make(map[string]string, len(*in))
  515. for key, val := range *in {
  516. (*out)[key] = val
  517. }
  518. }
  519. if in.AttachError != nil {
  520. in, out := &in.AttachError, &out.AttachError
  521. *out = new(VolumeError)
  522. (*in).DeepCopyInto(*out)
  523. }
  524. if in.DetachError != nil {
  525. in, out := &in.DetachError, &out.DetachError
  526. *out = new(VolumeError)
  527. (*in).DeepCopyInto(*out)
  528. }
  529. return
  530. }
  531. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentStatus.
  532. func (in *VolumeAttachmentStatus) DeepCopy() *VolumeAttachmentStatus {
  533. if in == nil {
  534. return nil
  535. }
  536. out := new(VolumeAttachmentStatus)
  537. in.DeepCopyInto(out)
  538. return out
  539. }
  540. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  541. func (in *VolumeAttributesClass) DeepCopyInto(out *VolumeAttributesClass) {
  542. *out = *in
  543. out.TypeMeta = in.TypeMeta
  544. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  545. if in.Parameters != nil {
  546. in, out := &in.Parameters, &out.Parameters
  547. *out = make(map[string]string, len(*in))
  548. for key, val := range *in {
  549. (*out)[key] = val
  550. }
  551. }
  552. return
  553. }
  554. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttributesClass.
  555. func (in *VolumeAttributesClass) DeepCopy() *VolumeAttributesClass {
  556. if in == nil {
  557. return nil
  558. }
  559. out := new(VolumeAttributesClass)
  560. in.DeepCopyInto(out)
  561. return out
  562. }
  563. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  564. func (in *VolumeAttributesClass) DeepCopyObject() runtime.Object {
  565. if c := in.DeepCopy(); c != nil {
  566. return c
  567. }
  568. return nil
  569. }
  570. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  571. func (in *VolumeAttributesClassList) DeepCopyInto(out *VolumeAttributesClassList) {
  572. *out = *in
  573. out.TypeMeta = in.TypeMeta
  574. in.ListMeta.DeepCopyInto(&out.ListMeta)
  575. if in.Items != nil {
  576. in, out := &in.Items, &out.Items
  577. *out = make([]VolumeAttributesClass, len(*in))
  578. for i := range *in {
  579. (*in)[i].DeepCopyInto(&(*out)[i])
  580. }
  581. }
  582. return
  583. }
  584. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttributesClassList.
  585. func (in *VolumeAttributesClassList) DeepCopy() *VolumeAttributesClassList {
  586. if in == nil {
  587. return nil
  588. }
  589. out := new(VolumeAttributesClassList)
  590. in.DeepCopyInto(out)
  591. return out
  592. }
  593. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  594. func (in *VolumeAttributesClassList) DeepCopyObject() runtime.Object {
  595. if c := in.DeepCopy(); c != nil {
  596. return c
  597. }
  598. return nil
  599. }
  600. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  601. func (in *VolumeError) DeepCopyInto(out *VolumeError) {
  602. *out = *in
  603. in.Time.DeepCopyInto(&out.Time)
  604. if in.ErrorCode != nil {
  605. in, out := &in.ErrorCode, &out.ErrorCode
  606. *out = new(int32)
  607. **out = **in
  608. }
  609. return
  610. }
  611. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeError.
  612. func (in *VolumeError) DeepCopy() *VolumeError {
  613. if in == nil {
  614. return nil
  615. }
  616. out := new(VolumeError)
  617. in.DeepCopyInto(out)
  618. return out
  619. }
  620. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  621. func (in *VolumeNodeResources) DeepCopyInto(out *VolumeNodeResources) {
  622. *out = *in
  623. if in.Count != nil {
  624. in, out := &in.Count, &out.Count
  625. *out = new(int32)
  626. **out = **in
  627. }
  628. return
  629. }
  630. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeNodeResources.
  631. func (in *VolumeNodeResources) DeepCopy() *VolumeNodeResources {
  632. if in == nil {
  633. return nil
  634. }
  635. out := new(VolumeNodeResources)
  636. in.DeepCopyInto(out)
  637. return out
  638. }