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