zz_generated.deepcopy.go 7.2 KB

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