zz_generated.deepcopy.go 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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 *ServerStorageVersion) DeepCopyInto(out *ServerStorageVersion) {
  21. *out = *in
  22. if in.DecodableVersions != nil {
  23. in, out := &in.DecodableVersions, &out.DecodableVersions
  24. *out = make([]string, len(*in))
  25. copy(*out, *in)
  26. }
  27. return
  28. }
  29. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerStorageVersion.
  30. func (in *ServerStorageVersion) DeepCopy() *ServerStorageVersion {
  31. if in == nil {
  32. return nil
  33. }
  34. out := new(ServerStorageVersion)
  35. in.DeepCopyInto(out)
  36. return out
  37. }
  38. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  39. func (in *StorageVersion) DeepCopyInto(out *StorageVersion) {
  40. *out = *in
  41. out.TypeMeta = in.TypeMeta
  42. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  43. out.Spec = in.Spec
  44. in.Status.DeepCopyInto(&out.Status)
  45. return
  46. }
  47. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageVersion.
  48. func (in *StorageVersion) DeepCopy() *StorageVersion {
  49. if in == nil {
  50. return nil
  51. }
  52. out := new(StorageVersion)
  53. in.DeepCopyInto(out)
  54. return out
  55. }
  56. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  57. func (in *StorageVersion) DeepCopyObject() runtime.Object {
  58. if c := in.DeepCopy(); c != nil {
  59. return c
  60. }
  61. return nil
  62. }
  63. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  64. func (in *StorageVersionCondition) DeepCopyInto(out *StorageVersionCondition) {
  65. *out = *in
  66. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  67. return
  68. }
  69. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageVersionCondition.
  70. func (in *StorageVersionCondition) DeepCopy() *StorageVersionCondition {
  71. if in == nil {
  72. return nil
  73. }
  74. out := new(StorageVersionCondition)
  75. in.DeepCopyInto(out)
  76. return out
  77. }
  78. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  79. func (in *StorageVersionList) DeepCopyInto(out *StorageVersionList) {
  80. *out = *in
  81. out.TypeMeta = in.TypeMeta
  82. in.ListMeta.DeepCopyInto(&out.ListMeta)
  83. if in.Items != nil {
  84. in, out := &in.Items, &out.Items
  85. *out = make([]StorageVersion, len(*in))
  86. for i := range *in {
  87. (*in)[i].DeepCopyInto(&(*out)[i])
  88. }
  89. }
  90. return
  91. }
  92. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageVersionList.
  93. func (in *StorageVersionList) DeepCopy() *StorageVersionList {
  94. if in == nil {
  95. return nil
  96. }
  97. out := new(StorageVersionList)
  98. in.DeepCopyInto(out)
  99. return out
  100. }
  101. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  102. func (in *StorageVersionList) DeepCopyObject() runtime.Object {
  103. if c := in.DeepCopy(); c != nil {
  104. return c
  105. }
  106. return nil
  107. }
  108. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  109. func (in *StorageVersionSpec) DeepCopyInto(out *StorageVersionSpec) {
  110. *out = *in
  111. return
  112. }
  113. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageVersionSpec.
  114. func (in *StorageVersionSpec) DeepCopy() *StorageVersionSpec {
  115. if in == nil {
  116. return nil
  117. }
  118. out := new(StorageVersionSpec)
  119. in.DeepCopyInto(out)
  120. return out
  121. }
  122. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  123. func (in *StorageVersionStatus) DeepCopyInto(out *StorageVersionStatus) {
  124. *out = *in
  125. if in.StorageVersions != nil {
  126. in, out := &in.StorageVersions, &out.StorageVersions
  127. *out = make([]ServerStorageVersion, len(*in))
  128. for i := range *in {
  129. (*in)[i].DeepCopyInto(&(*out)[i])
  130. }
  131. }
  132. if in.CommonEncodingVersion != nil {
  133. in, out := &in.CommonEncodingVersion, &out.CommonEncodingVersion
  134. *out = new(string)
  135. **out = **in
  136. }
  137. if in.Conditions != nil {
  138. in, out := &in.Conditions, &out.Conditions
  139. *out = make([]StorageVersionCondition, len(*in))
  140. for i := range *in {
  141. (*in)[i].DeepCopyInto(&(*out)[i])
  142. }
  143. }
  144. return
  145. }
  146. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageVersionStatus.
  147. func (in *StorageVersionStatus) DeepCopy() *StorageVersionStatus {
  148. if in == nil {
  149. return nil
  150. }
  151. out := new(StorageVersionStatus)
  152. in.DeepCopyInto(out)
  153. return out
  154. }