zz_generated.deepcopy.go 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. // +build !ignore_autogenerated
  2. /*
  3. Copyright The Kubernetes Authors.
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. */
  14. // Code generated by deepcopy-gen. DO NOT EDIT.
  15. package v1
  16. import (
  17. runtime "k8s.io/apimachinery/pkg/runtime"
  18. )
  19. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  20. func (in *BoundObjectReference) DeepCopyInto(out *BoundObjectReference) {
  21. *out = *in
  22. return
  23. }
  24. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BoundObjectReference.
  25. func (in *BoundObjectReference) DeepCopy() *BoundObjectReference {
  26. if in == nil {
  27. return nil
  28. }
  29. out := new(BoundObjectReference)
  30. in.DeepCopyInto(out)
  31. return out
  32. }
  33. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  34. func (in ExtraValue) DeepCopyInto(out *ExtraValue) {
  35. {
  36. in := &in
  37. *out = make(ExtraValue, len(*in))
  38. copy(*out, *in)
  39. return
  40. }
  41. }
  42. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraValue.
  43. func (in ExtraValue) DeepCopy() ExtraValue {
  44. if in == nil {
  45. return nil
  46. }
  47. out := new(ExtraValue)
  48. in.DeepCopyInto(out)
  49. return *out
  50. }
  51. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  52. func (in *TokenRequest) DeepCopyInto(out *TokenRequest) {
  53. *out = *in
  54. out.TypeMeta = in.TypeMeta
  55. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  56. in.Spec.DeepCopyInto(&out.Spec)
  57. in.Status.DeepCopyInto(&out.Status)
  58. return
  59. }
  60. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequest.
  61. func (in *TokenRequest) DeepCopy() *TokenRequest {
  62. if in == nil {
  63. return nil
  64. }
  65. out := new(TokenRequest)
  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 *TokenRequest) 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 *TokenRequestSpec) DeepCopyInto(out *TokenRequestSpec) {
  78. *out = *in
  79. if in.Audiences != nil {
  80. in, out := &in.Audiences, &out.Audiences
  81. *out = make([]string, len(*in))
  82. copy(*out, *in)
  83. }
  84. if in.ExpirationSeconds != nil {
  85. in, out := &in.ExpirationSeconds, &out.ExpirationSeconds
  86. *out = new(int64)
  87. **out = **in
  88. }
  89. if in.BoundObjectRef != nil {
  90. in, out := &in.BoundObjectRef, &out.BoundObjectRef
  91. *out = new(BoundObjectReference)
  92. **out = **in
  93. }
  94. return
  95. }
  96. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequestSpec.
  97. func (in *TokenRequestSpec) DeepCopy() *TokenRequestSpec {
  98. if in == nil {
  99. return nil
  100. }
  101. out := new(TokenRequestSpec)
  102. in.DeepCopyInto(out)
  103. return out
  104. }
  105. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  106. func (in *TokenRequestStatus) DeepCopyInto(out *TokenRequestStatus) {
  107. *out = *in
  108. in.ExpirationTimestamp.DeepCopyInto(&out.ExpirationTimestamp)
  109. return
  110. }
  111. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequestStatus.
  112. func (in *TokenRequestStatus) DeepCopy() *TokenRequestStatus {
  113. if in == nil {
  114. return nil
  115. }
  116. out := new(TokenRequestStatus)
  117. in.DeepCopyInto(out)
  118. return out
  119. }
  120. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  121. func (in *TokenReview) DeepCopyInto(out *TokenReview) {
  122. *out = *in
  123. out.TypeMeta = in.TypeMeta
  124. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  125. in.Spec.DeepCopyInto(&out.Spec)
  126. in.Status.DeepCopyInto(&out.Status)
  127. return
  128. }
  129. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview.
  130. func (in *TokenReview) DeepCopy() *TokenReview {
  131. if in == nil {
  132. return nil
  133. }
  134. out := new(TokenReview)
  135. in.DeepCopyInto(out)
  136. return out
  137. }
  138. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  139. func (in *TokenReview) DeepCopyObject() runtime.Object {
  140. if c := in.DeepCopy(); c != nil {
  141. return c
  142. }
  143. return nil
  144. }
  145. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  146. func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) {
  147. *out = *in
  148. if in.Audiences != nil {
  149. in, out := &in.Audiences, &out.Audiences
  150. *out = make([]string, len(*in))
  151. copy(*out, *in)
  152. }
  153. return
  154. }
  155. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec.
  156. func (in *TokenReviewSpec) DeepCopy() *TokenReviewSpec {
  157. if in == nil {
  158. return nil
  159. }
  160. out := new(TokenReviewSpec)
  161. in.DeepCopyInto(out)
  162. return out
  163. }
  164. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  165. func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) {
  166. *out = *in
  167. in.User.DeepCopyInto(&out.User)
  168. if in.Audiences != nil {
  169. in, out := &in.Audiences, &out.Audiences
  170. *out = make([]string, len(*in))
  171. copy(*out, *in)
  172. }
  173. return
  174. }
  175. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus.
  176. func (in *TokenReviewStatus) DeepCopy() *TokenReviewStatus {
  177. if in == nil {
  178. return nil
  179. }
  180. out := new(TokenReviewStatus)
  181. in.DeepCopyInto(out)
  182. return out
  183. }
  184. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  185. func (in *UserInfo) DeepCopyInto(out *UserInfo) {
  186. *out = *in
  187. if in.Groups != nil {
  188. in, out := &in.Groups, &out.Groups
  189. *out = make([]string, len(*in))
  190. copy(*out, *in)
  191. }
  192. if in.Extra != nil {
  193. in, out := &in.Extra, &out.Extra
  194. *out = make(map[string]ExtraValue, len(*in))
  195. for key, val := range *in {
  196. var outVal []string
  197. if val == nil {
  198. (*out)[key] = nil
  199. } else {
  200. in, out := &val, &outVal
  201. *out = make(ExtraValue, len(*in))
  202. copy(*out, *in)
  203. }
  204. (*out)[key] = outVal
  205. }
  206. }
  207. return
  208. }
  209. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo.
  210. func (in *UserInfo) DeepCopy() *UserInfo {
  211. if in == nil {
  212. return nil
  213. }
  214. out := new(UserInfo)
  215. in.DeepCopyInto(out)
  216. return out
  217. }