zz_generated.deepcopy.go 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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 *TokenReview) DeepCopyInto(out *TokenReview) {
  40. *out = *in
  41. out.TypeMeta = in.TypeMeta
  42. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  43. in.Spec.DeepCopyInto(&out.Spec)
  44. in.Status.DeepCopyInto(&out.Status)
  45. return
  46. }
  47. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview.
  48. func (in *TokenReview) DeepCopy() *TokenReview {
  49. if in == nil {
  50. return nil
  51. }
  52. out := new(TokenReview)
  53. in.DeepCopyInto(out)
  54. return out
  55. }
  56. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  57. func (in *TokenReview) DeepCopyObject() runtime.Object {
  58. if c := in.DeepCopy(); c != nil {
  59. return c
  60. }
  61. return nil
  62. }
  63. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  64. func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) {
  65. *out = *in
  66. if in.Audiences != nil {
  67. in, out := &in.Audiences, &out.Audiences
  68. *out = make([]string, len(*in))
  69. copy(*out, *in)
  70. }
  71. return
  72. }
  73. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec.
  74. func (in *TokenReviewSpec) DeepCopy() *TokenReviewSpec {
  75. if in == nil {
  76. return nil
  77. }
  78. out := new(TokenReviewSpec)
  79. in.DeepCopyInto(out)
  80. return out
  81. }
  82. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  83. func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) {
  84. *out = *in
  85. in.User.DeepCopyInto(&out.User)
  86. if in.Audiences != nil {
  87. in, out := &in.Audiences, &out.Audiences
  88. *out = make([]string, len(*in))
  89. copy(*out, *in)
  90. }
  91. return
  92. }
  93. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus.
  94. func (in *TokenReviewStatus) DeepCopy() *TokenReviewStatus {
  95. if in == nil {
  96. return nil
  97. }
  98. out := new(TokenReviewStatus)
  99. in.DeepCopyInto(out)
  100. return out
  101. }
  102. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  103. func (in *UserInfo) DeepCopyInto(out *UserInfo) {
  104. *out = *in
  105. if in.Groups != nil {
  106. in, out := &in.Groups, &out.Groups
  107. *out = make([]string, len(*in))
  108. copy(*out, *in)
  109. }
  110. if in.Extra != nil {
  111. in, out := &in.Extra, &out.Extra
  112. *out = make(map[string]ExtraValue, len(*in))
  113. for key, val := range *in {
  114. var outVal []string
  115. if val == nil {
  116. (*out)[key] = nil
  117. } else {
  118. in, out := &val, &outVal
  119. *out = make(ExtraValue, len(*in))
  120. copy(*out, *in)
  121. }
  122. (*out)[key] = outVal
  123. }
  124. }
  125. return
  126. }
  127. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo.
  128. func (in *UserInfo) DeepCopy() *UserInfo {
  129. if in == nil {
  130. return nil
  131. }
  132. out := new(UserInfo)
  133. in.DeepCopyInto(out)
  134. return out
  135. }