zz_generated.deepcopy.go 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537
  1. // +build !ignore_autogenerated
  2. /*
  3. Copyright The Kubernetes Authors.
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. */
  14. // Code generated by deepcopy-gen. DO NOT EDIT.
  15. package v1
  16. import (
  17. corev1 "k8s.io/api/core/v1"
  18. runtime "k8s.io/apimachinery/pkg/runtime"
  19. )
  20. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  21. func (in *CSIDriver) DeepCopyInto(out *CSIDriver) {
  22. *out = *in
  23. out.TypeMeta = in.TypeMeta
  24. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  25. in.Spec.DeepCopyInto(&out.Spec)
  26. return
  27. }
  28. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriver.
  29. func (in *CSIDriver) DeepCopy() *CSIDriver {
  30. if in == nil {
  31. return nil
  32. }
  33. out := new(CSIDriver)
  34. in.DeepCopyInto(out)
  35. return out
  36. }
  37. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  38. func (in *CSIDriver) DeepCopyObject() runtime.Object {
  39. if c := in.DeepCopy(); c != nil {
  40. return c
  41. }
  42. return nil
  43. }
  44. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  45. func (in *CSIDriverList) DeepCopyInto(out *CSIDriverList) {
  46. *out = *in
  47. out.TypeMeta = in.TypeMeta
  48. in.ListMeta.DeepCopyInto(&out.ListMeta)
  49. if in.Items != nil {
  50. in, out := &in.Items, &out.Items
  51. *out = make([]CSIDriver, len(*in))
  52. for i := range *in {
  53. (*in)[i].DeepCopyInto(&(*out)[i])
  54. }
  55. }
  56. return
  57. }
  58. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriverList.
  59. func (in *CSIDriverList) DeepCopy() *CSIDriverList {
  60. if in == nil {
  61. return nil
  62. }
  63. out := new(CSIDriverList)
  64. in.DeepCopyInto(out)
  65. return out
  66. }
  67. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  68. func (in *CSIDriverList) DeepCopyObject() runtime.Object {
  69. if c := in.DeepCopy(); c != nil {
  70. return c
  71. }
  72. return nil
  73. }
  74. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  75. func (in *CSIDriverSpec) DeepCopyInto(out *CSIDriverSpec) {
  76. *out = *in
  77. if in.AttachRequired != nil {
  78. in, out := &in.AttachRequired, &out.AttachRequired
  79. *out = new(bool)
  80. **out = **in
  81. }
  82. if in.PodInfoOnMount != nil {
  83. in, out := &in.PodInfoOnMount, &out.PodInfoOnMount
  84. *out = new(bool)
  85. **out = **in
  86. }
  87. if in.VolumeLifecycleModes != nil {
  88. in, out := &in.VolumeLifecycleModes, &out.VolumeLifecycleModes
  89. *out = make([]VolumeLifecycleMode, len(*in))
  90. copy(*out, *in)
  91. }
  92. if in.StorageCapacity != nil {
  93. in, out := &in.StorageCapacity, &out.StorageCapacity
  94. *out = new(bool)
  95. **out = **in
  96. }
  97. if in.FSGroupPolicy != nil {
  98. in, out := &in.FSGroupPolicy, &out.FSGroupPolicy
  99. *out = new(FSGroupPolicy)
  100. **out = **in
  101. }
  102. if in.TokenRequests != nil {
  103. in, out := &in.TokenRequests, &out.TokenRequests
  104. *out = make([]TokenRequest, len(*in))
  105. for i := range *in {
  106. (*in)[i].DeepCopyInto(&(*out)[i])
  107. }
  108. }
  109. if in.RequiresRepublish != nil {
  110. in, out := &in.RequiresRepublish, &out.RequiresRepublish
  111. *out = new(bool)
  112. **out = **in
  113. }
  114. return
  115. }
  116. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriverSpec.
  117. func (in *CSIDriverSpec) DeepCopy() *CSIDriverSpec {
  118. if in == nil {
  119. return nil
  120. }
  121. out := new(CSIDriverSpec)
  122. in.DeepCopyInto(out)
  123. return out
  124. }
  125. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  126. func (in *CSINode) DeepCopyInto(out *CSINode) {
  127. *out = *in
  128. out.TypeMeta = in.TypeMeta
  129. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  130. in.Spec.DeepCopyInto(&out.Spec)
  131. return
  132. }
  133. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINode.
  134. func (in *CSINode) DeepCopy() *CSINode {
  135. if in == nil {
  136. return nil
  137. }
  138. out := new(CSINode)
  139. in.DeepCopyInto(out)
  140. return out
  141. }
  142. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  143. func (in *CSINode) DeepCopyObject() runtime.Object {
  144. if c := in.DeepCopy(); c != nil {
  145. return c
  146. }
  147. return nil
  148. }
  149. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  150. func (in *CSINodeDriver) DeepCopyInto(out *CSINodeDriver) {
  151. *out = *in
  152. if in.TopologyKeys != nil {
  153. in, out := &in.TopologyKeys, &out.TopologyKeys
  154. *out = make([]string, len(*in))
  155. copy(*out, *in)
  156. }
  157. if in.Allocatable != nil {
  158. in, out := &in.Allocatable, &out.Allocatable
  159. *out = new(VolumeNodeResources)
  160. (*in).DeepCopyInto(*out)
  161. }
  162. return
  163. }
  164. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeDriver.
  165. func (in *CSINodeDriver) DeepCopy() *CSINodeDriver {
  166. if in == nil {
  167. return nil
  168. }
  169. out := new(CSINodeDriver)
  170. in.DeepCopyInto(out)
  171. return out
  172. }
  173. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  174. func (in *CSINodeList) DeepCopyInto(out *CSINodeList) {
  175. *out = *in
  176. out.TypeMeta = in.TypeMeta
  177. in.ListMeta.DeepCopyInto(&out.ListMeta)
  178. if in.Items != nil {
  179. in, out := &in.Items, &out.Items
  180. *out = make([]CSINode, len(*in))
  181. for i := range *in {
  182. (*in)[i].DeepCopyInto(&(*out)[i])
  183. }
  184. }
  185. return
  186. }
  187. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeList.
  188. func (in *CSINodeList) DeepCopy() *CSINodeList {
  189. if in == nil {
  190. return nil
  191. }
  192. out := new(CSINodeList)
  193. in.DeepCopyInto(out)
  194. return out
  195. }
  196. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  197. func (in *CSINodeList) DeepCopyObject() runtime.Object {
  198. if c := in.DeepCopy(); c != nil {
  199. return c
  200. }
  201. return nil
  202. }
  203. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  204. func (in *CSINodeSpec) DeepCopyInto(out *CSINodeSpec) {
  205. *out = *in
  206. if in.Drivers != nil {
  207. in, out := &in.Drivers, &out.Drivers
  208. *out = make([]CSINodeDriver, len(*in))
  209. for i := range *in {
  210. (*in)[i].DeepCopyInto(&(*out)[i])
  211. }
  212. }
  213. return
  214. }
  215. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeSpec.
  216. func (in *CSINodeSpec) DeepCopy() *CSINodeSpec {
  217. if in == nil {
  218. return nil
  219. }
  220. out := new(CSINodeSpec)
  221. in.DeepCopyInto(out)
  222. return out
  223. }
  224. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  225. func (in *StorageClass) DeepCopyInto(out *StorageClass) {
  226. *out = *in
  227. out.TypeMeta = in.TypeMeta
  228. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  229. if in.Parameters != nil {
  230. in, out := &in.Parameters, &out.Parameters
  231. *out = make(map[string]string, len(*in))
  232. for key, val := range *in {
  233. (*out)[key] = val
  234. }
  235. }
  236. if in.ReclaimPolicy != nil {
  237. in, out := &in.ReclaimPolicy, &out.ReclaimPolicy
  238. *out = new(corev1.PersistentVolumeReclaimPolicy)
  239. **out = **in
  240. }
  241. if in.MountOptions != nil {
  242. in, out := &in.MountOptions, &out.MountOptions
  243. *out = make([]string, len(*in))
  244. copy(*out, *in)
  245. }
  246. if in.AllowVolumeExpansion != nil {
  247. in, out := &in.AllowVolumeExpansion, &out.AllowVolumeExpansion
  248. *out = new(bool)
  249. **out = **in
  250. }
  251. if in.VolumeBindingMode != nil {
  252. in, out := &in.VolumeBindingMode, &out.VolumeBindingMode
  253. *out = new(VolumeBindingMode)
  254. **out = **in
  255. }
  256. if in.AllowedTopologies != nil {
  257. in, out := &in.AllowedTopologies, &out.AllowedTopologies
  258. *out = make([]corev1.TopologySelectorTerm, len(*in))
  259. for i := range *in {
  260. (*in)[i].DeepCopyInto(&(*out)[i])
  261. }
  262. }
  263. return
  264. }
  265. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClass.
  266. func (in *StorageClass) DeepCopy() *StorageClass {
  267. if in == nil {
  268. return nil
  269. }
  270. out := new(StorageClass)
  271. in.DeepCopyInto(out)
  272. return out
  273. }
  274. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  275. func (in *StorageClass) DeepCopyObject() runtime.Object {
  276. if c := in.DeepCopy(); c != nil {
  277. return c
  278. }
  279. return nil
  280. }
  281. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  282. func (in *StorageClassList) DeepCopyInto(out *StorageClassList) {
  283. *out = *in
  284. out.TypeMeta = in.TypeMeta
  285. in.ListMeta.DeepCopyInto(&out.ListMeta)
  286. if in.Items != nil {
  287. in, out := &in.Items, &out.Items
  288. *out = make([]StorageClass, len(*in))
  289. for i := range *in {
  290. (*in)[i].DeepCopyInto(&(*out)[i])
  291. }
  292. }
  293. return
  294. }
  295. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassList.
  296. func (in *StorageClassList) DeepCopy() *StorageClassList {
  297. if in == nil {
  298. return nil
  299. }
  300. out := new(StorageClassList)
  301. in.DeepCopyInto(out)
  302. return out
  303. }
  304. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  305. func (in *StorageClassList) DeepCopyObject() runtime.Object {
  306. if c := in.DeepCopy(); c != nil {
  307. return c
  308. }
  309. return nil
  310. }
  311. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  312. func (in *TokenRequest) DeepCopyInto(out *TokenRequest) {
  313. *out = *in
  314. if in.ExpirationSeconds != nil {
  315. in, out := &in.ExpirationSeconds, &out.ExpirationSeconds
  316. *out = new(int64)
  317. **out = **in
  318. }
  319. return
  320. }
  321. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequest.
  322. func (in *TokenRequest) DeepCopy() *TokenRequest {
  323. if in == nil {
  324. return nil
  325. }
  326. out := new(TokenRequest)
  327. in.DeepCopyInto(out)
  328. return out
  329. }
  330. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  331. func (in *VolumeAttachment) DeepCopyInto(out *VolumeAttachment) {
  332. *out = *in
  333. out.TypeMeta = in.TypeMeta
  334. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  335. in.Spec.DeepCopyInto(&out.Spec)
  336. in.Status.DeepCopyInto(&out.Status)
  337. return
  338. }
  339. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachment.
  340. func (in *VolumeAttachment) DeepCopy() *VolumeAttachment {
  341. if in == nil {
  342. return nil
  343. }
  344. out := new(VolumeAttachment)
  345. in.DeepCopyInto(out)
  346. return out
  347. }
  348. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  349. func (in *VolumeAttachment) DeepCopyObject() runtime.Object {
  350. if c := in.DeepCopy(); c != nil {
  351. return c
  352. }
  353. return nil
  354. }
  355. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  356. func (in *VolumeAttachmentList) DeepCopyInto(out *VolumeAttachmentList) {
  357. *out = *in
  358. out.TypeMeta = in.TypeMeta
  359. in.ListMeta.DeepCopyInto(&out.ListMeta)
  360. if in.Items != nil {
  361. in, out := &in.Items, &out.Items
  362. *out = make([]VolumeAttachment, len(*in))
  363. for i := range *in {
  364. (*in)[i].DeepCopyInto(&(*out)[i])
  365. }
  366. }
  367. return
  368. }
  369. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentList.
  370. func (in *VolumeAttachmentList) DeepCopy() *VolumeAttachmentList {
  371. if in == nil {
  372. return nil
  373. }
  374. out := new(VolumeAttachmentList)
  375. in.DeepCopyInto(out)
  376. return out
  377. }
  378. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  379. func (in *VolumeAttachmentList) DeepCopyObject() runtime.Object {
  380. if c := in.DeepCopy(); c != nil {
  381. return c
  382. }
  383. return nil
  384. }
  385. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  386. func (in *VolumeAttachmentSource) DeepCopyInto(out *VolumeAttachmentSource) {
  387. *out = *in
  388. if in.PersistentVolumeName != nil {
  389. in, out := &in.PersistentVolumeName, &out.PersistentVolumeName
  390. *out = new(string)
  391. **out = **in
  392. }
  393. if in.InlineVolumeSpec != nil {
  394. in, out := &in.InlineVolumeSpec, &out.InlineVolumeSpec
  395. *out = new(corev1.PersistentVolumeSpec)
  396. (*in).DeepCopyInto(*out)
  397. }
  398. return
  399. }
  400. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSource.
  401. func (in *VolumeAttachmentSource) DeepCopy() *VolumeAttachmentSource {
  402. if in == nil {
  403. return nil
  404. }
  405. out := new(VolumeAttachmentSource)
  406. in.DeepCopyInto(out)
  407. return out
  408. }
  409. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  410. func (in *VolumeAttachmentSpec) DeepCopyInto(out *VolumeAttachmentSpec) {
  411. *out = *in
  412. in.Source.DeepCopyInto(&out.Source)
  413. return
  414. }
  415. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSpec.
  416. func (in *VolumeAttachmentSpec) DeepCopy() *VolumeAttachmentSpec {
  417. if in == nil {
  418. return nil
  419. }
  420. out := new(VolumeAttachmentSpec)
  421. in.DeepCopyInto(out)
  422. return out
  423. }
  424. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  425. func (in *VolumeAttachmentStatus) DeepCopyInto(out *VolumeAttachmentStatus) {
  426. *out = *in
  427. if in.AttachmentMetadata != nil {
  428. in, out := &in.AttachmentMetadata, &out.AttachmentMetadata
  429. *out = make(map[string]string, len(*in))
  430. for key, val := range *in {
  431. (*out)[key] = val
  432. }
  433. }
  434. if in.AttachError != nil {
  435. in, out := &in.AttachError, &out.AttachError
  436. *out = new(VolumeError)
  437. (*in).DeepCopyInto(*out)
  438. }
  439. if in.DetachError != nil {
  440. in, out := &in.DetachError, &out.DetachError
  441. *out = new(VolumeError)
  442. (*in).DeepCopyInto(*out)
  443. }
  444. return
  445. }
  446. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentStatus.
  447. func (in *VolumeAttachmentStatus) DeepCopy() *VolumeAttachmentStatus {
  448. if in == nil {
  449. return nil
  450. }
  451. out := new(VolumeAttachmentStatus)
  452. in.DeepCopyInto(out)
  453. return out
  454. }
  455. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  456. func (in *VolumeError) DeepCopyInto(out *VolumeError) {
  457. *out = *in
  458. in.Time.DeepCopyInto(&out.Time)
  459. return
  460. }
  461. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeError.
  462. func (in *VolumeError) DeepCopy() *VolumeError {
  463. if in == nil {
  464. return nil
  465. }
  466. out := new(VolumeError)
  467. in.DeepCopyInto(out)
  468. return out
  469. }
  470. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  471. func (in *VolumeNodeResources) DeepCopyInto(out *VolumeNodeResources) {
  472. *out = *in
  473. if in.Count != nil {
  474. in, out := &in.Count, &out.Count
  475. *out = new(int32)
  476. **out = **in
  477. }
  478. return
  479. }
  480. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeNodeResources.
  481. func (in *VolumeNodeResources) DeepCopy() *VolumeNodeResources {
  482. if in == nil {
  483. return nil
  484. }
  485. out := new(VolumeNodeResources)
  486. in.DeepCopyInto(out)
  487. return out
  488. }