zz_generated.deepcopy.go 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  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 *SelfSubjectReview) DeepCopyInto(out *SelfSubjectReview) {
  54. *out = *in
  55. out.TypeMeta = in.TypeMeta
  56. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  57. in.Status.DeepCopyInto(&out.Status)
  58. return
  59. }
  60. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectReview.
  61. func (in *SelfSubjectReview) DeepCopy() *SelfSubjectReview {
  62. if in == nil {
  63. return nil
  64. }
  65. out := new(SelfSubjectReview)
  66. in.DeepCopyInto(out)
  67. return out
  68. }
  69. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  70. func (in *SelfSubjectReview) DeepCopyObject() runtime.Object {
  71. if c := in.DeepCopy(); c != nil {
  72. return c
  73. }
  74. return nil
  75. }
  76. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  77. func (in *SelfSubjectReviewStatus) DeepCopyInto(out *SelfSubjectReviewStatus) {
  78. *out = *in
  79. in.UserInfo.DeepCopyInto(&out.UserInfo)
  80. return
  81. }
  82. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectReviewStatus.
  83. func (in *SelfSubjectReviewStatus) DeepCopy() *SelfSubjectReviewStatus {
  84. if in == nil {
  85. return nil
  86. }
  87. out := new(SelfSubjectReviewStatus)
  88. in.DeepCopyInto(out)
  89. return out
  90. }
  91. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  92. func (in *TokenRequest) DeepCopyInto(out *TokenRequest) {
  93. *out = *in
  94. out.TypeMeta = in.TypeMeta
  95. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  96. in.Spec.DeepCopyInto(&out.Spec)
  97. in.Status.DeepCopyInto(&out.Status)
  98. return
  99. }
  100. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequest.
  101. func (in *TokenRequest) DeepCopy() *TokenRequest {
  102. if in == nil {
  103. return nil
  104. }
  105. out := new(TokenRequest)
  106. in.DeepCopyInto(out)
  107. return out
  108. }
  109. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  110. func (in *TokenRequest) DeepCopyObject() runtime.Object {
  111. if c := in.DeepCopy(); c != nil {
  112. return c
  113. }
  114. return nil
  115. }
  116. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  117. func (in *TokenRequestSpec) DeepCopyInto(out *TokenRequestSpec) {
  118. *out = *in
  119. if in.Audiences != nil {
  120. in, out := &in.Audiences, &out.Audiences
  121. *out = make([]string, len(*in))
  122. copy(*out, *in)
  123. }
  124. if in.ExpirationSeconds != nil {
  125. in, out := &in.ExpirationSeconds, &out.ExpirationSeconds
  126. *out = new(int64)
  127. **out = **in
  128. }
  129. if in.BoundObjectRef != nil {
  130. in, out := &in.BoundObjectRef, &out.BoundObjectRef
  131. *out = new(BoundObjectReference)
  132. **out = **in
  133. }
  134. return
  135. }
  136. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequestSpec.
  137. func (in *TokenRequestSpec) DeepCopy() *TokenRequestSpec {
  138. if in == nil {
  139. return nil
  140. }
  141. out := new(TokenRequestSpec)
  142. in.DeepCopyInto(out)
  143. return out
  144. }
  145. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  146. func (in *TokenRequestStatus) DeepCopyInto(out *TokenRequestStatus) {
  147. *out = *in
  148. in.ExpirationTimestamp.DeepCopyInto(&out.ExpirationTimestamp)
  149. return
  150. }
  151. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequestStatus.
  152. func (in *TokenRequestStatus) DeepCopy() *TokenRequestStatus {
  153. if in == nil {
  154. return nil
  155. }
  156. out := new(TokenRequestStatus)
  157. in.DeepCopyInto(out)
  158. return out
  159. }
  160. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  161. func (in *TokenReview) DeepCopyInto(out *TokenReview) {
  162. *out = *in
  163. out.TypeMeta = in.TypeMeta
  164. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  165. in.Spec.DeepCopyInto(&out.Spec)
  166. in.Status.DeepCopyInto(&out.Status)
  167. return
  168. }
  169. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview.
  170. func (in *TokenReview) DeepCopy() *TokenReview {
  171. if in == nil {
  172. return nil
  173. }
  174. out := new(TokenReview)
  175. in.DeepCopyInto(out)
  176. return out
  177. }
  178. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  179. func (in *TokenReview) DeepCopyObject() runtime.Object {
  180. if c := in.DeepCopy(); c != nil {
  181. return c
  182. }
  183. return nil
  184. }
  185. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  186. func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) {
  187. *out = *in
  188. if in.Audiences != nil {
  189. in, out := &in.Audiences, &out.Audiences
  190. *out = make([]string, len(*in))
  191. copy(*out, *in)
  192. }
  193. return
  194. }
  195. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec.
  196. func (in *TokenReviewSpec) DeepCopy() *TokenReviewSpec {
  197. if in == nil {
  198. return nil
  199. }
  200. out := new(TokenReviewSpec)
  201. in.DeepCopyInto(out)
  202. return out
  203. }
  204. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  205. func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) {
  206. *out = *in
  207. in.User.DeepCopyInto(&out.User)
  208. if in.Audiences != nil {
  209. in, out := &in.Audiences, &out.Audiences
  210. *out = make([]string, len(*in))
  211. copy(*out, *in)
  212. }
  213. return
  214. }
  215. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus.
  216. func (in *TokenReviewStatus) DeepCopy() *TokenReviewStatus {
  217. if in == nil {
  218. return nil
  219. }
  220. out := new(TokenReviewStatus)
  221. in.DeepCopyInto(out)
  222. return out
  223. }
  224. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  225. func (in *UserInfo) DeepCopyInto(out *UserInfo) {
  226. *out = *in
  227. if in.Groups != nil {
  228. in, out := &in.Groups, &out.Groups
  229. *out = make([]string, len(*in))
  230. copy(*out, *in)
  231. }
  232. if in.Extra != nil {
  233. in, out := &in.Extra, &out.Extra
  234. *out = make(map[string]ExtraValue, len(*in))
  235. for key, val := range *in {
  236. var outVal []string
  237. if val == nil {
  238. (*out)[key] = nil
  239. } else {
  240. in, out := &val, &outVal
  241. *out = make(ExtraValue, len(*in))
  242. copy(*out, *in)
  243. }
  244. (*out)[key] = outVal
  245. }
  246. }
  247. return
  248. }
  249. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo.
  250. func (in *UserInfo) DeepCopy() *UserInfo {
  251. if in == nil {
  252. return nil
  253. }
  254. out := new(UserInfo)
  255. in.DeepCopyInto(out)
  256. return out
  257. }