blob: ffd24c30fc3a5895f4640a20318f0fe2ab7139a1 [file] [log] [blame]
Matthias Andreas Benkard832a54e2019-01-29 09:27:38 +01001// +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 return
60}
61
62// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestCondition.
63func (in *CertificateSigningRequestCondition) DeepCopy() *CertificateSigningRequestCondition {
64 if in == nil {
65 return nil
66 }
67 out := new(CertificateSigningRequestCondition)
68 in.DeepCopyInto(out)
69 return out
70}
71
72// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
73func (in *CertificateSigningRequestList) DeepCopyInto(out *CertificateSigningRequestList) {
74 *out = *in
75 out.TypeMeta = in.TypeMeta
76 out.ListMeta = in.ListMeta
77 if in.Items != nil {
78 in, out := &in.Items, &out.Items
79 *out = make([]CertificateSigningRequest, len(*in))
80 for i := range *in {
81 (*in)[i].DeepCopyInto(&(*out)[i])
82 }
83 }
84 return
85}
86
87// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestList.
88func (in *CertificateSigningRequestList) DeepCopy() *CertificateSigningRequestList {
89 if in == nil {
90 return nil
91 }
92 out := new(CertificateSigningRequestList)
93 in.DeepCopyInto(out)
94 return out
95}
96
97// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
98func (in *CertificateSigningRequestList) DeepCopyObject() runtime.Object {
99 if c := in.DeepCopy(); c != nil {
100 return c
101 }
102 return nil
103}
104
105// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
106func (in *CertificateSigningRequestSpec) DeepCopyInto(out *CertificateSigningRequestSpec) {
107 *out = *in
108 if in.Request != nil {
109 in, out := &in.Request, &out.Request
110 *out = make([]byte, len(*in))
111 copy(*out, *in)
112 }
113 if in.Usages != nil {
114 in, out := &in.Usages, &out.Usages
115 *out = make([]KeyUsage, len(*in))
116 copy(*out, *in)
117 }
118 if in.Groups != nil {
119 in, out := &in.Groups, &out.Groups
120 *out = make([]string, len(*in))
121 copy(*out, *in)
122 }
123 if in.Extra != nil {
124 in, out := &in.Extra, &out.Extra
125 *out = make(map[string]ExtraValue, len(*in))
126 for key, val := range *in {
127 if val == nil {
128 (*out)[key] = nil
129 } else {
130 (*out)[key] = make([]string, len(val))
131 copy((*out)[key], val)
132 }
133 }
134 }
135 return
136}
137
138// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestSpec.
139func (in *CertificateSigningRequestSpec) DeepCopy() *CertificateSigningRequestSpec {
140 if in == nil {
141 return nil
142 }
143 out := new(CertificateSigningRequestSpec)
144 in.DeepCopyInto(out)
145 return out
146}
147
148// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
149func (in *CertificateSigningRequestStatus) DeepCopyInto(out *CertificateSigningRequestStatus) {
150 *out = *in
151 if in.Conditions != nil {
152 in, out := &in.Conditions, &out.Conditions
153 *out = make([]CertificateSigningRequestCondition, len(*in))
154 for i := range *in {
155 (*in)[i].DeepCopyInto(&(*out)[i])
156 }
157 }
158 if in.Certificate != nil {
159 in, out := &in.Certificate, &out.Certificate
160 *out = make([]byte, len(*in))
161 copy(*out, *in)
162 }
163 return
164}
165
166// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestStatus.
167func (in *CertificateSigningRequestStatus) DeepCopy() *CertificateSigningRequestStatus {
168 if in == nil {
169 return nil
170 }
171 out := new(CertificateSigningRequestStatus)
172 in.DeepCopyInto(out)
173 return out
174}
175
176// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
177func (in ExtraValue) DeepCopyInto(out *ExtraValue) {
178 {
179 in := &in
180 *out = make(ExtraValue, len(*in))
181 copy(*out, *in)
182 return
183 }
184}
185
186// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraValue.
187func (in ExtraValue) DeepCopy() ExtraValue {
188 if in == nil {
189 return nil
190 }
191 out := new(ExtraValue)
192 in.DeepCopyInto(out)
193 return *out
194}