zz_generated.deepcopy.go 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  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 v2beta1
  17. import (
  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 *APIGroupDiscovery) DeepCopyInto(out *APIGroupDiscovery) {
  23. *out = *in
  24. out.TypeMeta = in.TypeMeta
  25. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  26. if in.Versions != nil {
  27. in, out := &in.Versions, &out.Versions
  28. *out = make([]APIVersionDiscovery, len(*in))
  29. for i := range *in {
  30. (*in)[i].DeepCopyInto(&(*out)[i])
  31. }
  32. }
  33. return
  34. }
  35. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIGroupDiscovery.
  36. func (in *APIGroupDiscovery) DeepCopy() *APIGroupDiscovery {
  37. if in == nil {
  38. return nil
  39. }
  40. out := new(APIGroupDiscovery)
  41. in.DeepCopyInto(out)
  42. return out
  43. }
  44. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  45. func (in *APIGroupDiscovery) DeepCopyObject() runtime.Object {
  46. if c := in.DeepCopy(); c != nil {
  47. return c
  48. }
  49. return nil
  50. }
  51. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  52. func (in *APIGroupDiscoveryList) DeepCopyInto(out *APIGroupDiscoveryList) {
  53. *out = *in
  54. out.TypeMeta = in.TypeMeta
  55. in.ListMeta.DeepCopyInto(&out.ListMeta)
  56. if in.Items != nil {
  57. in, out := &in.Items, &out.Items
  58. *out = make([]APIGroupDiscovery, len(*in))
  59. for i := range *in {
  60. (*in)[i].DeepCopyInto(&(*out)[i])
  61. }
  62. }
  63. return
  64. }
  65. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIGroupDiscoveryList.
  66. func (in *APIGroupDiscoveryList) DeepCopy() *APIGroupDiscoveryList {
  67. if in == nil {
  68. return nil
  69. }
  70. out := new(APIGroupDiscoveryList)
  71. in.DeepCopyInto(out)
  72. return out
  73. }
  74. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  75. func (in *APIGroupDiscoveryList) DeepCopyObject() runtime.Object {
  76. if c := in.DeepCopy(); c != nil {
  77. return c
  78. }
  79. return nil
  80. }
  81. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  82. func (in *APIResourceDiscovery) DeepCopyInto(out *APIResourceDiscovery) {
  83. *out = *in
  84. if in.ResponseKind != nil {
  85. in, out := &in.ResponseKind, &out.ResponseKind
  86. *out = new(v1.GroupVersionKind)
  87. **out = **in
  88. }
  89. if in.Verbs != nil {
  90. in, out := &in.Verbs, &out.Verbs
  91. *out = make([]string, len(*in))
  92. copy(*out, *in)
  93. }
  94. if in.ShortNames != nil {
  95. in, out := &in.ShortNames, &out.ShortNames
  96. *out = make([]string, len(*in))
  97. copy(*out, *in)
  98. }
  99. if in.Categories != nil {
  100. in, out := &in.Categories, &out.Categories
  101. *out = make([]string, len(*in))
  102. copy(*out, *in)
  103. }
  104. if in.Subresources != nil {
  105. in, out := &in.Subresources, &out.Subresources
  106. *out = make([]APISubresourceDiscovery, len(*in))
  107. for i := range *in {
  108. (*in)[i].DeepCopyInto(&(*out)[i])
  109. }
  110. }
  111. return
  112. }
  113. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIResourceDiscovery.
  114. func (in *APIResourceDiscovery) DeepCopy() *APIResourceDiscovery {
  115. if in == nil {
  116. return nil
  117. }
  118. out := new(APIResourceDiscovery)
  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 *APISubresourceDiscovery) DeepCopyInto(out *APISubresourceDiscovery) {
  124. *out = *in
  125. if in.ResponseKind != nil {
  126. in, out := &in.ResponseKind, &out.ResponseKind
  127. *out = new(v1.GroupVersionKind)
  128. **out = **in
  129. }
  130. if in.AcceptedTypes != nil {
  131. in, out := &in.AcceptedTypes, &out.AcceptedTypes
  132. *out = make([]v1.GroupVersionKind, len(*in))
  133. copy(*out, *in)
  134. }
  135. if in.Verbs != nil {
  136. in, out := &in.Verbs, &out.Verbs
  137. *out = make([]string, len(*in))
  138. copy(*out, *in)
  139. }
  140. return
  141. }
  142. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APISubresourceDiscovery.
  143. func (in *APISubresourceDiscovery) DeepCopy() *APISubresourceDiscovery {
  144. if in == nil {
  145. return nil
  146. }
  147. out := new(APISubresourceDiscovery)
  148. in.DeepCopyInto(out)
  149. return out
  150. }
  151. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  152. func (in *APIVersionDiscovery) DeepCopyInto(out *APIVersionDiscovery) {
  153. *out = *in
  154. if in.Resources != nil {
  155. in, out := &in.Resources, &out.Resources
  156. *out = make([]APIResourceDiscovery, len(*in))
  157. for i := range *in {
  158. (*in)[i].DeepCopyInto(&(*out)[i])
  159. }
  160. }
  161. return
  162. }
  163. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIVersionDiscovery.
  164. func (in *APIVersionDiscovery) DeepCopy() *APIVersionDiscovery {
  165. if in == nil {
  166. return nil
  167. }
  168. out := new(APIVersionDiscovery)
  169. in.DeepCopyInto(out)
  170. return out
  171. }