1
2
3
4
5
6
7 package v2alpha
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 _ "github.com/envoyproxy/protoc-gen-validate/validate"
12 timestamp "github.com/golang/protobuf/ptypes/timestamp"
13 wrappers "github.com/golang/protobuf/ptypes/wrappers"
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 type OutlierEjectionType int32
29
30 const (
31
32
33
34
35
36
37 OutlierEjectionType_CONSECUTIVE_5XX OutlierEjectionType = 0
38
39 OutlierEjectionType_CONSECUTIVE_GATEWAY_FAILURE OutlierEjectionType = 1
40
41
42
43
44
45
46
47
48 OutlierEjectionType_SUCCESS_RATE OutlierEjectionType = 2
49
50
51
52
53
54 OutlierEjectionType_CONSECUTIVE_LOCAL_ORIGIN_FAILURE OutlierEjectionType = 3
55
56
57
58
59
60
61 OutlierEjectionType_SUCCESS_RATE_LOCAL_ORIGIN OutlierEjectionType = 4
62
63
64 OutlierEjectionType_FAILURE_PERCENTAGE OutlierEjectionType = 5
65
66
67 OutlierEjectionType_FAILURE_PERCENTAGE_LOCAL_ORIGIN OutlierEjectionType = 6
68 )
69
70
71 var (
72 OutlierEjectionType_name = map[int32]string{
73 0: "CONSECUTIVE_5XX",
74 1: "CONSECUTIVE_GATEWAY_FAILURE",
75 2: "SUCCESS_RATE",
76 3: "CONSECUTIVE_LOCAL_ORIGIN_FAILURE",
77 4: "SUCCESS_RATE_LOCAL_ORIGIN",
78 5: "FAILURE_PERCENTAGE",
79 6: "FAILURE_PERCENTAGE_LOCAL_ORIGIN",
80 }
81 OutlierEjectionType_value = map[string]int32{
82 "CONSECUTIVE_5XX": 0,
83 "CONSECUTIVE_GATEWAY_FAILURE": 1,
84 "SUCCESS_RATE": 2,
85 "CONSECUTIVE_LOCAL_ORIGIN_FAILURE": 3,
86 "SUCCESS_RATE_LOCAL_ORIGIN": 4,
87 "FAILURE_PERCENTAGE": 5,
88 "FAILURE_PERCENTAGE_LOCAL_ORIGIN": 6,
89 }
90 )
91
92 func (x OutlierEjectionType) Enum() *OutlierEjectionType {
93 p := new(OutlierEjectionType)
94 *p = x
95 return p
96 }
97
98 func (x OutlierEjectionType) String() string {
99 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
100 }
101
102 func (OutlierEjectionType) Descriptor() protoreflect.EnumDescriptor {
103 return file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_enumTypes[0].Descriptor()
104 }
105
106 func (OutlierEjectionType) Type() protoreflect.EnumType {
107 return &file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_enumTypes[0]
108 }
109
110 func (x OutlierEjectionType) Number() protoreflect.EnumNumber {
111 return protoreflect.EnumNumber(x)
112 }
113
114
115 func (OutlierEjectionType) EnumDescriptor() ([]byte, []int) {
116 return file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_rawDescGZIP(), []int{0}
117 }
118
119
120 type Action int32
121
122 const (
123
124 Action_EJECT Action = 0
125
126 Action_UNEJECT Action = 1
127 )
128
129
130 var (
131 Action_name = map[int32]string{
132 0: "EJECT",
133 1: "UNEJECT",
134 }
135 Action_value = map[string]int32{
136 "EJECT": 0,
137 "UNEJECT": 1,
138 }
139 )
140
141 func (x Action) Enum() *Action {
142 p := new(Action)
143 *p = x
144 return p
145 }
146
147 func (x Action) String() string {
148 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
149 }
150
151 func (Action) Descriptor() protoreflect.EnumDescriptor {
152 return file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_enumTypes[1].Descriptor()
153 }
154
155 func (Action) Type() protoreflect.EnumType {
156 return &file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_enumTypes[1]
157 }
158
159 func (x Action) Number() protoreflect.EnumNumber {
160 return protoreflect.EnumNumber(x)
161 }
162
163
164 func (Action) EnumDescriptor() ([]byte, []int) {
165 return file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_rawDescGZIP(), []int{1}
166 }
167
168
169 type OutlierDetectionEvent struct {
170 state protoimpl.MessageState
171 sizeCache protoimpl.SizeCache
172 unknownFields protoimpl.UnknownFields
173
174
175 Type OutlierEjectionType `protobuf:"varint,1,opt,name=type,proto3,enum=envoy.data.cluster.v2alpha.OutlierEjectionType" json:"type,omitempty"`
176
177 Timestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
178
179 SecsSinceLastAction *wrappers.UInt64Value `protobuf:"bytes,3,opt,name=secs_since_last_action,json=secsSinceLastAction,proto3" json:"secs_since_last_action,omitempty"`
180
181 ClusterName string `protobuf:"bytes,4,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
182
183 UpstreamUrl string `protobuf:"bytes,5,opt,name=upstream_url,json=upstreamUrl,proto3" json:"upstream_url,omitempty"`
184
185 Action Action `protobuf:"varint,6,opt,name=action,proto3,enum=envoy.data.cluster.v2alpha.Action" json:"action,omitempty"`
186
187
188
189 NumEjections uint32 `protobuf:"varint,7,opt,name=num_ejections,json=numEjections,proto3" json:"num_ejections,omitempty"`
190
191
192 Enforced bool `protobuf:"varint,8,opt,name=enforced,proto3" json:"enforced,omitempty"`
193
194
195
196
197 Event isOutlierDetectionEvent_Event `protobuf_oneof:"event"`
198 }
199
200 func (x *OutlierDetectionEvent) Reset() {
201 *x = OutlierDetectionEvent{}
202 if protoimpl.UnsafeEnabled {
203 mi := &file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_msgTypes[0]
204 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
205 ms.StoreMessageInfo(mi)
206 }
207 }
208
209 func (x *OutlierDetectionEvent) String() string {
210 return protoimpl.X.MessageStringOf(x)
211 }
212
213 func (*OutlierDetectionEvent) ProtoMessage() {}
214
215 func (x *OutlierDetectionEvent) ProtoReflect() protoreflect.Message {
216 mi := &file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_msgTypes[0]
217 if protoimpl.UnsafeEnabled && x != nil {
218 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
219 if ms.LoadMessageInfo() == nil {
220 ms.StoreMessageInfo(mi)
221 }
222 return ms
223 }
224 return mi.MessageOf(x)
225 }
226
227
228 func (*OutlierDetectionEvent) Descriptor() ([]byte, []int) {
229 return file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_rawDescGZIP(), []int{0}
230 }
231
232 func (x *OutlierDetectionEvent) GetType() OutlierEjectionType {
233 if x != nil {
234 return x.Type
235 }
236 return OutlierEjectionType_CONSECUTIVE_5XX
237 }
238
239 func (x *OutlierDetectionEvent) GetTimestamp() *timestamp.Timestamp {
240 if x != nil {
241 return x.Timestamp
242 }
243 return nil
244 }
245
246 func (x *OutlierDetectionEvent) GetSecsSinceLastAction() *wrappers.UInt64Value {
247 if x != nil {
248 return x.SecsSinceLastAction
249 }
250 return nil
251 }
252
253 func (x *OutlierDetectionEvent) GetClusterName() string {
254 if x != nil {
255 return x.ClusterName
256 }
257 return ""
258 }
259
260 func (x *OutlierDetectionEvent) GetUpstreamUrl() string {
261 if x != nil {
262 return x.UpstreamUrl
263 }
264 return ""
265 }
266
267 func (x *OutlierDetectionEvent) GetAction() Action {
268 if x != nil {
269 return x.Action
270 }
271 return Action_EJECT
272 }
273
274 func (x *OutlierDetectionEvent) GetNumEjections() uint32 {
275 if x != nil {
276 return x.NumEjections
277 }
278 return 0
279 }
280
281 func (x *OutlierDetectionEvent) GetEnforced() bool {
282 if x != nil {
283 return x.Enforced
284 }
285 return false
286 }
287
288 func (m *OutlierDetectionEvent) GetEvent() isOutlierDetectionEvent_Event {
289 if m != nil {
290 return m.Event
291 }
292 return nil
293 }
294
295 func (x *OutlierDetectionEvent) GetEjectSuccessRateEvent() *OutlierEjectSuccessRate {
296 if x, ok := x.GetEvent().(*OutlierDetectionEvent_EjectSuccessRateEvent); ok {
297 return x.EjectSuccessRateEvent
298 }
299 return nil
300 }
301
302 func (x *OutlierDetectionEvent) GetEjectConsecutiveEvent() *OutlierEjectConsecutive {
303 if x, ok := x.GetEvent().(*OutlierDetectionEvent_EjectConsecutiveEvent); ok {
304 return x.EjectConsecutiveEvent
305 }
306 return nil
307 }
308
309 func (x *OutlierDetectionEvent) GetEjectFailurePercentageEvent() *OutlierEjectFailurePercentage {
310 if x, ok := x.GetEvent().(*OutlierDetectionEvent_EjectFailurePercentageEvent); ok {
311 return x.EjectFailurePercentageEvent
312 }
313 return nil
314 }
315
316 type isOutlierDetectionEvent_Event interface {
317 isOutlierDetectionEvent_Event()
318 }
319
320 type OutlierDetectionEvent_EjectSuccessRateEvent struct {
321 EjectSuccessRateEvent *OutlierEjectSuccessRate `protobuf:"bytes,9,opt,name=eject_success_rate_event,json=ejectSuccessRateEvent,proto3,oneof"`
322 }
323
324 type OutlierDetectionEvent_EjectConsecutiveEvent struct {
325 EjectConsecutiveEvent *OutlierEjectConsecutive `protobuf:"bytes,10,opt,name=eject_consecutive_event,json=ejectConsecutiveEvent,proto3,oneof"`
326 }
327
328 type OutlierDetectionEvent_EjectFailurePercentageEvent struct {
329 EjectFailurePercentageEvent *OutlierEjectFailurePercentage `protobuf:"bytes,11,opt,name=eject_failure_percentage_event,json=ejectFailurePercentageEvent,proto3,oneof"`
330 }
331
332 func (*OutlierDetectionEvent_EjectSuccessRateEvent) isOutlierDetectionEvent_Event() {}
333
334 func (*OutlierDetectionEvent_EjectConsecutiveEvent) isOutlierDetectionEvent_Event() {}
335
336 func (*OutlierDetectionEvent_EjectFailurePercentageEvent) isOutlierDetectionEvent_Event() {}
337
338 type OutlierEjectSuccessRate struct {
339 state protoimpl.MessageState
340 sizeCache protoimpl.SizeCache
341 unknownFields protoimpl.UnknownFields
342
343
344 HostSuccessRate uint32 `protobuf:"varint,1,opt,name=host_success_rate,json=hostSuccessRate,proto3" json:"host_success_rate,omitempty"`
345
346
347 ClusterAverageSuccessRate uint32 `protobuf:"varint,2,opt,name=cluster_average_success_rate,json=clusterAverageSuccessRate,proto3" json:"cluster_average_success_rate,omitempty"`
348
349 ClusterSuccessRateEjectionThreshold uint32 `protobuf:"varint,3,opt,name=cluster_success_rate_ejection_threshold,json=clusterSuccessRateEjectionThreshold,proto3" json:"cluster_success_rate_ejection_threshold,omitempty"`
350 }
351
352 func (x *OutlierEjectSuccessRate) Reset() {
353 *x = OutlierEjectSuccessRate{}
354 if protoimpl.UnsafeEnabled {
355 mi := &file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_msgTypes[1]
356 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
357 ms.StoreMessageInfo(mi)
358 }
359 }
360
361 func (x *OutlierEjectSuccessRate) String() string {
362 return protoimpl.X.MessageStringOf(x)
363 }
364
365 func (*OutlierEjectSuccessRate) ProtoMessage() {}
366
367 func (x *OutlierEjectSuccessRate) ProtoReflect() protoreflect.Message {
368 mi := &file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_msgTypes[1]
369 if protoimpl.UnsafeEnabled && x != nil {
370 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
371 if ms.LoadMessageInfo() == nil {
372 ms.StoreMessageInfo(mi)
373 }
374 return ms
375 }
376 return mi.MessageOf(x)
377 }
378
379
380 func (*OutlierEjectSuccessRate) Descriptor() ([]byte, []int) {
381 return file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_rawDescGZIP(), []int{1}
382 }
383
384 func (x *OutlierEjectSuccessRate) GetHostSuccessRate() uint32 {
385 if x != nil {
386 return x.HostSuccessRate
387 }
388 return 0
389 }
390
391 func (x *OutlierEjectSuccessRate) GetClusterAverageSuccessRate() uint32 {
392 if x != nil {
393 return x.ClusterAverageSuccessRate
394 }
395 return 0
396 }
397
398 func (x *OutlierEjectSuccessRate) GetClusterSuccessRateEjectionThreshold() uint32 {
399 if x != nil {
400 return x.ClusterSuccessRateEjectionThreshold
401 }
402 return 0
403 }
404
405 type OutlierEjectConsecutive struct {
406 state protoimpl.MessageState
407 sizeCache protoimpl.SizeCache
408 unknownFields protoimpl.UnknownFields
409 }
410
411 func (x *OutlierEjectConsecutive) Reset() {
412 *x = OutlierEjectConsecutive{}
413 if protoimpl.UnsafeEnabled {
414 mi := &file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_msgTypes[2]
415 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
416 ms.StoreMessageInfo(mi)
417 }
418 }
419
420 func (x *OutlierEjectConsecutive) String() string {
421 return protoimpl.X.MessageStringOf(x)
422 }
423
424 func (*OutlierEjectConsecutive) ProtoMessage() {}
425
426 func (x *OutlierEjectConsecutive) ProtoReflect() protoreflect.Message {
427 mi := &file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_msgTypes[2]
428 if protoimpl.UnsafeEnabled && x != nil {
429 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
430 if ms.LoadMessageInfo() == nil {
431 ms.StoreMessageInfo(mi)
432 }
433 return ms
434 }
435 return mi.MessageOf(x)
436 }
437
438
439 func (*OutlierEjectConsecutive) Descriptor() ([]byte, []int) {
440 return file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_rawDescGZIP(), []int{2}
441 }
442
443 type OutlierEjectFailurePercentage struct {
444 state protoimpl.MessageState
445 sizeCache protoimpl.SizeCache
446 unknownFields protoimpl.UnknownFields
447
448
449 HostSuccessRate uint32 `protobuf:"varint,1,opt,name=host_success_rate,json=hostSuccessRate,proto3" json:"host_success_rate,omitempty"`
450 }
451
452 func (x *OutlierEjectFailurePercentage) Reset() {
453 *x = OutlierEjectFailurePercentage{}
454 if protoimpl.UnsafeEnabled {
455 mi := &file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_msgTypes[3]
456 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
457 ms.StoreMessageInfo(mi)
458 }
459 }
460
461 func (x *OutlierEjectFailurePercentage) String() string {
462 return protoimpl.X.MessageStringOf(x)
463 }
464
465 func (*OutlierEjectFailurePercentage) ProtoMessage() {}
466
467 func (x *OutlierEjectFailurePercentage) ProtoReflect() protoreflect.Message {
468 mi := &file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_msgTypes[3]
469 if protoimpl.UnsafeEnabled && x != nil {
470 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
471 if ms.LoadMessageInfo() == nil {
472 ms.StoreMessageInfo(mi)
473 }
474 return ms
475 }
476 return mi.MessageOf(x)
477 }
478
479
480 func (*OutlierEjectFailurePercentage) Descriptor() ([]byte, []int) {
481 return file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_rawDescGZIP(), []int{3}
482 }
483
484 func (x *OutlierEjectFailurePercentage) GetHostSuccessRate() uint32 {
485 if x != nil {
486 return x.HostSuccessRate
487 }
488 return 0
489 }
490
491 var File_envoy_data_cluster_v2alpha_outlier_detection_event_proto protoreflect.FileDescriptor
492
493 var file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_rawDesc = []byte{
494 0x0a, 0x38, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x63, 0x6c, 0x75,
495 0x73, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x6f, 0x75, 0x74,
496 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65,
497 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x65, 0x6e, 0x76, 0x6f,
498 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76,
499 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
500 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
501 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
502 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72,
503 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e,
504 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74,
505 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e,
506 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
507 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
508 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
509 0xc2, 0x06, 0x0a, 0x15, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x44, 0x65, 0x74, 0x65, 0x63,
510 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x4d, 0x0a, 0x04, 0x74, 0x79, 0x70,
511 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
512 0x64, 0x61, 0x74, 0x61, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x61,
513 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x45, 0x6a, 0x65, 0x63,
514 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02,
515 0x10, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65,
516 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
517 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
518 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
519 0x6d, 0x70, 0x12, 0x51, 0x0a, 0x16, 0x73, 0x65, 0x63, 0x73, 0x5f, 0x73, 0x69, 0x6e, 0x63, 0x65,
520 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01,
521 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
522 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65,
523 0x52, 0x13, 0x73, 0x65, 0x63, 0x73, 0x53, 0x69, 0x6e, 0x63, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x41,
524 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
525 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04,
526 0x72, 0x02, 0x20, 0x01, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d,
527 0x65, 0x12, 0x2a, 0x0a, 0x0c, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x75, 0x72,
528 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01,
529 0x52, 0x0b, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x55, 0x72, 0x6c, 0x12, 0x44, 0x0a,
530 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e,
531 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74,
532 0x65, 0x72, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f,
533 0x6e, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x06, 0x61, 0x63, 0x74,
534 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x6e, 0x75, 0x6d, 0x5f, 0x65, 0x6a, 0x65, 0x63, 0x74,
535 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6e, 0x75, 0x6d, 0x45,
536 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x66, 0x6f,
537 0x72, 0x63, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x65, 0x6e, 0x66, 0x6f,
538 0x72, 0x63, 0x65, 0x64, 0x12, 0x6e, 0x0a, 0x18, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x75,
539 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74,
540 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64,
541 0x61, 0x74, 0x61, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x61, 0x6c,
542 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x45, 0x6a, 0x65, 0x63, 0x74,
543 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x15, 0x65,
544 0x6a, 0x65, 0x63, 0x74, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x61, 0x74, 0x65, 0x45,
545 0x76, 0x65, 0x6e, 0x74, 0x12, 0x6d, 0x0a, 0x17, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x63, 0x6f,
546 0x6e, 0x73, 0x65, 0x63, 0x75, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18,
547 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61,
548 0x74, 0x61, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70,
549 0x68, 0x61, 0x2e, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x45, 0x6a, 0x65, 0x63, 0x74, 0x43,
550 0x6f, 0x6e, 0x73, 0x65, 0x63, 0x75, 0x74, 0x69, 0x76, 0x65, 0x48, 0x00, 0x52, 0x15, 0x65, 0x6a,
551 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x63, 0x75, 0x74, 0x69, 0x76, 0x65, 0x45, 0x76,
552 0x65, 0x6e, 0x74, 0x12, 0x80, 0x01, 0x0a, 0x1e, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x66, 0x61,
553 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65,
554 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x65,
555 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65,
556 0x72, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65,
557 0x72, 0x45, 0x6a, 0x65, 0x63, 0x74, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x50, 0x65, 0x72,
558 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x1b, 0x65, 0x6a, 0x65, 0x63, 0x74,
559 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67,
560 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x42, 0x0c, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x12,
561 0x03, 0xf8, 0x42, 0x01, 0x22, 0xf7, 0x01, 0x0a, 0x17, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72,
562 0x45, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x61, 0x74, 0x65,
563 0x12, 0x33, 0x0a, 0x11, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
564 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x07, 0xfa, 0x42, 0x04,
565 0x2a, 0x02, 0x18, 0x64, 0x52, 0x0f, 0x68, 0x6f, 0x73, 0x74, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73,
566 0x73, 0x52, 0x61, 0x74, 0x65, 0x12, 0x48, 0x0a, 0x1c, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
567 0x5f, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
568 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x07, 0xfa, 0x42, 0x04,
569 0x2a, 0x02, 0x18, 0x64, 0x52, 0x19, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x41, 0x76, 0x65,
570 0x72, 0x61, 0x67, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x61, 0x74, 0x65, 0x12,
571 0x5d, 0x0a, 0x27, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65,
572 0x73, 0x73, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
573 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d,
574 0x42, 0x07, 0xfa, 0x42, 0x04, 0x2a, 0x02, 0x18, 0x64, 0x52, 0x23, 0x63, 0x6c, 0x75, 0x73, 0x74,
575 0x65, 0x72, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x61, 0x74, 0x65, 0x45, 0x6a, 0x65,
576 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x22, 0x19,
577 0x0a, 0x17, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x45, 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6f,
578 0x6e, 0x73, 0x65, 0x63, 0x75, 0x74, 0x69, 0x76, 0x65, 0x22, 0x54, 0x0a, 0x1d, 0x4f, 0x75, 0x74,
579 0x6c, 0x69, 0x65, 0x72, 0x45, 0x6a, 0x65, 0x63, 0x74, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65,
580 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x12, 0x33, 0x0a, 0x11, 0x68, 0x6f,
581 0x73, 0x74, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18,
582 0x01, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x2a, 0x02, 0x18, 0x64, 0x52, 0x0f,
583 0x68, 0x6f, 0x73, 0x74, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x61, 0x74, 0x65, 0x2a,
584 0xdf, 0x01, 0x0a, 0x13, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x45, 0x6a, 0x65, 0x63, 0x74,
585 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x4f, 0x4e, 0x53, 0x45,
586 0x43, 0x55, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x35, 0x58, 0x58, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b,
587 0x43, 0x4f, 0x4e, 0x53, 0x45, 0x43, 0x55, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x47, 0x41, 0x54, 0x45,
588 0x57, 0x41, 0x59, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x10, 0x01, 0x12, 0x10, 0x0a,
589 0x0c, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x52, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12,
590 0x24, 0x0a, 0x20, 0x43, 0x4f, 0x4e, 0x53, 0x45, 0x43, 0x55, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x4c,
591 0x4f, 0x43, 0x41, 0x4c, 0x5f, 0x4f, 0x52, 0x49, 0x47, 0x49, 0x4e, 0x5f, 0x46, 0x41, 0x49, 0x4c,
592 0x55, 0x52, 0x45, 0x10, 0x03, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53,
593 0x5f, 0x52, 0x41, 0x54, 0x45, 0x5f, 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x5f, 0x4f, 0x52, 0x49, 0x47,
594 0x49, 0x4e, 0x10, 0x04, 0x12, 0x16, 0x0a, 0x12, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x5f,
595 0x50, 0x45, 0x52, 0x43, 0x45, 0x4e, 0x54, 0x41, 0x47, 0x45, 0x10, 0x05, 0x12, 0x23, 0x0a, 0x1f,
596 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x5f, 0x50, 0x45, 0x52, 0x43, 0x45, 0x4e, 0x54, 0x41,
597 0x47, 0x45, 0x5f, 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x5f, 0x4f, 0x52, 0x49, 0x47, 0x49, 0x4e, 0x10,
598 0x06, 0x2a, 0x20, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x09, 0x0a, 0x05, 0x45,
599 0x4a, 0x45, 0x43, 0x54, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x45, 0x4a, 0x45, 0x43,
600 0x54, 0x10, 0x01, 0x42, 0xb0, 0x01, 0x0a, 0x28, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
601 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61,
602 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61,
603 0x42, 0x1a, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69,
604 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41,
605 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79,
606 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,
607 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x64, 0x61, 0x74,
608 0x61, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68,
609 0x61, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x17, 0x12, 0x15, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64,
610 0x61, 0x74, 0x61, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x33, 0xba, 0x80,
611 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
612 }
613
614 var (
615 file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_rawDescOnce sync.Once
616 file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_rawDescData = file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_rawDesc
617 )
618
619 func file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_rawDescGZIP() []byte {
620 file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_rawDescOnce.Do(func() {
621 file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_rawDescData)
622 })
623 return file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_rawDescData
624 }
625
626 var file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
627 var file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
628 var file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_goTypes = []interface{}{
629 (OutlierEjectionType)(0),
630 (Action)(0),
631 (*OutlierDetectionEvent)(nil),
632 (*OutlierEjectSuccessRate)(nil),
633 (*OutlierEjectConsecutive)(nil),
634 (*OutlierEjectFailurePercentage)(nil),
635 (*timestamp.Timestamp)(nil),
636 (*wrappers.UInt64Value)(nil),
637 }
638 var file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_depIdxs = []int32{
639 0,
640 6,
641 7,
642 1,
643 3,
644 4,
645 5,
646 7,
647 7,
648 7,
649 7,
650 0,
651 }
652
653 func init() { file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_init() }
654 func file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_init() {
655 if File_envoy_data_cluster_v2alpha_outlier_detection_event_proto != nil {
656 return
657 }
658 if !protoimpl.UnsafeEnabled {
659 file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
660 switch v := v.(*OutlierDetectionEvent); i {
661 case 0:
662 return &v.state
663 case 1:
664 return &v.sizeCache
665 case 2:
666 return &v.unknownFields
667 default:
668 return nil
669 }
670 }
671 file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
672 switch v := v.(*OutlierEjectSuccessRate); i {
673 case 0:
674 return &v.state
675 case 1:
676 return &v.sizeCache
677 case 2:
678 return &v.unknownFields
679 default:
680 return nil
681 }
682 }
683 file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
684 switch v := v.(*OutlierEjectConsecutive); i {
685 case 0:
686 return &v.state
687 case 1:
688 return &v.sizeCache
689 case 2:
690 return &v.unknownFields
691 default:
692 return nil
693 }
694 }
695 file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
696 switch v := v.(*OutlierEjectFailurePercentage); i {
697 case 0:
698 return &v.state
699 case 1:
700 return &v.sizeCache
701 case 2:
702 return &v.unknownFields
703 default:
704 return nil
705 }
706 }
707 }
708 file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_msgTypes[0].OneofWrappers = []interface{}{
709 (*OutlierDetectionEvent_EjectSuccessRateEvent)(nil),
710 (*OutlierDetectionEvent_EjectConsecutiveEvent)(nil),
711 (*OutlierDetectionEvent_EjectFailurePercentageEvent)(nil),
712 }
713 type x struct{}
714 out := protoimpl.TypeBuilder{
715 File: protoimpl.DescBuilder{
716 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
717 RawDescriptor: file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_rawDesc,
718 NumEnums: 2,
719 NumMessages: 4,
720 NumExtensions: 0,
721 NumServices: 0,
722 },
723 GoTypes: file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_goTypes,
724 DependencyIndexes: file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_depIdxs,
725 EnumInfos: file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_enumTypes,
726 MessageInfos: file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_msgTypes,
727 }.Build()
728 File_envoy_data_cluster_v2alpha_outlier_detection_event_proto = out.File
729 file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_rawDesc = nil
730 file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_goTypes = nil
731 file_envoy_data_cluster_v2alpha_outlier_detection_event_proto_depIdxs = nil
732 }
733
View as plain text