zz_generated.deepcopy.go 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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 v1beta1
  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 ExtraValue) DeepCopyInto(out *ExtraValue) {
  21. {
  22. in := &in
  23. *out = make(ExtraValue, len(*in))
  24. copy(*out, *in)
  25. return
  26. }
  27. }
  28. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraValue.
  29. func (in ExtraValue) DeepCopy() ExtraValue {
  30. if in == nil {
  31. return nil
  32. }
  33. out := new(ExtraValue)
  34. in.DeepCopyInto(out)
  35. return *out
  36. }
  37. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  38. func (in *TokenReview) DeepCopyInto(out *TokenReview) {
  39. *out = *in
  40. out.TypeMeta = in.TypeMeta
  41. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  42. in.Spec.DeepCopyInto(&out.Spec)
  43. in.Status.DeepCopyInto(&out.Status)
  44. return
  45. }
  46. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview.
  47. func (in *TokenReview) DeepCopy() *TokenReview {
  48. if in == nil {
  49. return nil
  50. }
  51. out := new(TokenReview)
  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 *TokenReview) 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 *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) {
  64. *out = *in
  65. if in.Audiences != nil {
  66. in, out := &in.Audiences, &out.Audiences
  67. *out = make([]string, len(*in))
  68. copy(*out, *in)
  69. }
  70. return
  71. }
  72. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec.
  73. func (in *TokenReviewSpec) DeepCopy() *TokenReviewSpec {
  74. if in == nil {
  75. return nil
  76. }
  77. out := new(TokenReviewSpec)
  78. in.DeepCopyInto(out)
  79. return out
  80. }
  81. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  82. func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) {
  83. *out = *in
  84. in.User.DeepCopyInto(&out.User)
  85. if in.Audiences != nil {
  86. in, out := &in.Audiences, &out.Audiences
  87. *out = make([]string, len(*in))
  88. copy(*out, *in)
  89. }
  90. return
  91. }
  92. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus.
  93. func (in *TokenReviewStatus) DeepCopy() *TokenReviewStatus {
  94. if in == nil {
  95. return nil
  96. }
  97. out := new(TokenReviewStatus)
  98. in.DeepCopyInto(out)
  99. return out
  100. }
  101. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  102. func (in *UserInfo) DeepCopyInto(out *UserInfo) {
  103. *out = *in
  104. if in.Groups != nil {
  105. in, out := &in.Groups, &out.Groups
  106. *out = make([]string, len(*in))
  107. copy(*out, *in)
  108. }
  109. if in.Extra != nil {
  110. in, out := &in.Extra, &out.Extra
  111. *out = make(map[string]ExtraValue, len(*in))
  112. for key, val := range *in {
  113. var outVal []string
  114. if val == nil {
  115. (*out)[key] = nil
  116. } else {
  117. in, out := &val, &outVal
  118. *out = make(ExtraValue, len(*in))
  119. copy(*out, *in)
  120. }
  121. (*out)[key] = outVal
  122. }
  123. }
  124. return
  125. }
  126. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo.
  127. func (in *UserInfo) DeepCopy() *UserInfo {
  128. if in == nil {
  129. return nil
  130. }
  131. out := new(UserInfo)
  132. in.DeepCopyInto(out)
  133. return out
  134. }