Documentation
¶
Index ¶
- Variables
- type ConsecutiveErrors
- func (*ConsecutiveErrors) Descriptor() ([]byte, []int)deprecated
- func (x *ConsecutiveErrors) GetEnforcing() *wrapperspb.UInt32Value
- func (x *ConsecutiveErrors) GetErrorBuckets() *v3.ErrorBuckets
- func (x *ConsecutiveErrors) GetName() string
- func (x *ConsecutiveErrors) GetThreshold() *wrapperspb.UInt32Value
- func (*ConsecutiveErrors) ProtoMessage()
- func (x *ConsecutiveErrors) ProtoReflect() protoreflect.Message
- func (x *ConsecutiveErrors) Reset()
- func (x *ConsecutiveErrors) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_envoy_extensions_outlier_detection_monitors_consecutive_errors_v3_consecutive_errors_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ConsecutiveErrors ¶
type ConsecutiveErrors struct { // Monitor name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The number of consecutive errors before ejection occurs. Threshold *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=threshold,proto3" json:"threshold,omitempty"` // The % chance that a host is actually ejected. Defaults to 100. Enforcing *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=enforcing,proto3" json:"enforcing,omitempty"` // Error buckets. ErrorBuckets *v3.ErrorBuckets `protobuf:"bytes,4,opt,name=error_buckets,json=errorBuckets,proto3" json:"error_buckets,omitempty"` // contains filtered or unexported fields }
Monitor which counts consecutive errors. If number of consecutive errors exceeds the threshold, monitor will report that the host is unhealthy. [#not-implemented-hide:]
func (*ConsecutiveErrors) Descriptor
deprecated
func (*ConsecutiveErrors) Descriptor() ([]byte, []int)
Deprecated: Use ConsecutiveErrors.ProtoReflect.Descriptor instead.
func (*ConsecutiveErrors) GetEnforcing ¶
func (x *ConsecutiveErrors) GetEnforcing() *wrapperspb.UInt32Value
func (*ConsecutiveErrors) GetErrorBuckets ¶
func (x *ConsecutiveErrors) GetErrorBuckets() *v3.ErrorBuckets
func (*ConsecutiveErrors) GetName ¶
func (x *ConsecutiveErrors) GetName() string
func (*ConsecutiveErrors) GetThreshold ¶
func (x *ConsecutiveErrors) GetThreshold() *wrapperspb.UInt32Value
func (*ConsecutiveErrors) ProtoMessage ¶
func (*ConsecutiveErrors) ProtoMessage()
func (*ConsecutiveErrors) ProtoReflect ¶
func (x *ConsecutiveErrors) ProtoReflect() protoreflect.Message
func (*ConsecutiveErrors) Reset ¶
func (x *ConsecutiveErrors) Reset()
func (*ConsecutiveErrors) String ¶
func (x *ConsecutiveErrors) String() string
Click to show internal directories.
Click to hide internal directories.