zz_generated.deepcopy.go 5.3 KB

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