zz_generated.deepcopy.go 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  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 v1
  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 *BoundObjectReference) DeepCopyInto(out *BoundObjectReference) {
  22. *out = *in
  23. return
  24. }
  25. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BoundObjectReference.
  26. func (in *BoundObjectReference) DeepCopy() *BoundObjectReference {
  27. if in == nil {
  28. return nil
  29. }
  30. out := new(BoundObjectReference)
  31. in.DeepCopyInto(out)
  32. return out
  33. }
  34. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  35. func (in ExtraValue) DeepCopyInto(out *ExtraValue) {
  36. {
  37. in := &in
  38. *out = make(ExtraValue, len(*in))
  39. copy(*out, *in)
  40. return
  41. }
  42. }
  43. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraValue.
  44. func (in ExtraValue) DeepCopy() ExtraValue {
  45. if in == nil {
  46. return nil
  47. }
  48. out := new(ExtraValue)
  49. in.DeepCopyInto(out)
  50. return *out
  51. }
  52. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  53. func (in *TokenRequest) DeepCopyInto(out *TokenRequest) {
  54. *out = *in
  55. out.TypeMeta = in.TypeMeta
  56. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  57. in.Spec.DeepCopyInto(&out.Spec)
  58. in.Status.DeepCopyInto(&out.Status)
  59. return
  60. }
  61. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequest.
  62. func (in *TokenRequest) DeepCopy() *TokenRequest {
  63. if in == nil {
  64. return nil
  65. }
  66. out := new(TokenRequest)
  67. in.DeepCopyInto(out)
  68. return out
  69. }
  70. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  71. func (in *TokenRequest) DeepCopyObject() runtime.Object {
  72. if c := in.DeepCopy(); c != nil {
  73. return c
  74. }
  75. return nil
  76. }
  77. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  78. func (in *TokenRequestSpec) DeepCopyInto(out *TokenRequestSpec) {
  79. *out = *in
  80. if in.Audiences != nil {
  81. in, out := &in.Audiences, &out.Audiences
  82. *out = make([]string, len(*in))
  83. copy(*out, *in)
  84. }
  85. if in.ExpirationSeconds != nil {
  86. in, out := &in.ExpirationSeconds, &out.ExpirationSeconds
  87. *out = new(int64)
  88. **out = **in
  89. }
  90. if in.BoundObjectRef != nil {
  91. in, out := &in.BoundObjectRef, &out.BoundObjectRef
  92. *out = new(BoundObjectReference)
  93. **out = **in
  94. }
  95. return
  96. }
  97. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequestSpec.
  98. func (in *TokenRequestSpec) DeepCopy() *TokenRequestSpec {
  99. if in == nil {
  100. return nil
  101. }
  102. out := new(TokenRequestSpec)
  103. in.DeepCopyInto(out)
  104. return out
  105. }
  106. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  107. func (in *TokenRequestStatus) DeepCopyInto(out *TokenRequestStatus) {
  108. *out = *in
  109. in.ExpirationTimestamp.DeepCopyInto(&out.ExpirationTimestamp)
  110. return
  111. }
  112. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequestStatus.
  113. func (in *TokenRequestStatus) DeepCopy() *TokenRequestStatus {
  114. if in == nil {
  115. return nil
  116. }
  117. out := new(TokenRequestStatus)
  118. in.DeepCopyInto(out)
  119. return out
  120. }
  121. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  122. func (in *TokenReview) DeepCopyInto(out *TokenReview) {
  123. *out = *in
  124. out.TypeMeta = in.TypeMeta
  125. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  126. in.Spec.DeepCopyInto(&out.Spec)
  127. in.Status.DeepCopyInto(&out.Status)
  128. return
  129. }
  130. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview.
  131. func (in *TokenReview) DeepCopy() *TokenReview {
  132. if in == nil {
  133. return nil
  134. }
  135. out := new(TokenReview)
  136. in.DeepCopyInto(out)
  137. return out
  138. }
  139. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  140. func (in *TokenReview) DeepCopyObject() runtime.Object {
  141. if c := in.DeepCopy(); c != nil {
  142. return c
  143. }
  144. return nil
  145. }
  146. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  147. func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) {
  148. *out = *in
  149. if in.Audiences != nil {
  150. in, out := &in.Audiences, &out.Audiences
  151. *out = make([]string, len(*in))
  152. copy(*out, *in)
  153. }
  154. return
  155. }
  156. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec.
  157. func (in *TokenReviewSpec) DeepCopy() *TokenReviewSpec {
  158. if in == nil {
  159. return nil
  160. }
  161. out := new(TokenReviewSpec)
  162. in.DeepCopyInto(out)
  163. return out
  164. }
  165. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  166. func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) {
  167. *out = *in
  168. in.User.DeepCopyInto(&out.User)
  169. if in.Audiences != nil {
  170. in, out := &in.Audiences, &out.Audiences
  171. *out = make([]string, len(*in))
  172. copy(*out, *in)
  173. }
  174. return
  175. }
  176. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus.
  177. func (in *TokenReviewStatus) DeepCopy() *TokenReviewStatus {
  178. if in == nil {
  179. return nil
  180. }
  181. out := new(TokenReviewStatus)
  182. in.DeepCopyInto(out)
  183. return out
  184. }
  185. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  186. func (in *UserInfo) DeepCopyInto(out *UserInfo) {
  187. *out = *in
  188. if in.Groups != nil {
  189. in, out := &in.Groups, &out.Groups
  190. *out = make([]string, len(*in))
  191. copy(*out, *in)
  192. }
  193. if in.Extra != nil {
  194. in, out := &in.Extra, &out.Extra
  195. *out = make(map[string]ExtraValue, len(*in))
  196. for key, val := range *in {
  197. var outVal []string
  198. if val == nil {
  199. (*out)[key] = nil
  200. } else {
  201. in, out := &val, &outVal
  202. *out = make(ExtraValue, len(*in))
  203. copy(*out, *in)
  204. }
  205. (*out)[key] = outVal
  206. }
  207. }
  208. return
  209. }
  210. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo.
  211. func (in *UserInfo) DeepCopy() *UserInfo {
  212. if in == nil {
  213. return nil
  214. }
  215. out := new(UserInfo)
  216. in.DeepCopyInto(out)
  217. return out
  218. }