1
2
3
4
5
6
7 package envoy_admin_v4alpha
8
9 import (
10 _ "github.com/cncf/udpa/go/udpa/annotations"
11 v4alpha "github.com/datawire/ambassador/v2/pkg/api/envoy/config/cluster/v4alpha"
12 v4alpha1 "github.com/datawire/ambassador/v2/pkg/api/envoy/config/core/v4alpha"
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_v4alpha_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_v4alpha_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_v4alpha_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 *v4alpha.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_v4alpha_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_v4alpha_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_v4alpha_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() *v4alpha.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 *v4alpha1.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 *v4alpha1.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_v4alpha_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_v4alpha_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_v4alpha_clusters_proto_rawDescGZIP(), []int{2}
287 }
288
289 func (x *HostStatus) GetAddress() *v4alpha1.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() *v4alpha1.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 v4alpha1.HealthStatus `protobuf:"varint,3,opt,name=eds_health_status,json=edsHealthStatus,proto3,enum=envoy.config.core.v4alpha.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_v4alpha_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_v4alpha_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_v4alpha_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() v4alpha1.HealthStatus {
444 if x != nil {
445 return x.EdsHealthStatus
446 }
447 return v4alpha1.HealthStatus_UNKNOWN
448 }
449
450 var File_envoy_admin_v4alpha_clusters_proto protoreflect.FileDescriptor
451
452 var file_envoy_admin_v4alpha_clusters_proto_rawDesc = []byte{
453 0x0a, 0x22, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x34,
454 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x70,
455 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69,
456 0x6e, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x21, 0x65, 0x6e, 0x76, 0x6f, 0x79,
457 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x6d,
458 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x65, 0x6e,
459 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74,
460 0x65, 0x72, 0x2f, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x63, 0x69, 0x72, 0x63, 0x75,
461 0x69, 0x74, 0x5f, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
462 0x1a, 0x27, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63,
463 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x61, 0x64, 0x64, 0x72,
464 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79,
465 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x61,
466 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
467 0x2c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f,
468 0x72, 0x65, 0x2f, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x68, 0x65, 0x61, 0x6c, 0x74,
469 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x65,
470 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x65, 0x72,
471 0x63, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61,
472 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61,
473 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f,
474 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73,
475 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x79, 0x0a, 0x08,
476 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x4d, 0x0a, 0x10, 0x63, 0x6c, 0x75, 0x73,
477 0x74, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03,
478 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e,
479 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
480 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53,
481 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x3a, 0x1e, 0x9a, 0xc5, 0x88, 0x1e, 0x19, 0x0a, 0x17,
482 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x43,
483 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x22, 0xe2, 0x03, 0x0a, 0x0d, 0x43, 0x6c, 0x75, 0x73,
484 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
485 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a,
486 0x0d, 0x61, 0x64, 0x64, 0x65, 0x64, 0x5f, 0x76, 0x69, 0x61, 0x5f, 0x61, 0x70, 0x69, 0x18, 0x02,
487 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x61, 0x64, 0x64, 0x65, 0x64, 0x56, 0x69, 0x61, 0x41, 0x70,
488 0x69, 0x12, 0x5d, 0x0a, 0x1f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x72, 0x61, 0x74,
489 0x65, 0x5f, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73,
490 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65, 0x6e, 0x76,
491 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x65, 0x72, 0x63, 0x65,
492 0x6e, 0x74, 0x52, 0x1c, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x61, 0x74, 0x65, 0x45,
493 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64,
494 0x12, 0x44, 0x0a, 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65,
495 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
496 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x48, 0x6f,
497 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0c, 0x68, 0x6f, 0x73, 0x74, 0x53, 0x74,
498 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x12, 0x75, 0x0a, 0x2c, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f,
499 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x72,
500 0x61, 0x74, 0x65, 0x5f, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x68, 0x72,
501 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65,
502 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x65, 0x72,
503 0x63, 0x65, 0x6e, 0x74, 0x52, 0x27, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x72, 0x69, 0x67, 0x69,
504 0x6e, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x61, 0x74, 0x65, 0x45, 0x6a, 0x65, 0x63,
505 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x58, 0x0a,
506 0x10, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x5f, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72,
507 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
508 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76,
509 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72,
510 0x65, 0x61, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x0f, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42,
511 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x73, 0x3a, 0x23, 0x9a, 0xc5, 0x88, 0x1e, 0x1e, 0x0a, 0x1c,
512 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x43,
513 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x90, 0x04, 0x0a,
514 0x0a, 0x48, 0x6f, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3c, 0x0a, 0x07, 0x61,
515 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65,
516 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65,
517 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
518 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x37, 0x0a, 0x05, 0x73, 0x74, 0x61,
519 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
520 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53,
521 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x52, 0x05, 0x73, 0x74, 0x61,
522 0x74, 0x73, 0x12, 0x4a, 0x0a, 0x0d, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x73, 0x74, 0x61,
523 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
524 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e,
525 0x48, 0x6f, 0x73, 0x74, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
526 0x52, 0x0c, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x39,
527 0x0a, 0x0c, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x04,
528 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70,
529 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x73, 0x75,
530 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69,
531 0x67, 0x68, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68,
532 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20,
533 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a,
534 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52,
535 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x51, 0x0a, 0x19, 0x6c, 0x6f, 0x63,
536 0x61, 0x6c, 0x5f, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73,
537 0x73, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65,
538 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x65, 0x72,
539 0x63, 0x65, 0x6e, 0x74, 0x52, 0x16, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x72, 0x69, 0x67, 0x69,
540 0x6e, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x61, 0x74, 0x65, 0x12, 0x3f, 0x0a, 0x08,
541 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23,
542 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f,
543 0x72, 0x65, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c,
544 0x69, 0x74, 0x79, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x3a, 0x20, 0x9a,
545 0xc5, 0x88, 0x1e, 0x1b, 0x0a, 0x19, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69,
546 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22,
547 0xa3, 0x03, 0x0a, 0x10, 0x48, 0x6f, 0x73, 0x74, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x53, 0x74,
548 0x61, 0x74, 0x75, 0x73, 0x12, 0x3b, 0x0a, 0x1a, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x61,
549 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65,
550 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64,
551 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63,
552 0x6b, 0x12, 0x30, 0x0a, 0x14, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x6f, 0x75, 0x74, 0x6c,
553 0x69, 0x65, 0x72, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
554 0x12, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x43, 0x68,
555 0x65, 0x63, 0x6b, 0x12, 0x3f, 0x0a, 0x1c, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x63,
556 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x67, 0x72, 0x61, 0x64, 0x65, 0x64, 0x5f, 0x63, 0x68,
557 0x65, 0x63, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x19, 0x66, 0x61, 0x69, 0x6c, 0x65,
558 0x64, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x44, 0x65, 0x67, 0x72, 0x61, 0x64, 0x65, 0x64, 0x43,
559 0x68, 0x65, 0x63, 0x6b, 0x12, 0x36, 0x0a, 0x17, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f,
560 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x18,
561 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x44, 0x79,
562 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x12, 0x2a, 0x0a, 0x11,
563 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x68,
564 0x63, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67,
565 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x48, 0x63, 0x12, 0x53, 0x0a, 0x11, 0x65, 0x64, 0x73, 0x5f,
566 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20,
567 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66,
568 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e,
569 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0f, 0x65, 0x64,
570 0x73, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, 0x26, 0x9a,
571 0xc5, 0x88, 0x1e, 0x21, 0x0a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69,
572 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x53,
573 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x3c, 0x0a, 0x21, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
574 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d,
575 0x69, 0x6e, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x0d, 0x43, 0x6c, 0x75, 0x73,
576 0x74, 0x65, 0x72, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06,
577 0x02, 0x10, 0x03, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
578 }
579
580 var (
581 file_envoy_admin_v4alpha_clusters_proto_rawDescOnce sync.Once
582 file_envoy_admin_v4alpha_clusters_proto_rawDescData = file_envoy_admin_v4alpha_clusters_proto_rawDesc
583 )
584
585 func file_envoy_admin_v4alpha_clusters_proto_rawDescGZIP() []byte {
586 file_envoy_admin_v4alpha_clusters_proto_rawDescOnce.Do(func() {
587 file_envoy_admin_v4alpha_clusters_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_admin_v4alpha_clusters_proto_rawDescData)
588 })
589 return file_envoy_admin_v4alpha_clusters_proto_rawDescData
590 }
591
592 var file_envoy_admin_v4alpha_clusters_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
593 var file_envoy_admin_v4alpha_clusters_proto_goTypes = []interface{}{
594 (*Clusters)(nil),
595 (*ClusterStatus)(nil),
596 (*HostStatus)(nil),
597 (*HostHealthStatus)(nil),
598 (*v3.Percent)(nil),
599 (*v4alpha.CircuitBreakers)(nil),
600 (*v4alpha1.Address)(nil),
601 (*SimpleMetric)(nil),
602 (*v4alpha1.Locality)(nil),
603 (v4alpha1.HealthStatus)(0),
604 }
605 var file_envoy_admin_v4alpha_clusters_proto_depIdxs = []int32{
606 1,
607 4,
608 2,
609 4,
610 5,
611 6,
612 7,
613 3,
614 4,
615 4,
616 8,
617 9,
618 12,
619 12,
620 12,
621 12,
622 0,
623 }
624
625 func init() { file_envoy_admin_v4alpha_clusters_proto_init() }
626 func file_envoy_admin_v4alpha_clusters_proto_init() {
627 if File_envoy_admin_v4alpha_clusters_proto != nil {
628 return
629 }
630 file_envoy_admin_v4alpha_metrics_proto_init()
631 if !protoimpl.UnsafeEnabled {
632 file_envoy_admin_v4alpha_clusters_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
633 switch v := v.(*Clusters); i {
634 case 0:
635 return &v.state
636 case 1:
637 return &v.sizeCache
638 case 2:
639 return &v.unknownFields
640 default:
641 return nil
642 }
643 }
644 file_envoy_admin_v4alpha_clusters_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
645 switch v := v.(*ClusterStatus); i {
646 case 0:
647 return &v.state
648 case 1:
649 return &v.sizeCache
650 case 2:
651 return &v.unknownFields
652 default:
653 return nil
654 }
655 }
656 file_envoy_admin_v4alpha_clusters_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
657 switch v := v.(*HostStatus); i {
658 case 0:
659 return &v.state
660 case 1:
661 return &v.sizeCache
662 case 2:
663 return &v.unknownFields
664 default:
665 return nil
666 }
667 }
668 file_envoy_admin_v4alpha_clusters_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
669 switch v := v.(*HostHealthStatus); i {
670 case 0:
671 return &v.state
672 case 1:
673 return &v.sizeCache
674 case 2:
675 return &v.unknownFields
676 default:
677 return nil
678 }
679 }
680 }
681 type x struct{}
682 out := protoimpl.TypeBuilder{
683 File: protoimpl.DescBuilder{
684 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
685 RawDescriptor: file_envoy_admin_v4alpha_clusters_proto_rawDesc,
686 NumEnums: 0,
687 NumMessages: 4,
688 NumExtensions: 0,
689 NumServices: 0,
690 },
691 GoTypes: file_envoy_admin_v4alpha_clusters_proto_goTypes,
692 DependencyIndexes: file_envoy_admin_v4alpha_clusters_proto_depIdxs,
693 MessageInfos: file_envoy_admin_v4alpha_clusters_proto_msgTypes,
694 }.Build()
695 File_envoy_admin_v4alpha_clusters_proto = out.File
696 file_envoy_admin_v4alpha_clusters_proto_rawDesc = nil
697 file_envoy_admin_v4alpha_clusters_proto_goTypes = nil
698 file_envoy_admin_v4alpha_clusters_proto_depIdxs = nil
699 }
700
View as plain text