zz_generated.deepcopy.go 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464
  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 storage
  16. import (
  17. runtime "k8s.io/apimachinery/pkg/runtime"
  18. core "k8s.io/kubernetes/pkg/apis/core"
  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. return
  88. }
  89. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriverSpec.
  90. func (in *CSIDriverSpec) DeepCopy() *CSIDriverSpec {
  91. if in == nil {
  92. return nil
  93. }
  94. out := new(CSIDriverSpec)
  95. in.DeepCopyInto(out)
  96. return out
  97. }
  98. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  99. func (in *CSINode) DeepCopyInto(out *CSINode) {
  100. *out = *in
  101. out.TypeMeta = in.TypeMeta
  102. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  103. in.Spec.DeepCopyInto(&out.Spec)
  104. return
  105. }
  106. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINode.
  107. func (in *CSINode) DeepCopy() *CSINode {
  108. if in == nil {
  109. return nil
  110. }
  111. out := new(CSINode)
  112. in.DeepCopyInto(out)
  113. return out
  114. }
  115. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  116. func (in *CSINode) DeepCopyObject() runtime.Object {
  117. if c := in.DeepCopy(); c != nil {
  118. return c
  119. }
  120. return nil
  121. }
  122. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  123. func (in *CSINodeDriver) DeepCopyInto(out *CSINodeDriver) {
  124. *out = *in
  125. if in.TopologyKeys != nil {
  126. in, out := &in.TopologyKeys, &out.TopologyKeys
  127. *out = make([]string, len(*in))
  128. copy(*out, *in)
  129. }
  130. return
  131. }
  132. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeDriver.
  133. func (in *CSINodeDriver) DeepCopy() *CSINodeDriver {
  134. if in == nil {
  135. return nil
  136. }
  137. out := new(CSINodeDriver)
  138. in.DeepCopyInto(out)
  139. return out
  140. }
  141. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  142. func (in *CSINodeList) DeepCopyInto(out *CSINodeList) {
  143. *out = *in
  144. out.TypeMeta = in.TypeMeta
  145. in.ListMeta.DeepCopyInto(&out.ListMeta)
  146. if in.Items != nil {
  147. in, out := &in.Items, &out.Items
  148. *out = make([]CSINode, len(*in))
  149. for i := range *in {
  150. (*in)[i].DeepCopyInto(&(*out)[i])
  151. }
  152. }
  153. return
  154. }
  155. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeList.
  156. func (in *CSINodeList) DeepCopy() *CSINodeList {
  157. if in == nil {
  158. return nil
  159. }
  160. out := new(CSINodeList)
  161. in.DeepCopyInto(out)
  162. return out
  163. }
  164. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  165. func (in *CSINodeList) DeepCopyObject() runtime.Object {
  166. if c := in.DeepCopy(); c != nil {
  167. return c
  168. }
  169. return nil
  170. }
  171. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  172. func (in *CSINodeSpec) DeepCopyInto(out *CSINodeSpec) {
  173. *out = *in
  174. if in.Drivers != nil {
  175. in, out := &in.Drivers, &out.Drivers
  176. *out = make([]CSINodeDriver, len(*in))
  177. for i := range *in {
  178. (*in)[i].DeepCopyInto(&(*out)[i])
  179. }
  180. }
  181. return
  182. }
  183. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeSpec.
  184. func (in *CSINodeSpec) DeepCopy() *CSINodeSpec {
  185. if in == nil {
  186. return nil
  187. }
  188. out := new(CSINodeSpec)
  189. in.DeepCopyInto(out)
  190. return out
  191. }
  192. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  193. func (in *StorageClass) DeepCopyInto(out *StorageClass) {
  194. *out = *in
  195. out.TypeMeta = in.TypeMeta
  196. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  197. if in.Parameters != nil {
  198. in, out := &in.Parameters, &out.Parameters
  199. *out = make(map[string]string, len(*in))
  200. for key, val := range *in {
  201. (*out)[key] = val
  202. }
  203. }
  204. if in.ReclaimPolicy != nil {
  205. in, out := &in.ReclaimPolicy, &out.ReclaimPolicy
  206. *out = new(core.PersistentVolumeReclaimPolicy)
  207. **out = **in
  208. }
  209. if in.MountOptions != nil {
  210. in, out := &in.MountOptions, &out.MountOptions
  211. *out = make([]string, len(*in))
  212. copy(*out, *in)
  213. }
  214. if in.AllowVolumeExpansion != nil {
  215. in, out := &in.AllowVolumeExpansion, &out.AllowVolumeExpansion
  216. *out = new(bool)
  217. **out = **in
  218. }
  219. if in.VolumeBindingMode != nil {
  220. in, out := &in.VolumeBindingMode, &out.VolumeBindingMode
  221. *out = new(VolumeBindingMode)
  222. **out = **in
  223. }
  224. if in.AllowedTopologies != nil {
  225. in, out := &in.AllowedTopologies, &out.AllowedTopologies
  226. *out = make([]core.TopologySelectorTerm, len(*in))
  227. for i := range *in {
  228. (*in)[i].DeepCopyInto(&(*out)[i])
  229. }
  230. }
  231. return
  232. }
  233. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClass.
  234. func (in *StorageClass) DeepCopy() *StorageClass {
  235. if in == nil {
  236. return nil
  237. }
  238. out := new(StorageClass)
  239. in.DeepCopyInto(out)
  240. return out
  241. }
  242. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  243. func (in *StorageClass) DeepCopyObject() runtime.Object {
  244. if c := in.DeepCopy(); c != nil {
  245. return c
  246. }
  247. return nil
  248. }
  249. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  250. func (in *StorageClassList) DeepCopyInto(out *StorageClassList) {
  251. *out = *in
  252. out.TypeMeta = in.TypeMeta
  253. in.ListMeta.DeepCopyInto(&out.ListMeta)
  254. if in.Items != nil {
  255. in, out := &in.Items, &out.Items
  256. *out = make([]StorageClass, len(*in))
  257. for i := range *in {
  258. (*in)[i].DeepCopyInto(&(*out)[i])
  259. }
  260. }
  261. return
  262. }
  263. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassList.
  264. func (in *StorageClassList) DeepCopy() *StorageClassList {
  265. if in == nil {
  266. return nil
  267. }
  268. out := new(StorageClassList)
  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 *StorageClassList) 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 *VolumeAttachment) DeepCopyInto(out *VolumeAttachment) {
  281. *out = *in
  282. out.TypeMeta = in.TypeMeta
  283. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  284. in.Spec.DeepCopyInto(&out.Spec)
  285. in.Status.DeepCopyInto(&out.Status)
  286. return
  287. }
  288. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachment.
  289. func (in *VolumeAttachment) DeepCopy() *VolumeAttachment {
  290. if in == nil {
  291. return nil
  292. }
  293. out := new(VolumeAttachment)
  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 *VolumeAttachment) 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 *VolumeAttachmentList) DeepCopyInto(out *VolumeAttachmentList) {
  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([]VolumeAttachment, 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 VolumeAttachmentList.
  319. func (in *VolumeAttachmentList) DeepCopy() *VolumeAttachmentList {
  320. if in == nil {
  321. return nil
  322. }
  323. out := new(VolumeAttachmentList)
  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 *VolumeAttachmentList) 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 *VolumeAttachmentSource) DeepCopyInto(out *VolumeAttachmentSource) {
  336. *out = *in
  337. if in.PersistentVolumeName != nil {
  338. in, out := &in.PersistentVolumeName, &out.PersistentVolumeName
  339. *out = new(string)
  340. **out = **in
  341. }
  342. if in.InlineVolumeSpec != nil {
  343. in, out := &in.InlineVolumeSpec, &out.InlineVolumeSpec
  344. *out = new(core.PersistentVolumeSpec)
  345. (*in).DeepCopyInto(*out)
  346. }
  347. return
  348. }
  349. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSource.
  350. func (in *VolumeAttachmentSource) DeepCopy() *VolumeAttachmentSource {
  351. if in == nil {
  352. return nil
  353. }
  354. out := new(VolumeAttachmentSource)
  355. in.DeepCopyInto(out)
  356. return out
  357. }
  358. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  359. func (in *VolumeAttachmentSpec) DeepCopyInto(out *VolumeAttachmentSpec) {
  360. *out = *in
  361. in.Source.DeepCopyInto(&out.Source)
  362. return
  363. }
  364. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSpec.
  365. func (in *VolumeAttachmentSpec) DeepCopy() *VolumeAttachmentSpec {
  366. if in == nil {
  367. return nil
  368. }
  369. out := new(VolumeAttachmentSpec)
  370. in.DeepCopyInto(out)
  371. return out
  372. }
  373. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  374. func (in *VolumeAttachmentStatus) DeepCopyInto(out *VolumeAttachmentStatus) {
  375. *out = *in
  376. if in.AttachmentMetadata != nil {
  377. in, out := &in.AttachmentMetadata, &out.AttachmentMetadata
  378. *out = make(map[string]string, len(*in))
  379. for key, val := range *in {
  380. (*out)[key] = val
  381. }
  382. }
  383. if in.AttachError != nil {
  384. in, out := &in.AttachError, &out.AttachError
  385. *out = new(VolumeError)
  386. (*in).DeepCopyInto(*out)
  387. }
  388. if in.DetachError != nil {
  389. in, out := &in.DetachError, &out.DetachError
  390. *out = new(VolumeError)
  391. (*in).DeepCopyInto(*out)
  392. }
  393. return
  394. }
  395. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentStatus.
  396. func (in *VolumeAttachmentStatus) DeepCopy() *VolumeAttachmentStatus {
  397. if in == nil {
  398. return nil
  399. }
  400. out := new(VolumeAttachmentStatus)
  401. in.DeepCopyInto(out)
  402. return out
  403. }
  404. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  405. func (in *VolumeError) DeepCopyInto(out *VolumeError) {
  406. *out = *in
  407. in.Time.DeepCopyInto(&out.Time)
  408. return
  409. }
  410. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeError.
  411. func (in *VolumeError) DeepCopy() *VolumeError {
  412. if in == nil {
  413. return nil
  414. }
  415. out := new(VolumeError)
  416. in.DeepCopyInto(out)
  417. return out
  418. }