zz_generated.deepcopy.go 5.1 KB

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