zz_generated.deepcopy.go 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538
  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. 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 *CSIDriver) DeepCopyInto(out *CSIDriver) {
  23. *out = *in
  24. out.TypeMeta = in.TypeMeta
  25. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  26. in.Spec.DeepCopyInto(&out.Spec)
  27. return
  28. }
  29. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriver.
  30. func (in *CSIDriver) DeepCopy() *CSIDriver {
  31. if in == nil {
  32. return nil
  33. }
  34. out := new(CSIDriver)
  35. in.DeepCopyInto(out)
  36. return out
  37. }
  38. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  39. func (in *CSIDriver) DeepCopyObject() runtime.Object {
  40. if c := in.DeepCopy(); c != nil {
  41. return c
  42. }
  43. return nil
  44. }
  45. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  46. func (in *CSIDriverList) DeepCopyInto(out *CSIDriverList) {
  47. *out = *in
  48. out.TypeMeta = in.TypeMeta
  49. in.ListMeta.DeepCopyInto(&out.ListMeta)
  50. if in.Items != nil {
  51. in, out := &in.Items, &out.Items
  52. *out = make([]CSIDriver, len(*in))
  53. for i := range *in {
  54. (*in)[i].DeepCopyInto(&(*out)[i])
  55. }
  56. }
  57. return
  58. }
  59. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriverList.
  60. func (in *CSIDriverList) DeepCopy() *CSIDriverList {
  61. if in == nil {
  62. return nil
  63. }
  64. out := new(CSIDriverList)
  65. in.DeepCopyInto(out)
  66. return out
  67. }
  68. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  69. func (in *CSIDriverList) DeepCopyObject() runtime.Object {
  70. if c := in.DeepCopy(); c != nil {
  71. return c
  72. }
  73. return nil
  74. }
  75. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  76. func (in *CSIDriverSpec) DeepCopyInto(out *CSIDriverSpec) {
  77. *out = *in
  78. if in.AttachRequired != nil {
  79. in, out := &in.AttachRequired, &out.AttachRequired
  80. *out = new(bool)
  81. **out = **in
  82. }
  83. if in.PodInfoOnMount != nil {
  84. in, out := &in.PodInfoOnMount, &out.PodInfoOnMount
  85. *out = new(bool)
  86. **out = **in
  87. }
  88. if in.VolumeLifecycleModes != nil {
  89. in, out := &in.VolumeLifecycleModes, &out.VolumeLifecycleModes
  90. *out = make([]VolumeLifecycleMode, len(*in))
  91. copy(*out, *in)
  92. }
  93. if in.StorageCapacity != nil {
  94. in, out := &in.StorageCapacity, &out.StorageCapacity
  95. *out = new(bool)
  96. **out = **in
  97. }
  98. if in.FSGroupPolicy != nil {
  99. in, out := &in.FSGroupPolicy, &out.FSGroupPolicy
  100. *out = new(FSGroupPolicy)
  101. **out = **in
  102. }
  103. if in.TokenRequests != nil {
  104. in, out := &in.TokenRequests, &out.TokenRequests
  105. *out = make([]TokenRequest, len(*in))
  106. for i := range *in {
  107. (*in)[i].DeepCopyInto(&(*out)[i])
  108. }
  109. }
  110. if in.RequiresRepublish != nil {
  111. in, out := &in.RequiresRepublish, &out.RequiresRepublish
  112. *out = new(bool)
  113. **out = **in
  114. }
  115. return
  116. }
  117. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriverSpec.
  118. func (in *CSIDriverSpec) DeepCopy() *CSIDriverSpec {
  119. if in == nil {
  120. return nil
  121. }
  122. out := new(CSIDriverSpec)
  123. in.DeepCopyInto(out)
  124. return out
  125. }
  126. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  127. func (in *CSINode) DeepCopyInto(out *CSINode) {
  128. *out = *in
  129. out.TypeMeta = in.TypeMeta
  130. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  131. in.Spec.DeepCopyInto(&out.Spec)
  132. return
  133. }
  134. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINode.
  135. func (in *CSINode) DeepCopy() *CSINode {
  136. if in == nil {
  137. return nil
  138. }
  139. out := new(CSINode)
  140. in.DeepCopyInto(out)
  141. return out
  142. }
  143. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  144. func (in *CSINode) DeepCopyObject() runtime.Object {
  145. if c := in.DeepCopy(); c != nil {
  146. return c
  147. }
  148. return nil
  149. }
  150. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  151. func (in *CSINodeDriver) DeepCopyInto(out *CSINodeDriver) {
  152. *out = *in
  153. if in.TopologyKeys != nil {
  154. in, out := &in.TopologyKeys, &out.TopologyKeys
  155. *out = make([]string, len(*in))
  156. copy(*out, *in)
  157. }
  158. if in.Allocatable != nil {
  159. in, out := &in.Allocatable, &out.Allocatable
  160. *out = new(VolumeNodeResources)
  161. (*in).DeepCopyInto(*out)
  162. }
  163. return
  164. }
  165. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeDriver.
  166. func (in *CSINodeDriver) DeepCopy() *CSINodeDriver {
  167. if in == nil {
  168. return nil
  169. }
  170. out := new(CSINodeDriver)
  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 *CSINodeList) DeepCopyInto(out *CSINodeList) {
  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([]CSINode, 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 CSINodeList.
  189. func (in *CSINodeList) DeepCopy() *CSINodeList {
  190. if in == nil {
  191. return nil
  192. }
  193. out := new(CSINodeList)
  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 *CSINodeList) 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 *CSINodeSpec) DeepCopyInto(out *CSINodeSpec) {
  206. *out = *in
  207. if in.Drivers != nil {
  208. in, out := &in.Drivers, &out.Drivers
  209. *out = make([]CSINodeDriver, len(*in))
  210. for i := range *in {
  211. (*in)[i].DeepCopyInto(&(*out)[i])
  212. }
  213. }
  214. return
  215. }
  216. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeSpec.
  217. func (in *CSINodeSpec) DeepCopy() *CSINodeSpec {
  218. if in == nil {
  219. return nil
  220. }
  221. out := new(CSINodeSpec)
  222. in.DeepCopyInto(out)
  223. return out
  224. }
  225. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  226. func (in *StorageClass) DeepCopyInto(out *StorageClass) {
  227. *out = *in
  228. out.TypeMeta = in.TypeMeta
  229. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  230. if in.Parameters != nil {
  231. in, out := &in.Parameters, &out.Parameters
  232. *out = make(map[string]string, len(*in))
  233. for key, val := range *in {
  234. (*out)[key] = val
  235. }
  236. }
  237. if in.ReclaimPolicy != nil {
  238. in, out := &in.ReclaimPolicy, &out.ReclaimPolicy
  239. *out = new(corev1.PersistentVolumeReclaimPolicy)
  240. **out = **in
  241. }
  242. if in.MountOptions != nil {
  243. in, out := &in.MountOptions, &out.MountOptions
  244. *out = make([]string, len(*in))
  245. copy(*out, *in)
  246. }
  247. if in.AllowVolumeExpansion != nil {
  248. in, out := &in.AllowVolumeExpansion, &out.AllowVolumeExpansion
  249. *out = new(bool)
  250. **out = **in
  251. }
  252. if in.VolumeBindingMode != nil {
  253. in, out := &in.VolumeBindingMode, &out.VolumeBindingMode
  254. *out = new(VolumeBindingMode)
  255. **out = **in
  256. }
  257. if in.AllowedTopologies != nil {
  258. in, out := &in.AllowedTopologies, &out.AllowedTopologies
  259. *out = make([]corev1.TopologySelectorTerm, len(*in))
  260. for i := range *in {
  261. (*in)[i].DeepCopyInto(&(*out)[i])
  262. }
  263. }
  264. return
  265. }
  266. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClass.
  267. func (in *StorageClass) DeepCopy() *StorageClass {
  268. if in == nil {
  269. return nil
  270. }
  271. out := new(StorageClass)
  272. in.DeepCopyInto(out)
  273. return out
  274. }
  275. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  276. func (in *StorageClass) DeepCopyObject() runtime.Object {
  277. if c := in.DeepCopy(); c != nil {
  278. return c
  279. }
  280. return nil
  281. }
  282. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  283. func (in *StorageClassList) DeepCopyInto(out *StorageClassList) {
  284. *out = *in
  285. out.TypeMeta = in.TypeMeta
  286. in.ListMeta.DeepCopyInto(&out.ListMeta)
  287. if in.Items != nil {
  288. in, out := &in.Items, &out.Items
  289. *out = make([]StorageClass, len(*in))
  290. for i := range *in {
  291. (*in)[i].DeepCopyInto(&(*out)[i])
  292. }
  293. }
  294. return
  295. }
  296. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassList.
  297. func (in *StorageClassList) DeepCopy() *StorageClassList {
  298. if in == nil {
  299. return nil
  300. }
  301. out := new(StorageClassList)
  302. in.DeepCopyInto(out)
  303. return out
  304. }
  305. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  306. func (in *StorageClassList) DeepCopyObject() runtime.Object {
  307. if c := in.DeepCopy(); c != nil {
  308. return c
  309. }
  310. return nil
  311. }
  312. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  313. func (in *TokenRequest) DeepCopyInto(out *TokenRequest) {
  314. *out = *in
  315. if in.ExpirationSeconds != nil {
  316. in, out := &in.ExpirationSeconds, &out.ExpirationSeconds
  317. *out = new(int64)
  318. **out = **in
  319. }
  320. return
  321. }
  322. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequest.
  323. func (in *TokenRequest) DeepCopy() *TokenRequest {
  324. if in == nil {
  325. return nil
  326. }
  327. out := new(TokenRequest)
  328. in.DeepCopyInto(out)
  329. return out
  330. }
  331. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  332. func (in *VolumeAttachment) DeepCopyInto(out *VolumeAttachment) {
  333. *out = *in
  334. out.TypeMeta = in.TypeMeta
  335. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  336. in.Spec.DeepCopyInto(&out.Spec)
  337. in.Status.DeepCopyInto(&out.Status)
  338. return
  339. }
  340. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachment.
  341. func (in *VolumeAttachment) DeepCopy() *VolumeAttachment {
  342. if in == nil {
  343. return nil
  344. }
  345. out := new(VolumeAttachment)
  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 *VolumeAttachment) 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 *VolumeAttachmentList) DeepCopyInto(out *VolumeAttachmentList) {
  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([]VolumeAttachment, 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 VolumeAttachmentList.
  371. func (in *VolumeAttachmentList) DeepCopy() *VolumeAttachmentList {
  372. if in == nil {
  373. return nil
  374. }
  375. out := new(VolumeAttachmentList)
  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 *VolumeAttachmentList) 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 *VolumeAttachmentSource) DeepCopyInto(out *VolumeAttachmentSource) {
  388. *out = *in
  389. if in.PersistentVolumeName != nil {
  390. in, out := &in.PersistentVolumeName, &out.PersistentVolumeName
  391. *out = new(string)
  392. **out = **in
  393. }
  394. if in.InlineVolumeSpec != nil {
  395. in, out := &in.InlineVolumeSpec, &out.InlineVolumeSpec
  396. *out = new(corev1.PersistentVolumeSpec)
  397. (*in).DeepCopyInto(*out)
  398. }
  399. return
  400. }
  401. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSource.
  402. func (in *VolumeAttachmentSource) DeepCopy() *VolumeAttachmentSource {
  403. if in == nil {
  404. return nil
  405. }
  406. out := new(VolumeAttachmentSource)
  407. in.DeepCopyInto(out)
  408. return out
  409. }
  410. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  411. func (in *VolumeAttachmentSpec) DeepCopyInto(out *VolumeAttachmentSpec) {
  412. *out = *in
  413. in.Source.DeepCopyInto(&out.Source)
  414. return
  415. }
  416. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSpec.
  417. func (in *VolumeAttachmentSpec) DeepCopy() *VolumeAttachmentSpec {
  418. if in == nil {
  419. return nil
  420. }
  421. out := new(VolumeAttachmentSpec)
  422. in.DeepCopyInto(out)
  423. return out
  424. }
  425. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  426. func (in *VolumeAttachmentStatus) DeepCopyInto(out *VolumeAttachmentStatus) {
  427. *out = *in
  428. if in.AttachmentMetadata != nil {
  429. in, out := &in.AttachmentMetadata, &out.AttachmentMetadata
  430. *out = make(map[string]string, len(*in))
  431. for key, val := range *in {
  432. (*out)[key] = val
  433. }
  434. }
  435. if in.AttachError != nil {
  436. in, out := &in.AttachError, &out.AttachError
  437. *out = new(VolumeError)
  438. (*in).DeepCopyInto(*out)
  439. }
  440. if in.DetachError != nil {
  441. in, out := &in.DetachError, &out.DetachError
  442. *out = new(VolumeError)
  443. (*in).DeepCopyInto(*out)
  444. }
  445. return
  446. }
  447. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentStatus.
  448. func (in *VolumeAttachmentStatus) DeepCopy() *VolumeAttachmentStatus {
  449. if in == nil {
  450. return nil
  451. }
  452. out := new(VolumeAttachmentStatus)
  453. in.DeepCopyInto(out)
  454. return out
  455. }
  456. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  457. func (in *VolumeError) DeepCopyInto(out *VolumeError) {
  458. *out = *in
  459. in.Time.DeepCopyInto(&out.Time)
  460. return
  461. }
  462. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeError.
  463. func (in *VolumeError) DeepCopy() *VolumeError {
  464. if in == nil {
  465. return nil
  466. }
  467. out := new(VolumeError)
  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 *VolumeNodeResources) DeepCopyInto(out *VolumeNodeResources) {
  473. *out = *in
  474. if in.Count != nil {
  475. in, out := &in.Count, &out.Count
  476. *out = new(int32)
  477. **out = **in
  478. }
  479. return
  480. }
  481. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeNodeResources.
  482. func (in *VolumeNodeResources) DeepCopy() *VolumeNodeResources {
  483. if in == nil {
  484. return nil
  485. }
  486. out := new(VolumeNodeResources)
  487. in.DeepCopyInto(out)
  488. return out
  489. }