zz_generated.deepcopy.go 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  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 v1alpha1
  17. import (
  18. corev1 "k8s.io/api/core/v1"
  19. v1 "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 *CSIStorageCapacity) DeepCopyInto(out *CSIStorageCapacity) {
  24. *out = *in
  25. out.TypeMeta = in.TypeMeta
  26. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  27. if in.NodeTopology != nil {
  28. in, out := &in.NodeTopology, &out.NodeTopology
  29. *out = new(v1.LabelSelector)
  30. (*in).DeepCopyInto(*out)
  31. }
  32. if in.Capacity != nil {
  33. in, out := &in.Capacity, &out.Capacity
  34. x := (*in).DeepCopy()
  35. *out = &x
  36. }
  37. if in.MaximumVolumeSize != nil {
  38. in, out := &in.MaximumVolumeSize, &out.MaximumVolumeSize
  39. x := (*in).DeepCopy()
  40. *out = &x
  41. }
  42. return
  43. }
  44. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIStorageCapacity.
  45. func (in *CSIStorageCapacity) DeepCopy() *CSIStorageCapacity {
  46. if in == nil {
  47. return nil
  48. }
  49. out := new(CSIStorageCapacity)
  50. in.DeepCopyInto(out)
  51. return out
  52. }
  53. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  54. func (in *CSIStorageCapacity) DeepCopyObject() runtime.Object {
  55. if c := in.DeepCopy(); c != nil {
  56. return c
  57. }
  58. return nil
  59. }
  60. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  61. func (in *CSIStorageCapacityList) DeepCopyInto(out *CSIStorageCapacityList) {
  62. *out = *in
  63. out.TypeMeta = in.TypeMeta
  64. in.ListMeta.DeepCopyInto(&out.ListMeta)
  65. if in.Items != nil {
  66. in, out := &in.Items, &out.Items
  67. *out = make([]CSIStorageCapacity, len(*in))
  68. for i := range *in {
  69. (*in)[i].DeepCopyInto(&(*out)[i])
  70. }
  71. }
  72. return
  73. }
  74. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIStorageCapacityList.
  75. func (in *CSIStorageCapacityList) DeepCopy() *CSIStorageCapacityList {
  76. if in == nil {
  77. return nil
  78. }
  79. out := new(CSIStorageCapacityList)
  80. in.DeepCopyInto(out)
  81. return out
  82. }
  83. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  84. func (in *CSIStorageCapacityList) DeepCopyObject() runtime.Object {
  85. if c := in.DeepCopy(); c != nil {
  86. return c
  87. }
  88. return nil
  89. }
  90. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  91. func (in *VolumeAttachment) DeepCopyInto(out *VolumeAttachment) {
  92. *out = *in
  93. out.TypeMeta = in.TypeMeta
  94. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  95. in.Spec.DeepCopyInto(&out.Spec)
  96. in.Status.DeepCopyInto(&out.Status)
  97. return
  98. }
  99. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachment.
  100. func (in *VolumeAttachment) DeepCopy() *VolumeAttachment {
  101. if in == nil {
  102. return nil
  103. }
  104. out := new(VolumeAttachment)
  105. in.DeepCopyInto(out)
  106. return out
  107. }
  108. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  109. func (in *VolumeAttachment) DeepCopyObject() runtime.Object {
  110. if c := in.DeepCopy(); c != nil {
  111. return c
  112. }
  113. return nil
  114. }
  115. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  116. func (in *VolumeAttachmentList) DeepCopyInto(out *VolumeAttachmentList) {
  117. *out = *in
  118. out.TypeMeta = in.TypeMeta
  119. in.ListMeta.DeepCopyInto(&out.ListMeta)
  120. if in.Items != nil {
  121. in, out := &in.Items, &out.Items
  122. *out = make([]VolumeAttachment, len(*in))
  123. for i := range *in {
  124. (*in)[i].DeepCopyInto(&(*out)[i])
  125. }
  126. }
  127. return
  128. }
  129. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentList.
  130. func (in *VolumeAttachmentList) DeepCopy() *VolumeAttachmentList {
  131. if in == nil {
  132. return nil
  133. }
  134. out := new(VolumeAttachmentList)
  135. in.DeepCopyInto(out)
  136. return out
  137. }
  138. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  139. func (in *VolumeAttachmentList) DeepCopyObject() runtime.Object {
  140. if c := in.DeepCopy(); c != nil {
  141. return c
  142. }
  143. return nil
  144. }
  145. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  146. func (in *VolumeAttachmentSource) DeepCopyInto(out *VolumeAttachmentSource) {
  147. *out = *in
  148. if in.PersistentVolumeName != nil {
  149. in, out := &in.PersistentVolumeName, &out.PersistentVolumeName
  150. *out = new(string)
  151. **out = **in
  152. }
  153. if in.InlineVolumeSpec != nil {
  154. in, out := &in.InlineVolumeSpec, &out.InlineVolumeSpec
  155. *out = new(corev1.PersistentVolumeSpec)
  156. (*in).DeepCopyInto(*out)
  157. }
  158. return
  159. }
  160. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSource.
  161. func (in *VolumeAttachmentSource) DeepCopy() *VolumeAttachmentSource {
  162. if in == nil {
  163. return nil
  164. }
  165. out := new(VolumeAttachmentSource)
  166. in.DeepCopyInto(out)
  167. return out
  168. }
  169. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  170. func (in *VolumeAttachmentSpec) DeepCopyInto(out *VolumeAttachmentSpec) {
  171. *out = *in
  172. in.Source.DeepCopyInto(&out.Source)
  173. return
  174. }
  175. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSpec.
  176. func (in *VolumeAttachmentSpec) DeepCopy() *VolumeAttachmentSpec {
  177. if in == nil {
  178. return nil
  179. }
  180. out := new(VolumeAttachmentSpec)
  181. in.DeepCopyInto(out)
  182. return out
  183. }
  184. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  185. func (in *VolumeAttachmentStatus) DeepCopyInto(out *VolumeAttachmentStatus) {
  186. *out = *in
  187. if in.AttachmentMetadata != nil {
  188. in, out := &in.AttachmentMetadata, &out.AttachmentMetadata
  189. *out = make(map[string]string, len(*in))
  190. for key, val := range *in {
  191. (*out)[key] = val
  192. }
  193. }
  194. if in.AttachError != nil {
  195. in, out := &in.AttachError, &out.AttachError
  196. *out = new(VolumeError)
  197. (*in).DeepCopyInto(*out)
  198. }
  199. if in.DetachError != nil {
  200. in, out := &in.DetachError, &out.DetachError
  201. *out = new(VolumeError)
  202. (*in).DeepCopyInto(*out)
  203. }
  204. return
  205. }
  206. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentStatus.
  207. func (in *VolumeAttachmentStatus) DeepCopy() *VolumeAttachmentStatus {
  208. if in == nil {
  209. return nil
  210. }
  211. out := new(VolumeAttachmentStatus)
  212. in.DeepCopyInto(out)
  213. return out
  214. }
  215. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  216. func (in *VolumeError) DeepCopyInto(out *VolumeError) {
  217. *out = *in
  218. in.Time.DeepCopyInto(&out.Time)
  219. return
  220. }
  221. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeError.
  222. func (in *VolumeError) DeepCopy() *VolumeError {
  223. if in == nil {
  224. return nil
  225. }
  226. out := new(VolumeError)
  227. in.DeepCopyInto(out)
  228. return out
  229. }