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