blob: a5d82a8100a57b5cd94dd876844f0fa5e533466b [file] [log] [blame]
Zack Williamse940c7a2019-08-21 14:25:39 -07001// +build !ignore_autogenerated
2
3/*
4Copyright The Kubernetes Authors.
5
6Licensed under the Apache License, Version 2.0 (the "License");
7you may not use this file except in compliance with the License.
8You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12Unless required by applicable law or agreed to in writing, software
13distributed under the License is distributed on an "AS IS" BASIS,
14WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15See the License for the specific language governing permissions and
16limitations under the License.
17*/
18
19// Code generated by deepcopy-gen. DO NOT EDIT.
20
21package v1beta1
22
23import (
24 runtime "k8s.io/apimachinery/pkg/runtime"
25)
26
27// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
28func (in ExtraValue) DeepCopyInto(out *ExtraValue) {
29 {
30 in := &in
31 *out = make(ExtraValue, len(*in))
32 copy(*out, *in)
33 return
34 }
35}
36
37// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraValue.
38func (in ExtraValue) DeepCopy() ExtraValue {
39 if in == nil {
40 return nil
41 }
42 out := new(ExtraValue)
43 in.DeepCopyInto(out)
44 return *out
45}
46
47// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
48func (in *TokenReview) DeepCopyInto(out *TokenReview) {
49 *out = *in
50 out.TypeMeta = in.TypeMeta
51 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
52 in.Spec.DeepCopyInto(&out.Spec)
53 in.Status.DeepCopyInto(&out.Status)
54 return
55}
56
57// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview.
58func (in *TokenReview) DeepCopy() *TokenReview {
59 if in == nil {
60 return nil
61 }
62 out := new(TokenReview)
63 in.DeepCopyInto(out)
64 return out
65}
66
67// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
68func (in *TokenReview) DeepCopyObject() runtime.Object {
69 if c := in.DeepCopy(); c != nil {
70 return c
71 }
72 return nil
73}
74
75// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
76func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) {
77 *out = *in
78 if in.Audiences != nil {
79 in, out := &in.Audiences, &out.Audiences
80 *out = make([]string, len(*in))
81 copy(*out, *in)
82 }
83 return
84}
85
86// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec.
87func (in *TokenReviewSpec) DeepCopy() *TokenReviewSpec {
88 if in == nil {
89 return nil
90 }
91 out := new(TokenReviewSpec)
92 in.DeepCopyInto(out)
93 return out
94}
95
96// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
97func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) {
98 *out = *in
99 in.User.DeepCopyInto(&out.User)
100 if in.Audiences != nil {
101 in, out := &in.Audiences, &out.Audiences
102 *out = make([]string, len(*in))
103 copy(*out, *in)
104 }
105 return
106}
107
108// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus.
109func (in *TokenReviewStatus) DeepCopy() *TokenReviewStatus {
110 if in == nil {
111 return nil
112 }
113 out := new(TokenReviewStatus)
114 in.DeepCopyInto(out)
115 return out
116}
117
118// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
119func (in *UserInfo) DeepCopyInto(out *UserInfo) {
120 *out = *in
121 if in.Groups != nil {
122 in, out := &in.Groups, &out.Groups
123 *out = make([]string, len(*in))
124 copy(*out, *in)
125 }
126 if in.Extra != nil {
127 in, out := &in.Extra, &out.Extra
128 *out = make(map[string]ExtraValue, len(*in))
129 for key, val := range *in {
130 var outVal []string
131 if val == nil {
132 (*out)[key] = nil
133 } else {
134 in, out := &val, &outVal
135 *out = make(ExtraValue, len(*in))
136 copy(*out, *in)
137 }
138 (*out)[key] = outVal
139 }
140 }
141 return
142}
143
144// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo.
145func (in *UserInfo) DeepCopy() *UserInfo {
146 if in == nil {
147 return nil
148 }
149 out := new(UserInfo)
150 in.DeepCopyInto(out)
151 return out
152}