zz_generated.deepcopy.go 7.4 KB

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