blob: cc6a60be78156ab896757f473ff567a3fb9e5ae0 [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 v1
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.Usages != nil {
115 in, out := &in.Usages, &out.Usages
116 *out = make([]KeyUsage, len(*in))
117 copy(*out, *in)
118 }
119 if in.Groups != nil {
120 in, out := &in.Groups, &out.Groups
121 *out = make([]string, len(*in))
122 copy(*out, *in)
123 }
124 if in.Extra != nil {
125 in, out := &in.Extra, &out.Extra
126 *out = make(map[string]ExtraValue, len(*in))
127 for key, val := range *in {
128 var outVal []string
129 if val == nil {
130 (*out)[key] = nil
131 } else {
132 in, out := &val, &outVal
133 *out = make(ExtraValue, len(*in))
134 copy(*out, *in)
135 }
136 (*out)[key] = outVal
137 }
138 }
139 return
140}
141
142// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestSpec.
143func (in *CertificateSigningRequestSpec) DeepCopy() *CertificateSigningRequestSpec {
144 if in == nil {
145 return nil
146 }
147 out := new(CertificateSigningRequestSpec)
148 in.DeepCopyInto(out)
149 return out
150}
151
152// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
153func (in *CertificateSigningRequestStatus) DeepCopyInto(out *CertificateSigningRequestStatus) {
154 *out = *in
155 if in.Conditions != nil {
156 in, out := &in.Conditions, &out.Conditions
157 *out = make([]CertificateSigningRequestCondition, len(*in))
158 for i := range *in {
159 (*in)[i].DeepCopyInto(&(*out)[i])
160 }
161 }
162 if in.Certificate != nil {
163 in, out := &in.Certificate, &out.Certificate
164 *out = make([]byte, len(*in))
165 copy(*out, *in)
166 }
167 return
168}
169
170// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestStatus.
171func (in *CertificateSigningRequestStatus) DeepCopy() *CertificateSigningRequestStatus {
172 if in == nil {
173 return nil
174 }
175 out := new(CertificateSigningRequestStatus)
176 in.DeepCopyInto(out)
177 return out
178}
179
180// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
181func (in ExtraValue) DeepCopyInto(out *ExtraValue) {
182 {
183 in := &in
184 *out = make(ExtraValue, len(*in))
185 copy(*out, *in)
186 return
187 }
188}
189
190// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraValue.
191func (in ExtraValue) DeepCopy() ExtraValue {
192 if in == nil {
193 return nil
194 }
195 out := new(ExtraValue)
196 in.DeepCopyInto(out)
197 return *out
198}