1
2
3
4
5
6
7 package v2alpha
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 timestamp "github.com/golang/protobuf/ptypes/timestamp"
12 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14 reflect "reflect"
15 sync "sync"
16 )
17
18 const (
19
20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21
22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23 )
24
25
26
27
28 type Certificates struct {
29 state protoimpl.MessageState
30 sizeCache protoimpl.SizeCache
31 unknownFields protoimpl.UnknownFields
32
33
34 Certificates []*Certificate `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"`
35 }
36
37 func (x *Certificates) Reset() {
38 *x = Certificates{}
39 if protoimpl.UnsafeEnabled {
40 mi := &file_envoy_admin_v2alpha_certs_proto_msgTypes[0]
41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
42 ms.StoreMessageInfo(mi)
43 }
44 }
45
46 func (x *Certificates) String() string {
47 return protoimpl.X.MessageStringOf(x)
48 }
49
50 func (*Certificates) ProtoMessage() {}
51
52 func (x *Certificates) ProtoReflect() protoreflect.Message {
53 mi := &file_envoy_admin_v2alpha_certs_proto_msgTypes[0]
54 if protoimpl.UnsafeEnabled && x != nil {
55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
56 if ms.LoadMessageInfo() == nil {
57 ms.StoreMessageInfo(mi)
58 }
59 return ms
60 }
61 return mi.MessageOf(x)
62 }
63
64
65 func (*Certificates) Descriptor() ([]byte, []int) {
66 return file_envoy_admin_v2alpha_certs_proto_rawDescGZIP(), []int{0}
67 }
68
69 func (x *Certificates) GetCertificates() []*Certificate {
70 if x != nil {
71 return x.Certificates
72 }
73 return nil
74 }
75
76 type Certificate struct {
77 state protoimpl.MessageState
78 sizeCache protoimpl.SizeCache
79 unknownFields protoimpl.UnknownFields
80
81
82 CaCert []*CertificateDetails `protobuf:"bytes,1,rep,name=ca_cert,json=caCert,proto3" json:"ca_cert,omitempty"`
83
84 CertChain []*CertificateDetails `protobuf:"bytes,2,rep,name=cert_chain,json=certChain,proto3" json:"cert_chain,omitempty"`
85 }
86
87 func (x *Certificate) Reset() {
88 *x = Certificate{}
89 if protoimpl.UnsafeEnabled {
90 mi := &file_envoy_admin_v2alpha_certs_proto_msgTypes[1]
91 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
92 ms.StoreMessageInfo(mi)
93 }
94 }
95
96 func (x *Certificate) String() string {
97 return protoimpl.X.MessageStringOf(x)
98 }
99
100 func (*Certificate) ProtoMessage() {}
101
102 func (x *Certificate) ProtoReflect() protoreflect.Message {
103 mi := &file_envoy_admin_v2alpha_certs_proto_msgTypes[1]
104 if protoimpl.UnsafeEnabled && x != nil {
105 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
106 if ms.LoadMessageInfo() == nil {
107 ms.StoreMessageInfo(mi)
108 }
109 return ms
110 }
111 return mi.MessageOf(x)
112 }
113
114
115 func (*Certificate) Descriptor() ([]byte, []int) {
116 return file_envoy_admin_v2alpha_certs_proto_rawDescGZIP(), []int{1}
117 }
118
119 func (x *Certificate) GetCaCert() []*CertificateDetails {
120 if x != nil {
121 return x.CaCert
122 }
123 return nil
124 }
125
126 func (x *Certificate) GetCertChain() []*CertificateDetails {
127 if x != nil {
128 return x.CertChain
129 }
130 return nil
131 }
132
133
134 type CertificateDetails struct {
135 state protoimpl.MessageState
136 sizeCache protoimpl.SizeCache
137 unknownFields protoimpl.UnknownFields
138
139
140 Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
141
142 SerialNumber string `protobuf:"bytes,2,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
143
144 SubjectAltNames []*SubjectAlternateName `protobuf:"bytes,3,rep,name=subject_alt_names,json=subjectAltNames,proto3" json:"subject_alt_names,omitempty"`
145
146 DaysUntilExpiration uint64 `protobuf:"varint,4,opt,name=days_until_expiration,json=daysUntilExpiration,proto3" json:"days_until_expiration,omitempty"`
147
148 ValidFrom *timestamp.Timestamp `protobuf:"bytes,5,opt,name=valid_from,json=validFrom,proto3" json:"valid_from,omitempty"`
149
150 ExpirationTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
151 }
152
153 func (x *CertificateDetails) Reset() {
154 *x = CertificateDetails{}
155 if protoimpl.UnsafeEnabled {
156 mi := &file_envoy_admin_v2alpha_certs_proto_msgTypes[2]
157 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
158 ms.StoreMessageInfo(mi)
159 }
160 }
161
162 func (x *CertificateDetails) String() string {
163 return protoimpl.X.MessageStringOf(x)
164 }
165
166 func (*CertificateDetails) ProtoMessage() {}
167
168 func (x *CertificateDetails) ProtoReflect() protoreflect.Message {
169 mi := &file_envoy_admin_v2alpha_certs_proto_msgTypes[2]
170 if protoimpl.UnsafeEnabled && x != nil {
171 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
172 if ms.LoadMessageInfo() == nil {
173 ms.StoreMessageInfo(mi)
174 }
175 return ms
176 }
177 return mi.MessageOf(x)
178 }
179
180
181 func (*CertificateDetails) Descriptor() ([]byte, []int) {
182 return file_envoy_admin_v2alpha_certs_proto_rawDescGZIP(), []int{2}
183 }
184
185 func (x *CertificateDetails) GetPath() string {
186 if x != nil {
187 return x.Path
188 }
189 return ""
190 }
191
192 func (x *CertificateDetails) GetSerialNumber() string {
193 if x != nil {
194 return x.SerialNumber
195 }
196 return ""
197 }
198
199 func (x *CertificateDetails) GetSubjectAltNames() []*SubjectAlternateName {
200 if x != nil {
201 return x.SubjectAltNames
202 }
203 return nil
204 }
205
206 func (x *CertificateDetails) GetDaysUntilExpiration() uint64 {
207 if x != nil {
208 return x.DaysUntilExpiration
209 }
210 return 0
211 }
212
213 func (x *CertificateDetails) GetValidFrom() *timestamp.Timestamp {
214 if x != nil {
215 return x.ValidFrom
216 }
217 return nil
218 }
219
220 func (x *CertificateDetails) GetExpirationTime() *timestamp.Timestamp {
221 if x != nil {
222 return x.ExpirationTime
223 }
224 return nil
225 }
226
227 type SubjectAlternateName struct {
228 state protoimpl.MessageState
229 sizeCache protoimpl.SizeCache
230 unknownFields protoimpl.UnknownFields
231
232
233
234
235
236
237
238 Name isSubjectAlternateName_Name `protobuf_oneof:"name"`
239 }
240
241 func (x *SubjectAlternateName) Reset() {
242 *x = SubjectAlternateName{}
243 if protoimpl.UnsafeEnabled {
244 mi := &file_envoy_admin_v2alpha_certs_proto_msgTypes[3]
245 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
246 ms.StoreMessageInfo(mi)
247 }
248 }
249
250 func (x *SubjectAlternateName) String() string {
251 return protoimpl.X.MessageStringOf(x)
252 }
253
254 func (*SubjectAlternateName) ProtoMessage() {}
255
256 func (x *SubjectAlternateName) ProtoReflect() protoreflect.Message {
257 mi := &file_envoy_admin_v2alpha_certs_proto_msgTypes[3]
258 if protoimpl.UnsafeEnabled && x != nil {
259 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
260 if ms.LoadMessageInfo() == nil {
261 ms.StoreMessageInfo(mi)
262 }
263 return ms
264 }
265 return mi.MessageOf(x)
266 }
267
268
269 func (*SubjectAlternateName) Descriptor() ([]byte, []int) {
270 return file_envoy_admin_v2alpha_certs_proto_rawDescGZIP(), []int{3}
271 }
272
273 func (m *SubjectAlternateName) GetName() isSubjectAlternateName_Name {
274 if m != nil {
275 return m.Name
276 }
277 return nil
278 }
279
280 func (x *SubjectAlternateName) GetDns() string {
281 if x, ok := x.GetName().(*SubjectAlternateName_Dns); ok {
282 return x.Dns
283 }
284 return ""
285 }
286
287 func (x *SubjectAlternateName) GetUri() string {
288 if x, ok := x.GetName().(*SubjectAlternateName_Uri); ok {
289 return x.Uri
290 }
291 return ""
292 }
293
294 func (x *SubjectAlternateName) GetIpAddress() string {
295 if x, ok := x.GetName().(*SubjectAlternateName_IpAddress); ok {
296 return x.IpAddress
297 }
298 return ""
299 }
300
301 type isSubjectAlternateName_Name interface {
302 isSubjectAlternateName_Name()
303 }
304
305 type SubjectAlternateName_Dns struct {
306 Dns string `protobuf:"bytes,1,opt,name=dns,proto3,oneof"`
307 }
308
309 type SubjectAlternateName_Uri struct {
310 Uri string `protobuf:"bytes,2,opt,name=uri,proto3,oneof"`
311 }
312
313 type SubjectAlternateName_IpAddress struct {
314 IpAddress string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3,oneof"`
315 }
316
317 func (*SubjectAlternateName_Dns) isSubjectAlternateName_Name() {}
318
319 func (*SubjectAlternateName_Uri) isSubjectAlternateName_Name() {}
320
321 func (*SubjectAlternateName_IpAddress) isSubjectAlternateName_Name() {}
322
323 var File_envoy_admin_v2alpha_certs_proto protoreflect.FileDescriptor
324
325 var file_envoy_admin_v2alpha_certs_proto_rawDesc = []byte{
326 0x0a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x32,
327 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
328 0x6f, 0x12, 0x13, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76,
329 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
330 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
331 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e,
332 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
333 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x54, 0x0a, 0x0c, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66,
334 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x12, 0x44, 0x0a, 0x0c, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66,
335 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65,
336 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70,
337 0x68, 0x61, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x0c,
338 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x22, 0x97, 0x01, 0x0a,
339 0x0b, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x40, 0x0a, 0x07,
340 0x63, 0x61, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e,
341 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c,
342 0x70, 0x68, 0x61, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x44,
343 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x06, 0x63, 0x61, 0x43, 0x65, 0x72, 0x74, 0x12, 0x46,
344 0x0a, 0x0a, 0x63, 0x65, 0x72, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x03,
345 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e,
346 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69,
347 0x63, 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x09, 0x63, 0x65, 0x72,
348 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x22, 0xd8, 0x02, 0x0a, 0x12, 0x43, 0x65, 0x72, 0x74, 0x69,
349 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x12, 0x0a,
350 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74,
351 0x68, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62,
352 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c,
353 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x55, 0x0a, 0x11, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63,
354 0x74, 0x5f, 0x61, 0x6c, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
355 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e,
356 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41,
357 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x0f, 0x73, 0x75,
358 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x32, 0x0a,
359 0x15, 0x64, 0x61, 0x79, 0x73, 0x5f, 0x75, 0x6e, 0x74, 0x69, 0x6c, 0x5f, 0x65, 0x78, 0x70, 0x69,
360 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x64, 0x61,
361 0x79, 0x73, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x45, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f,
362 0x6e, 0x12, 0x39, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x18,
363 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
364 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
365 0x70, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x43, 0x0a, 0x0f,
366 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
367 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
368 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
369 0x70, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d,
370 0x65, 0x22, 0x67, 0x0a, 0x14, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x74, 0x65,
371 0x72, 0x6e, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x03, 0x64, 0x6e, 0x73,
372 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x64, 0x6e, 0x73, 0x12, 0x12, 0x0a,
373 0x03, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72,
374 0x69, 0x12, 0x1f, 0x0a, 0x0a, 0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18,
375 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x69, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65,
376 0x73, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x75, 0x0a, 0x21, 0x69, 0x6f,
377 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
378 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42,
379 0x0a, 0x43, 0x65, 0x72, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a, 0x67,
380 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70,
381 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d,
382 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69,
383 0x6e, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10,
384 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
385 }
386
387 var (
388 file_envoy_admin_v2alpha_certs_proto_rawDescOnce sync.Once
389 file_envoy_admin_v2alpha_certs_proto_rawDescData = file_envoy_admin_v2alpha_certs_proto_rawDesc
390 )
391
392 func file_envoy_admin_v2alpha_certs_proto_rawDescGZIP() []byte {
393 file_envoy_admin_v2alpha_certs_proto_rawDescOnce.Do(func() {
394 file_envoy_admin_v2alpha_certs_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_admin_v2alpha_certs_proto_rawDescData)
395 })
396 return file_envoy_admin_v2alpha_certs_proto_rawDescData
397 }
398
399 var file_envoy_admin_v2alpha_certs_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
400 var file_envoy_admin_v2alpha_certs_proto_goTypes = []interface{}{
401 (*Certificates)(nil),
402 (*Certificate)(nil),
403 (*CertificateDetails)(nil),
404 (*SubjectAlternateName)(nil),
405 (*timestamp.Timestamp)(nil),
406 }
407 var file_envoy_admin_v2alpha_certs_proto_depIdxs = []int32{
408 1,
409 2,
410 2,
411 3,
412 4,
413 4,
414 6,
415 6,
416 6,
417 6,
418 0,
419 }
420
421 func init() { file_envoy_admin_v2alpha_certs_proto_init() }
422 func file_envoy_admin_v2alpha_certs_proto_init() {
423 if File_envoy_admin_v2alpha_certs_proto != nil {
424 return
425 }
426 if !protoimpl.UnsafeEnabled {
427 file_envoy_admin_v2alpha_certs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
428 switch v := v.(*Certificates); i {
429 case 0:
430 return &v.state
431 case 1:
432 return &v.sizeCache
433 case 2:
434 return &v.unknownFields
435 default:
436 return nil
437 }
438 }
439 file_envoy_admin_v2alpha_certs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
440 switch v := v.(*Certificate); i {
441 case 0:
442 return &v.state
443 case 1:
444 return &v.sizeCache
445 case 2:
446 return &v.unknownFields
447 default:
448 return nil
449 }
450 }
451 file_envoy_admin_v2alpha_certs_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
452 switch v := v.(*CertificateDetails); i {
453 case 0:
454 return &v.state
455 case 1:
456 return &v.sizeCache
457 case 2:
458 return &v.unknownFields
459 default:
460 return nil
461 }
462 }
463 file_envoy_admin_v2alpha_certs_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
464 switch v := v.(*SubjectAlternateName); i {
465 case 0:
466 return &v.state
467 case 1:
468 return &v.sizeCache
469 case 2:
470 return &v.unknownFields
471 default:
472 return nil
473 }
474 }
475 }
476 file_envoy_admin_v2alpha_certs_proto_msgTypes[3].OneofWrappers = []interface{}{
477 (*SubjectAlternateName_Dns)(nil),
478 (*SubjectAlternateName_Uri)(nil),
479 (*SubjectAlternateName_IpAddress)(nil),
480 }
481 type x struct{}
482 out := protoimpl.TypeBuilder{
483 File: protoimpl.DescBuilder{
484 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
485 RawDescriptor: file_envoy_admin_v2alpha_certs_proto_rawDesc,
486 NumEnums: 0,
487 NumMessages: 4,
488 NumExtensions: 0,
489 NumServices: 0,
490 },
491 GoTypes: file_envoy_admin_v2alpha_certs_proto_goTypes,
492 DependencyIndexes: file_envoy_admin_v2alpha_certs_proto_depIdxs,
493 MessageInfos: file_envoy_admin_v2alpha_certs_proto_msgTypes,
494 }.Build()
495 File_envoy_admin_v2alpha_certs_proto = out.File
496 file_envoy_admin_v2alpha_certs_proto_rawDesc = nil
497 file_envoy_admin_v2alpha_certs_proto_goTypes = nil
498 file_envoy_admin_v2alpha_certs_proto_depIdxs = nil
499 }
500
View as plain text