zz_generated.deepcopy.go 5.4 KB

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