1 // +build !ignore_autogenerated
4 Copyright The Kubernetes Authors.
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
19 // Code generated by deepcopy-gen. DO NOT EDIT.
24 runtime "k8s.io/apimachinery/pkg/runtime"
27 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
28 func (in ExtraValue) DeepCopyInto(out *ExtraValue) {
31 *out = make(ExtraValue, len(*in))
37 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraValue.
38 func (in ExtraValue) DeepCopy() ExtraValue {
42 out := new(ExtraValue)
47 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
48 func (in *TokenReview) DeepCopyInto(out *TokenReview) {
50 out.TypeMeta = in.TypeMeta
51 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
52 in.Spec.DeepCopyInto(&out.Spec)
53 in.Status.DeepCopyInto(&out.Status)
57 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview.
58 func (in *TokenReview) DeepCopy() *TokenReview {
62 out := new(TokenReview)
67 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
68 func (in *TokenReview) DeepCopyObject() runtime.Object {
69 if c := in.DeepCopy(); c != nil {
75 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
76 func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) {
78 if in.Audiences != nil {
79 in, out := &in.Audiences, &out.Audiences
80 *out = make([]string, len(*in))
86 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec.
87 func (in *TokenReviewSpec) DeepCopy() *TokenReviewSpec {
91 out := new(TokenReviewSpec)
96 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
97 func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) {
99 in.User.DeepCopyInto(&out.User)
100 if in.Audiences != nil {
101 in, out := &in.Audiences, &out.Audiences
102 *out = make([]string, len(*in))
108 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus.
109 func (in *TokenReviewStatus) DeepCopy() *TokenReviewStatus {
113 out := new(TokenReviewStatus)
118 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
119 func (in *UserInfo) DeepCopyInto(out *UserInfo) {
121 if in.Groups != nil {
122 in, out := &in.Groups, &out.Groups
123 *out = make([]string, len(*in))
127 in, out := &in.Extra, &out.Extra
128 *out = make(map[string]ExtraValue, len(*in))
129 for key, val := range *in {
134 in, out := &val, &outVal
135 *out = make(ExtraValue, len(*in))
144 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo.
145 func (in *UserInfo) DeepCopy() *UserInfo {