blob: 0463f5bb0c417f39d8525e1e5720649a872f5e41 [file] [log] [blame]
Matteo Scandoloa4285862020-12-01 18:10:10 -08001// +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 *CertificateSigningRequest) DeepCopyInto(out *CertificateSigningRequest) {
29 *out = *in
30 out.TypeMeta = in.TypeMeta
31 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
32 in.Spec.DeepCopyInto(&out.Spec)
33 in.Status.DeepCopyInto(&out.Status)
34 return
35}
36
37// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequest.
38func (in *CertificateSigningRequest) DeepCopy() *CertificateSigningRequest {
39 if in == nil {
40 return nil
41 }
42 out := new(CertificateSigningRequest)
43 in.DeepCopyInto(out)
44 return out
45}
46
47// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
48func (in *CertificateSigningRequest) DeepCopyObject() runtime.Object {
49 if c := in.DeepCopy(); c != nil {
50 return c
51 }
52 return nil
53}
54
55// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
56func (in *CertificateSigningRequestCondition) DeepCopyInto(out *CertificateSigningRequestCondition) {
57 *out = *in
58 in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
59 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
60 return
61}
62
63// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestCondition.
64func (in *CertificateSigningRequestCondition) DeepCopy() *CertificateSigningRequestCondition {
65 if in == nil {
66 return nil
67 }
68 out := new(CertificateSigningRequestCondition)
69 in.DeepCopyInto(out)
70 return out
71}
72
73// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
74func (in *CertificateSigningRequestList) DeepCopyInto(out *CertificateSigningRequestList) {
75 *out = *in
76 out.TypeMeta = in.TypeMeta
77 in.ListMeta.DeepCopyInto(&out.ListMeta)
78 if in.Items != nil {
79 in, out := &in.Items, &out.Items
80 *out = make([]CertificateSigningRequest, len(*in))
81 for i := range *in {
82 (*in)[i].DeepCopyInto(&(*out)[i])
83 }
84 }
85 return
86}
87
88// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestList.
89func (in *CertificateSigningRequestList) DeepCopy() *CertificateSigningRequestList {
90 if in == nil {
91 return nil
92 }
93 out := new(CertificateSigningRequestList)
94 in.DeepCopyInto(out)
95 return out
96}
97
98// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
99func (in *CertificateSigningRequestList) DeepCopyObject() runtime.Object {
100 if c := in.DeepCopy(); c != nil {
101 return c
102 }
103 return nil
104}
105
106// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
107func (in *CertificateSigningRequestSpec) DeepCopyInto(out *CertificateSigningRequestSpec) {
108 *out = *in
109 if in.Request != nil {
110 in, out := &in.Request, &out.Request
111 *out = make([]byte, len(*in))
112 copy(*out, *in)
113 }
114 if in.SignerName != nil {
115 in, out := &in.SignerName, &out.SignerName
116 *out = new(string)
117 **out = **in
118 }
119 if in.Usages != nil {
120 in, out := &in.Usages, &out.Usages
121 *out = make([]KeyUsage, len(*in))
122 copy(*out, *in)
123 }
124 if in.Groups != nil {
125 in, out := &in.Groups, &out.Groups
126 *out = make([]string, len(*in))
127 copy(*out, *in)
128 }
129 if in.Extra != nil {
130 in, out := &in.Extra, &out.Extra
131 *out = make(map[string]ExtraValue, len(*in))
132 for key, val := range *in {
133 var outVal []string
134 if val == nil {
135 (*out)[key] = nil
136 } else {
137 in, out := &val, &outVal
138 *out = make(ExtraValue, len(*in))
139 copy(*out, *in)
140 }
141 (*out)[key] = outVal
142 }
143 }
144 return
145}
146
147// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestSpec.
148func (in *CertificateSigningRequestSpec) DeepCopy() *CertificateSigningRequestSpec {
149 if in == nil {
150 return nil
151 }
152 out := new(CertificateSigningRequestSpec)
153 in.DeepCopyInto(out)
154 return out
155}
156
157// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
158func (in *CertificateSigningRequestStatus) DeepCopyInto(out *CertificateSigningRequestStatus) {
159 *out = *in
160 if in.Conditions != nil {
161 in, out := &in.Conditions, &out.Conditions
162 *out = make([]CertificateSigningRequestCondition, len(*in))
163 for i := range *in {
164 (*in)[i].DeepCopyInto(&(*out)[i])
165 }
166 }
167 if in.Certificate != nil {
168 in, out := &in.Certificate, &out.Certificate
169 *out = make([]byte, len(*in))
170 copy(*out, *in)
171 }
172 return
173}
174
175// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestStatus.
176func (in *CertificateSigningRequestStatus) DeepCopy() *CertificateSigningRequestStatus {
177 if in == nil {
178 return nil
179 }
180 out := new(CertificateSigningRequestStatus)
181 in.DeepCopyInto(out)
182 return out
183}
184
185// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
186func (in ExtraValue) DeepCopyInto(out *ExtraValue) {
187 {
188 in := &in
189 *out = make(ExtraValue, len(*in))
190 copy(*out, *in)
191 return
192 }
193}
194
195// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraValue.
196func (in ExtraValue) DeepCopy() ExtraValue {
197 if in == nil {
198 return nil
199 }
200 out := new(ExtraValue)
201 in.DeepCopyInto(out)
202 return *out
203}