zz_generated.deepcopy.go 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  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 authentication
  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.BoundObjectRef != nil {
  85. in, out := &in.BoundObjectRef, &out.BoundObjectRef
  86. *out = new(BoundObjectReference)
  87. **out = **in
  88. }
  89. return
  90. }
  91. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequestSpec.
  92. func (in *TokenRequestSpec) DeepCopy() *TokenRequestSpec {
  93. if in == nil {
  94. return nil
  95. }
  96. out := new(TokenRequestSpec)
  97. in.DeepCopyInto(out)
  98. return out
  99. }
  100. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  101. func (in *TokenRequestStatus) DeepCopyInto(out *TokenRequestStatus) {
  102. *out = *in
  103. in.ExpirationTimestamp.DeepCopyInto(&out.ExpirationTimestamp)
  104. return
  105. }
  106. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequestStatus.
  107. func (in *TokenRequestStatus) DeepCopy() *TokenRequestStatus {
  108. if in == nil {
  109. return nil
  110. }
  111. out := new(TokenRequestStatus)
  112. in.DeepCopyInto(out)
  113. return out
  114. }
  115. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  116. func (in *TokenReview) DeepCopyInto(out *TokenReview) {
  117. *out = *in
  118. out.TypeMeta = in.TypeMeta
  119. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  120. in.Spec.DeepCopyInto(&out.Spec)
  121. in.Status.DeepCopyInto(&out.Status)
  122. return
  123. }
  124. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview.
  125. func (in *TokenReview) DeepCopy() *TokenReview {
  126. if in == nil {
  127. return nil
  128. }
  129. out := new(TokenReview)
  130. in.DeepCopyInto(out)
  131. return out
  132. }
  133. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  134. func (in *TokenReview) DeepCopyObject() runtime.Object {
  135. if c := in.DeepCopy(); c != nil {
  136. return c
  137. }
  138. return nil
  139. }
  140. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  141. func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) {
  142. *out = *in
  143. if in.Audiences != nil {
  144. in, out := &in.Audiences, &out.Audiences
  145. *out = make([]string, len(*in))
  146. copy(*out, *in)
  147. }
  148. return
  149. }
  150. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec.
  151. func (in *TokenReviewSpec) DeepCopy() *TokenReviewSpec {
  152. if in == nil {
  153. return nil
  154. }
  155. out := new(TokenReviewSpec)
  156. in.DeepCopyInto(out)
  157. return out
  158. }
  159. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  160. func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) {
  161. *out = *in
  162. in.User.DeepCopyInto(&out.User)
  163. if in.Audiences != nil {
  164. in, out := &in.Audiences, &out.Audiences
  165. *out = make([]string, len(*in))
  166. copy(*out, *in)
  167. }
  168. return
  169. }
  170. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus.
  171. func (in *TokenReviewStatus) DeepCopy() *TokenReviewStatus {
  172. if in == nil {
  173. return nil
  174. }
  175. out := new(TokenReviewStatus)
  176. in.DeepCopyInto(out)
  177. return out
  178. }
  179. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  180. func (in *UserInfo) DeepCopyInto(out *UserInfo) {
  181. *out = *in
  182. if in.Groups != nil {
  183. in, out := &in.Groups, &out.Groups
  184. *out = make([]string, len(*in))
  185. copy(*out, *in)
  186. }
  187. if in.Extra != nil {
  188. in, out := &in.Extra, &out.Extra
  189. *out = make(map[string]ExtraValue, len(*in))
  190. for key, val := range *in {
  191. var outVal []string
  192. if val == nil {
  193. (*out)[key] = nil
  194. } else {
  195. in, out := &val, &outVal
  196. *out = make(ExtraValue, len(*in))
  197. copy(*out, *in)
  198. }
  199. (*out)[key] = outVal
  200. }
  201. }
  202. return
  203. }
  204. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo.
  205. func (in *UserInfo) DeepCopy() *UserInfo {
  206. if in == nil {
  207. return nil
  208. }
  209. out := new(UserInfo)
  210. in.DeepCopyInto(out)
  211. return out
  212. }