1
2
3
4
5
6
7 package envoy_admin_v3
8
9 import (
10 _ "github.com/cncf/udpa/go/udpa/annotations"
11 v31 "github.com/datawire/ambassador/v2/pkg/api/envoy/config/cluster/v3"
12 v32 "github.com/datawire/ambassador/v2/pkg/api/envoy/config/core/v3"
13 v3 "github.com/datawire/ambassador/v2/pkg/api/envoy/type/v3"
14 proto "github.com/golang/protobuf/proto"
15 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
16 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
17 reflect "reflect"
18 sync "sync"
19 )
20
21 const (
22
23 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
24
25 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
26 )
27
28
29
30 const _ = proto.ProtoPackageIsVersion4
31
32
33
34 type Clusters struct {
35 state protoimpl.MessageState
36 sizeCache protoimpl.SizeCache
37 unknownFields protoimpl.UnknownFields
38
39
40 ClusterStatuses []*ClusterStatus `protobuf:"bytes,1,rep,name=cluster_statuses,json=clusterStatuses,proto3" json:"cluster_statuses,omitempty"`
41 }
42
43 func (x *Clusters) Reset() {
44 *x = Clusters{}
45 if protoimpl.UnsafeEnabled {
46 mi := &file_envoy_admin_v3_clusters_proto_msgTypes[0]
47 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
48 ms.StoreMessageInfo(mi)
49 }
50 }
51
52 func (x *Clusters) String() string {
53 return protoimpl.X.MessageStringOf(x)
54 }
55
56 func (*Clusters) ProtoMessage() {}
57
58 func (x *Clusters) ProtoReflect() protoreflect.Message {
59 mi := &file_envoy_admin_v3_clusters_proto_msgTypes[0]
60 if protoimpl.UnsafeEnabled && x != nil {
61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
62 if ms.LoadMessageInfo() == nil {
63 ms.StoreMessageInfo(mi)
64 }
65 return ms
66 }
67 return mi.MessageOf(x)
68 }
69
70
71 func (*Clusters) Descriptor() ([]byte, []int) {
72 return file_envoy_admin_v3_clusters_proto_rawDescGZIP(), []int{0}
73 }
74
75 func (x *Clusters) GetClusterStatuses() []*ClusterStatus {
76 if x != nil {
77 return x.ClusterStatuses
78 }
79 return nil
80 }
81
82
83
84 type ClusterStatus struct {
85 state protoimpl.MessageState
86 sizeCache protoimpl.SizeCache
87 unknownFields protoimpl.UnknownFields
88
89
90 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
91
92 AddedViaApi bool `protobuf:"varint,2,opt,name=added_via_api,json=addedViaApi,proto3" json:"added_via_api,omitempty"`
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110 SuccessRateEjectionThreshold *v3.Percent `protobuf:"bytes,3,opt,name=success_rate_ejection_threshold,json=successRateEjectionThreshold,proto3" json:"success_rate_ejection_threshold,omitempty"`
111
112 HostStatuses []*HostStatus `protobuf:"bytes,4,rep,name=host_statuses,json=hostStatuses,proto3" json:"host_statuses,omitempty"`
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128 LocalOriginSuccessRateEjectionThreshold *v3.Percent `protobuf:"bytes,5,opt,name=local_origin_success_rate_ejection_threshold,json=localOriginSuccessRateEjectionThreshold,proto3" json:"local_origin_success_rate_ejection_threshold,omitempty"`
129
130 CircuitBreakers *v31.CircuitBreakers `protobuf:"bytes,6,opt,name=circuit_breakers,json=circuitBreakers,proto3" json:"circuit_breakers,omitempty"`
131 }
132
133 func (x *ClusterStatus) Reset() {
134 *x = ClusterStatus{}
135 if protoimpl.UnsafeEnabled {
136 mi := &file_envoy_admin_v3_clusters_proto_msgTypes[1]
137 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
138 ms.StoreMessageInfo(mi)
139 }
140 }
141
142 func (x *ClusterStatus) String() string {
143 return protoimpl.X.MessageStringOf(x)
144 }
145
146 func (*ClusterStatus) ProtoMessage() {}
147
148 func (x *ClusterStatus) ProtoReflect() protoreflect.Message {
149 mi := &file_envoy_admin_v3_clusters_proto_msgTypes[1]
150 if protoimpl.UnsafeEnabled && x != nil {
151 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
152 if ms.LoadMessageInfo() == nil {
153 ms.StoreMessageInfo(mi)
154 }
155 return ms
156 }
157 return mi.MessageOf(x)
158 }
159
160
161 func (*ClusterStatus) Descriptor() ([]byte, []int) {
162 return file_envoy_admin_v3_clusters_proto_rawDescGZIP(), []int{1}
163 }
164
165 func (x *ClusterStatus) GetName() string {
166 if x != nil {
167 return x.Name
168 }
169 return ""
170 }
171
172 func (x *ClusterStatus) GetAddedViaApi() bool {
173 if x != nil {
174 return x.AddedViaApi
175 }
176 return false
177 }
178
179 func (x *ClusterStatus) GetSuccessRateEjectionThreshold() *v3.Percent {
180 if x != nil {
181 return x.SuccessRateEjectionThreshold
182 }
183 return nil
184 }
185
186 func (x *ClusterStatus) GetHostStatuses() []*HostStatus {
187 if x != nil {
188 return x.HostStatuses
189 }
190 return nil
191 }
192
193 func (x *ClusterStatus) GetLocalOriginSuccessRateEjectionThreshold() *v3.Percent {
194 if x != nil {
195 return x.LocalOriginSuccessRateEjectionThreshold
196 }
197 return nil
198 }
199
200 func (x *ClusterStatus) GetCircuitBreakers() *v31.CircuitBreakers {
201 if x != nil {
202 return x.CircuitBreakers
203 }
204 return nil
205 }
206
207
208
209 type HostStatus struct {
210 state protoimpl.MessageState
211 sizeCache protoimpl.SizeCache
212 unknownFields protoimpl.UnknownFields
213
214
215 Address *v32.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
216
217 Stats []*SimpleMetric `protobuf:"bytes,2,rep,name=stats,proto3" json:"stats,omitempty"`
218
219 HealthStatus *HostHealthStatus `protobuf:"bytes,3,opt,name=health_status,json=healthStatus,proto3" json:"health_status,omitempty"`
220
221
222
223
224
225
226
227
228
229
230
231
232
233 SuccessRate *v3.Percent `protobuf:"bytes,4,opt,name=success_rate,json=successRate,proto3" json:"success_rate,omitempty"`
234
235 Weight uint32 `protobuf:"varint,5,opt,name=weight,proto3" json:"weight,omitempty"`
236
237 Hostname string `protobuf:"bytes,6,opt,name=hostname,proto3" json:"hostname,omitempty"`
238
239 Priority uint32 `protobuf:"varint,7,opt,name=priority,proto3" json:"priority,omitempty"`
240
241
242
243
244
245
246
247
248
249
250
251
252 LocalOriginSuccessRate *v3.Percent `protobuf:"bytes,8,opt,name=local_origin_success_rate,json=localOriginSuccessRate,proto3" json:"local_origin_success_rate,omitempty"`
253
254 Locality *v32.Locality `protobuf:"bytes,9,opt,name=locality,proto3" json:"locality,omitempty"`
255 }
256
257 func (x *HostStatus) Reset() {
258 *x = HostStatus{}
259 if protoimpl.UnsafeEnabled {
260 mi := &file_envoy_admin_v3_clusters_proto_msgTypes[2]
261 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
262 ms.StoreMessageInfo(mi)
263 }
264 }
265
266 func (x *HostStatus) String() string {
267 return protoimpl.X.MessageStringOf(x)
268 }
269
270 func (*HostStatus) ProtoMessage() {}
271
272 func (x *HostStatus) ProtoReflect() protoreflect.Message {
273 mi := &file_envoy_admin_v3_clusters_proto_msgTypes[2]
274 if protoimpl.UnsafeEnabled && x != nil {
275 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
276 if ms.LoadMessageInfo() == nil {
277 ms.StoreMessageInfo(mi)
278 }
279 return ms
280 }
281 return mi.MessageOf(x)
282 }
283
284
285 func (*HostStatus) Descriptor() ([]byte, []int) {
286 return file_envoy_admin_v3_clusters_proto_rawDescGZIP(), []int{2}
287 }
288
289 func (x *HostStatus) GetAddress() *v32.Address {
290 if x != nil {
291 return x.Address
292 }
293 return nil
294 }
295
296 func (x *HostStatus) GetStats() []*SimpleMetric {
297 if x != nil {
298 return x.Stats
299 }
300 return nil
301 }
302
303 func (x *HostStatus) GetHealthStatus() *HostHealthStatus {
304 if x != nil {
305 return x.HealthStatus
306 }
307 return nil
308 }
309
310 func (x *HostStatus) GetSuccessRate() *v3.Percent {
311 if x != nil {
312 return x.SuccessRate
313 }
314 return nil
315 }
316
317 func (x *HostStatus) GetWeight() uint32 {
318 if x != nil {
319 return x.Weight
320 }
321 return 0
322 }
323
324 func (x *HostStatus) GetHostname() string {
325 if x != nil {
326 return x.Hostname
327 }
328 return ""
329 }
330
331 func (x *HostStatus) GetPriority() uint32 {
332 if x != nil {
333 return x.Priority
334 }
335 return 0
336 }
337
338 func (x *HostStatus) GetLocalOriginSuccessRate() *v3.Percent {
339 if x != nil {
340 return x.LocalOriginSuccessRate
341 }
342 return nil
343 }
344
345 func (x *HostStatus) GetLocality() *v32.Locality {
346 if x != nil {
347 return x.Locality
348 }
349 return nil
350 }
351
352
353
354 type HostHealthStatus struct {
355 state protoimpl.MessageState
356 sizeCache protoimpl.SizeCache
357 unknownFields protoimpl.UnknownFields
358
359
360 FailedActiveHealthCheck bool `protobuf:"varint,1,opt,name=failed_active_health_check,json=failedActiveHealthCheck,proto3" json:"failed_active_health_check,omitempty"`
361
362 FailedOutlierCheck bool `protobuf:"varint,2,opt,name=failed_outlier_check,json=failedOutlierCheck,proto3" json:"failed_outlier_check,omitempty"`
363
364 FailedActiveDegradedCheck bool `protobuf:"varint,4,opt,name=failed_active_degraded_check,json=failedActiveDegradedCheck,proto3" json:"failed_active_degraded_check,omitempty"`
365
366
367 PendingDynamicRemoval bool `protobuf:"varint,5,opt,name=pending_dynamic_removal,json=pendingDynamicRemoval,proto3" json:"pending_dynamic_removal,omitempty"`
368
369 PendingActiveHc bool `protobuf:"varint,6,opt,name=pending_active_hc,json=pendingActiveHc,proto3" json:"pending_active_hc,omitempty"`
370
371
372
373 EdsHealthStatus v32.HealthStatus `protobuf:"varint,3,opt,name=eds_health_status,json=edsHealthStatus,proto3,enum=envoy.config.core.v3.HealthStatus" json:"eds_health_status,omitempty"`
374 }
375
376 func (x *HostHealthStatus) Reset() {
377 *x = HostHealthStatus{}
378 if protoimpl.UnsafeEnabled {
379 mi := &file_envoy_admin_v3_clusters_proto_msgTypes[3]
380 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
381 ms.StoreMessageInfo(mi)
382 }
383 }
384
385 func (x *HostHealthStatus) String() string {
386 return protoimpl.X.MessageStringOf(x)
387 }
388
389 func (*HostHealthStatus) ProtoMessage() {}
390
391 func (x *HostHealthStatus) ProtoReflect() protoreflect.Message {
392 mi := &file_envoy_admin_v3_clusters_proto_msgTypes[3]
393 if protoimpl.UnsafeEnabled && x != nil {
394 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
395 if ms.LoadMessageInfo() == nil {
396 ms.StoreMessageInfo(mi)
397 }
398 return ms
399 }
400 return mi.MessageOf(x)
401 }
402
403
404 func (*HostHealthStatus) Descriptor() ([]byte, []int) {
405 return file_envoy_admin_v3_clusters_proto_rawDescGZIP(), []int{3}
406 }
407
408 func (x *HostHealthStatus) GetFailedActiveHealthCheck() bool {
409 if x != nil {
410 return x.FailedActiveHealthCheck
411 }
412 return false
413 }
414
415 func (x *HostHealthStatus) GetFailedOutlierCheck() bool {
416 if x != nil {
417 return x.FailedOutlierCheck
418 }
419 return false
420 }
421
422 func (x *HostHealthStatus) GetFailedActiveDegradedCheck() bool {
423 if x != nil {
424 return x.FailedActiveDegradedCheck
425 }
426 return false
427 }
428
429 func (x *HostHealthStatus) GetPendingDynamicRemoval() bool {
430 if x != nil {
431 return x.PendingDynamicRemoval
432 }
433 return false
434 }
435
436 func (x *HostHealthStatus) GetPendingActiveHc() bool {
437 if x != nil {
438 return x.PendingActiveHc
439 }
440 return false
441 }
442
443 func (x *HostHealthStatus) GetEdsHealthStatus() v32.HealthStatus {
444 if x != nil {
445 return x.EdsHealthStatus
446 }
447 return v32.HealthStatus_UNKNOWN
448 }
449
450 var File_envoy_admin_v3_clusters_proto protoreflect.FileDescriptor
451
452 var file_envoy_admin_v3_clusters_proto_rawDesc = []byte{
453 0x0a, 0x1d, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33,
454 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
455 0x0e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x1a,
456 0x1c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33, 0x2f,
457 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x65,
458 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6c, 0x75, 0x73,
459 0x74, 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x5f, 0x62,
460 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x65, 0x6e,
461 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f,
462 0x76, 0x33, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
463 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63,
464 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
465 0x6f, 0x1a, 0x27, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f,
466 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63,
467 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x65, 0x6e, 0x76, 0x6f,
468 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e,
469 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e,
470 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
471 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e,
472 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
473 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x79, 0x0a, 0x08, 0x43, 0x6c, 0x75,
474 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x48, 0x0a, 0x10, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
475 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
476 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33,
477 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0f,
478 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x3a,
479 0x23, 0x9a, 0xc5, 0x88, 0x1e, 0x1e, 0x0a, 0x1c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64,
480 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x6c, 0x75, 0x73,
481 0x74, 0x65, 0x72, 0x73, 0x22, 0xdd, 0x03, 0x0a, 0x0d, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
482 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
483 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x61, 0x64,
484 0x64, 0x65, 0x64, 0x5f, 0x76, 0x69, 0x61, 0x5f, 0x61, 0x70, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28,
485 0x08, 0x52, 0x0b, 0x61, 0x64, 0x64, 0x65, 0x64, 0x56, 0x69, 0x61, 0x41, 0x70, 0x69, 0x12, 0x5d,
486 0x0a, 0x1f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x65,
487 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c,
488 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
489 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x52,
490 0x1c, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x61, 0x74, 0x65, 0x45, 0x6a, 0x65, 0x63,
491 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x3f, 0x0a,
492 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x04,
493 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d,
494 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
495 0x52, 0x0c, 0x68, 0x6f, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x12, 0x75,
496 0x0a, 0x2c, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x73,
497 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x65, 0x6a, 0x65, 0x63,
498 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x05,
499 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70,
500 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x52, 0x27, 0x6c, 0x6f,
501 0x63, 0x61, 0x6c, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
502 0x52, 0x61, 0x74, 0x65, 0x45, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x68, 0x72, 0x65,
503 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x53, 0x0a, 0x10, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74,
504 0x5f, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
505 0x28, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63,
506 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69,
507 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x0f, 0x63, 0x69, 0x72, 0x63, 0x75,
508 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x73, 0x3a, 0x28, 0x9a, 0xc5, 0x88, 0x1e,
509 0x23, 0x0a, 0x21, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76,
510 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x74,
511 0x61, 0x74, 0x75, 0x73, 0x22, 0x81, 0x04, 0x0a, 0x0a, 0x48, 0x6f, 0x73, 0x74, 0x53, 0x74, 0x61,
512 0x74, 0x75, 0x73, 0x12, 0x37, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01,
513 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
514 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x64, 0x64, 0x72,
515 0x65, 0x73, 0x73, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x32, 0x0a, 0x05,
516 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x6e,
517 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x69, 0x6d,
518 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73,
519 0x12, 0x45, 0x0a, 0x0d, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75,
520 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
521 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x48, 0x65, 0x61,
522 0x6c, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0c, 0x68, 0x65, 0x61, 0x6c, 0x74,
523 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x39, 0x0a, 0x0c, 0x73, 0x75, 0x63, 0x63, 0x65,
524 0x73, 0x73, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e,
525 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x65,
526 0x72, 0x63, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x61,
527 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x05, 0x20, 0x01,
528 0x28, 0x0d, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f,
529 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f,
530 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69,
531 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69,
532 0x74, 0x79, 0x12, 0x51, 0x0a, 0x19, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x6f, 0x72, 0x69, 0x67,
533 0x69, 0x6e, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18,
534 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79,
535 0x70, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x52, 0x16, 0x6c,
536 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73,
537 0x73, 0x52, 0x61, 0x74, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74,
538 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
539 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x4c,
540 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74,
541 0x79, 0x3a, 0x25, 0x9a, 0xc5, 0x88, 0x1e, 0x20, 0x0a, 0x1e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
542 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x48, 0x6f,
543 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xa3, 0x03, 0x0a, 0x10, 0x48, 0x6f, 0x73,
544 0x74, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3b, 0x0a,
545 0x1a, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x68,
546 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28,
547 0x08, 0x52, 0x17, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x48,
548 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x30, 0x0a, 0x14, 0x66, 0x61,
549 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x6f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x63, 0x68, 0x65,
550 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64,
551 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x3f, 0x0a, 0x1c,
552 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65,
553 0x67, 0x72, 0x61, 0x64, 0x65, 0x64, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x04, 0x20, 0x01,
554 0x28, 0x08, 0x52, 0x19, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65,
555 0x44, 0x65, 0x67, 0x72, 0x61, 0x64, 0x65, 0x64, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x36, 0x0a,
556 0x17, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63,
557 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15,
558 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x52, 0x65,
559 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67,
560 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x68, 0x63, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08,
561 0x52, 0x0f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x48,
562 0x63, 0x12, 0x4e, 0x0a, 0x11, 0x65, 0x64, 0x73, 0x5f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f,
563 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x65,
564 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65,
565 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
566 0x52, 0x0f, 0x65, 0x64, 0x73, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75,
567 0x73, 0x3a, 0x2b, 0x9a, 0xc5, 0x88, 0x1e, 0x26, 0x0a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
568 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x48, 0x6f,
569 0x73, 0x74, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x37,
570 0x0a, 0x1c, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e,
571 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x42, 0x0d,
572 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba,
573 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
574 }
575
576 var (
577 file_envoy_admin_v3_clusters_proto_rawDescOnce sync.Once
578 file_envoy_admin_v3_clusters_proto_rawDescData = file_envoy_admin_v3_clusters_proto_rawDesc
579 )
580
581 func file_envoy_admin_v3_clusters_proto_rawDescGZIP() []byte {
582 file_envoy_admin_v3_clusters_proto_rawDescOnce.Do(func() {
583 file_envoy_admin_v3_clusters_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_admin_v3_clusters_proto_rawDescData)
584 })
585 return file_envoy_admin_v3_clusters_proto_rawDescData
586 }
587
588 var file_envoy_admin_v3_clusters_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
589 var file_envoy_admin_v3_clusters_proto_goTypes = []interface{}{
590 (*Clusters)(nil),
591 (*ClusterStatus)(nil),
592 (*HostStatus)(nil),
593 (*HostHealthStatus)(nil),
594 (*v3.Percent)(nil),
595 (*v31.CircuitBreakers)(nil),
596 (*v32.Address)(nil),
597 (*SimpleMetric)(nil),
598 (*v32.Locality)(nil),
599 (v32.HealthStatus)(0),
600 }
601 var file_envoy_admin_v3_clusters_proto_depIdxs = []int32{
602 1,
603 4,
604 2,
605 4,
606 5,
607 6,
608 7,
609 3,
610 4,
611 4,
612 8,
613 9,
614 12,
615 12,
616 12,
617 12,
618 0,
619 }
620
621 func init() { file_envoy_admin_v3_clusters_proto_init() }
622 func file_envoy_admin_v3_clusters_proto_init() {
623 if File_envoy_admin_v3_clusters_proto != nil {
624 return
625 }
626 file_envoy_admin_v3_metrics_proto_init()
627 if !protoimpl.UnsafeEnabled {
628 file_envoy_admin_v3_clusters_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
629 switch v := v.(*Clusters); i {
630 case 0:
631 return &v.state
632 case 1:
633 return &v.sizeCache
634 case 2:
635 return &v.unknownFields
636 default:
637 return nil
638 }
639 }
640 file_envoy_admin_v3_clusters_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
641 switch v := v.(*ClusterStatus); i {
642 case 0:
643 return &v.state
644 case 1:
645 return &v.sizeCache
646 case 2:
647 return &v.unknownFields
648 default:
649 return nil
650 }
651 }
652 file_envoy_admin_v3_clusters_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
653 switch v := v.(*HostStatus); i {
654 case 0:
655 return &v.state
656 case 1:
657 return &v.sizeCache
658 case 2:
659 return &v.unknownFields
660 default:
661 return nil
662 }
663 }
664 file_envoy_admin_v3_clusters_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
665 switch v := v.(*HostHealthStatus); i {
666 case 0:
667 return &v.state
668 case 1:
669 return &v.sizeCache
670 case 2:
671 return &v.unknownFields
672 default:
673 return nil
674 }
675 }
676 }
677 type x struct{}
678 out := protoimpl.TypeBuilder{
679 File: protoimpl.DescBuilder{
680 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
681 RawDescriptor: file_envoy_admin_v3_clusters_proto_rawDesc,
682 NumEnums: 0,
683 NumMessages: 4,
684 NumExtensions: 0,
685 NumServices: 0,
686 },
687 GoTypes: file_envoy_admin_v3_clusters_proto_goTypes,
688 DependencyIndexes: file_envoy_admin_v3_clusters_proto_depIdxs,
689 MessageInfos: file_envoy_admin_v3_clusters_proto_msgTypes,
690 }.Build()
691 File_envoy_admin_v3_clusters_proto = out.File
692 file_envoy_admin_v3_clusters_proto_rawDesc = nil
693 file_envoy_admin_v3_clusters_proto_goTypes = nil
694 file_envoy_admin_v3_clusters_proto_depIdxs = nil
695 }
696
View as plain text