zz_generated.deepcopy.go 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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. runtime "k8s.io/apimachinery/pkg/runtime"
  18. )
  19. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  20. func (in *VolumeAttachment) DeepCopyInto(out *VolumeAttachment) {
  21. *out = *in
  22. out.TypeMeta = in.TypeMeta
  23. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  24. in.Spec.DeepCopyInto(&out.Spec)
  25. in.Status.DeepCopyInto(&out.Status)
  26. return
  27. }
  28. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachment.
  29. func (in *VolumeAttachment) DeepCopy() *VolumeAttachment {
  30. if in == nil {
  31. return nil
  32. }
  33. out := new(VolumeAttachment)
  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 *VolumeAttachment) 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 *VolumeAttachmentList) DeepCopyInto(out *VolumeAttachmentList) {
  46. *out = *in
  47. out.TypeMeta = in.TypeMeta
  48. out.ListMeta = in.ListMeta
  49. if in.Items != nil {
  50. in, out := &in.Items, &out.Items
  51. *out = make([]VolumeAttachment, 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 VolumeAttachmentList.
  59. func (in *VolumeAttachmentList) DeepCopy() *VolumeAttachmentList {
  60. if in == nil {
  61. return nil
  62. }
  63. out := new(VolumeAttachmentList)
  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 *VolumeAttachmentList) 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 *VolumeAttachmentSource) DeepCopyInto(out *VolumeAttachmentSource) {
  76. *out = *in
  77. if in.PersistentVolumeName != nil {
  78. in, out := &in.PersistentVolumeName, &out.PersistentVolumeName
  79. *out = new(string)
  80. **out = **in
  81. }
  82. return
  83. }
  84. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSource.
  85. func (in *VolumeAttachmentSource) DeepCopy() *VolumeAttachmentSource {
  86. if in == nil {
  87. return nil
  88. }
  89. out := new(VolumeAttachmentSource)
  90. in.DeepCopyInto(out)
  91. return out
  92. }
  93. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  94. func (in *VolumeAttachmentSpec) DeepCopyInto(out *VolumeAttachmentSpec) {
  95. *out = *in
  96. in.Source.DeepCopyInto(&out.Source)
  97. return
  98. }
  99. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSpec.
  100. func (in *VolumeAttachmentSpec) DeepCopy() *VolumeAttachmentSpec {
  101. if in == nil {
  102. return nil
  103. }
  104. out := new(VolumeAttachmentSpec)
  105. in.DeepCopyInto(out)
  106. return out
  107. }
  108. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  109. func (in *VolumeAttachmentStatus) DeepCopyInto(out *VolumeAttachmentStatus) {
  110. *out = *in
  111. if in.AttachmentMetadata != nil {
  112. in, out := &in.AttachmentMetadata, &out.AttachmentMetadata
  113. *out = make(map[string]string, len(*in))
  114. for key, val := range *in {
  115. (*out)[key] = val
  116. }
  117. }
  118. if in.AttachError != nil {
  119. in, out := &in.AttachError, &out.AttachError
  120. *out = new(VolumeError)
  121. (*in).DeepCopyInto(*out)
  122. }
  123. if in.DetachError != nil {
  124. in, out := &in.DetachError, &out.DetachError
  125. *out = new(VolumeError)
  126. (*in).DeepCopyInto(*out)
  127. }
  128. return
  129. }
  130. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentStatus.
  131. func (in *VolumeAttachmentStatus) DeepCopy() *VolumeAttachmentStatus {
  132. if in == nil {
  133. return nil
  134. }
  135. out := new(VolumeAttachmentStatus)
  136. in.DeepCopyInto(out)
  137. return out
  138. }
  139. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  140. func (in *VolumeError) DeepCopyInto(out *VolumeError) {
  141. *out = *in
  142. in.Time.DeepCopyInto(&out.Time)
  143. return
  144. }
  145. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeError.
  146. func (in *VolumeError) DeepCopy() *VolumeError {
  147. if in == nil {
  148. return nil
  149. }
  150. out := new(VolumeError)
  151. in.DeepCopyInto(out)
  152. return out
  153. }