...
1
2
3
4
19
20
21
22 package v1beta1
23
24 import (
25 runtime "k8s.io/apimachinery/pkg/runtime"
26 )
27
28
29 func (in ExtraValue) DeepCopyInto(out *ExtraValue) {
30 {
31 in := &in
32 *out = make(ExtraValue, len(*in))
33 copy(*out, *in)
34 return
35 }
36 }
37
38
39 func (in ExtraValue) DeepCopy() ExtraValue {
40 if in == nil {
41 return nil
42 }
43 out := new(ExtraValue)
44 in.DeepCopyInto(out)
45 return *out
46 }
47
48
49 func (in *SelfSubjectReview) DeepCopyInto(out *SelfSubjectReview) {
50 *out = *in
51 out.TypeMeta = in.TypeMeta
52 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
53 in.Status.DeepCopyInto(&out.Status)
54 return
55 }
56
57
58 func (in *SelfSubjectReview) DeepCopy() *SelfSubjectReview {
59 if in == nil {
60 return nil
61 }
62 out := new(SelfSubjectReview)
63 in.DeepCopyInto(out)
64 return out
65 }
66
67
68 func (in *SelfSubjectReview) DeepCopyObject() runtime.Object {
69 if c := in.DeepCopy(); c != nil {
70 return c
71 }
72 return nil
73 }
74
75
76 func (in *SelfSubjectReviewStatus) DeepCopyInto(out *SelfSubjectReviewStatus) {
77 *out = *in
78 in.UserInfo.DeepCopyInto(&out.UserInfo)
79 return
80 }
81
82
83 func (in *SelfSubjectReviewStatus) DeepCopy() *SelfSubjectReviewStatus {
84 if in == nil {
85 return nil
86 }
87 out := new(SelfSubjectReviewStatus)
88 in.DeepCopyInto(out)
89 return out
90 }
91
92
93 func (in *TokenReview) DeepCopyInto(out *TokenReview) {
94 *out = *in
95 out.TypeMeta = in.TypeMeta
96 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
97 in.Spec.DeepCopyInto(&out.Spec)
98 in.Status.DeepCopyInto(&out.Status)
99 return
100 }
101
102
103 func (in *TokenReview) DeepCopy() *TokenReview {
104 if in == nil {
105 return nil
106 }
107 out := new(TokenReview)
108 in.DeepCopyInto(out)
109 return out
110 }
111
112
113 func (in *TokenReview) DeepCopyObject() runtime.Object {
114 if c := in.DeepCopy(); c != nil {
115 return c
116 }
117 return nil
118 }
119
120
121 func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) {
122 *out = *in
123 if in.Audiences != nil {
124 in, out := &in.Audiences, &out.Audiences
125 *out = make([]string, len(*in))
126 copy(*out, *in)
127 }
128 return
129 }
130
131
132 func (in *TokenReviewSpec) DeepCopy() *TokenReviewSpec {
133 if in == nil {
134 return nil
135 }
136 out := new(TokenReviewSpec)
137 in.DeepCopyInto(out)
138 return out
139 }
140
141
142 func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) {
143 *out = *in
144 in.User.DeepCopyInto(&out.User)
145 if in.Audiences != nil {
146 in, out := &in.Audiences, &out.Audiences
147 *out = make([]string, len(*in))
148 copy(*out, *in)
149 }
150 return
151 }
152
153
154 func (in *TokenReviewStatus) DeepCopy() *TokenReviewStatus {
155 if in == nil {
156 return nil
157 }
158 out := new(TokenReviewStatus)
159 in.DeepCopyInto(out)
160 return out
161 }
162
163
164 func (in *UserInfo) DeepCopyInto(out *UserInfo) {
165 *out = *in
166 if in.Groups != nil {
167 in, out := &in.Groups, &out.Groups
168 *out = make([]string, len(*in))
169 copy(*out, *in)
170 }
171 if in.Extra != nil {
172 in, out := &in.Extra, &out.Extra
173 *out = make(map[string]ExtraValue, len(*in))
174 for key, val := range *in {
175 var outVal []string
176 if val == nil {
177 (*out)[key] = nil
178 } else {
179 in, out := &val, &outVal
180 *out = make(ExtraValue, len(*in))
181 copy(*out, *in)
182 }
183 (*out)[key] = outVal
184 }
185 }
186 return
187 }
188
189
190 func (in *UserInfo) DeepCopy() *UserInfo {
191 if in == nil {
192 return nil
193 }
194 out := new(UserInfo)
195 in.DeepCopyInto(out)
196 return out
197 }
198
View as plain text