Documentation
¶
Index ¶
- Variables
- type ConsecutiveErrors
- func (x *ConsecutiveErrors) ClearEnforcing()
- func (x *ConsecutiveErrors) ClearErrorBuckets()
- func (x *ConsecutiveErrors) ClearThreshold()
- func (x *ConsecutiveErrors) GetEnforcing() *wrapperspb.UInt32Value
- func (x *ConsecutiveErrors) GetErrorBuckets() *v3.ErrorBuckets
- func (x *ConsecutiveErrors) GetName() string
- func (x *ConsecutiveErrors) GetThreshold() *wrapperspb.UInt32Value
- func (x *ConsecutiveErrors) HasEnforcing() bool
- func (x *ConsecutiveErrors) HasErrorBuckets() bool
- func (x *ConsecutiveErrors) HasThreshold() bool
- func (*ConsecutiveErrors) ProtoMessage()
- func (x *ConsecutiveErrors) ProtoReflect() protoreflect.Message
- func (x *ConsecutiveErrors) Reset()
- func (x *ConsecutiveErrors) SetEnforcing(v *wrapperspb.UInt32Value)
- func (x *ConsecutiveErrors) SetErrorBuckets(v *v3.ErrorBuckets)
- func (x *ConsecutiveErrors) SetName(v string)
- func (x *ConsecutiveErrors) SetThreshold(v *wrapperspb.UInt32Value)
- func (x *ConsecutiveErrors) String() string
- type ConsecutiveErrors_builder
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) ClearEnforcing ¶
func (x *ConsecutiveErrors) ClearEnforcing()
func (*ConsecutiveErrors) ClearErrorBuckets ¶
func (x *ConsecutiveErrors) ClearErrorBuckets()
func (*ConsecutiveErrors) ClearThreshold ¶
func (x *ConsecutiveErrors) ClearThreshold()
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) HasEnforcing ¶
func (x *ConsecutiveErrors) HasEnforcing() bool
func (*ConsecutiveErrors) HasErrorBuckets ¶
func (x *ConsecutiveErrors) HasErrorBuckets() bool
func (*ConsecutiveErrors) HasThreshold ¶
func (x *ConsecutiveErrors) HasThreshold() bool
func (*ConsecutiveErrors) ProtoMessage ¶
func (*ConsecutiveErrors) ProtoMessage()
func (*ConsecutiveErrors) ProtoReflect ¶
func (x *ConsecutiveErrors) ProtoReflect() protoreflect.Message
func (*ConsecutiveErrors) Reset ¶
func (x *ConsecutiveErrors) Reset()
func (*ConsecutiveErrors) SetEnforcing ¶
func (x *ConsecutiveErrors) SetEnforcing(v *wrapperspb.UInt32Value)
func (*ConsecutiveErrors) SetErrorBuckets ¶
func (x *ConsecutiveErrors) SetErrorBuckets(v *v3.ErrorBuckets)
func (*ConsecutiveErrors) SetName ¶
func (x *ConsecutiveErrors) SetName(v string)
func (*ConsecutiveErrors) SetThreshold ¶
func (x *ConsecutiveErrors) SetThreshold(v *wrapperspb.UInt32Value)
func (*ConsecutiveErrors) String ¶
func (x *ConsecutiveErrors) String() string
type ConsecutiveErrors_builder ¶
type ConsecutiveErrors_builder struct {
// Monitor name.
Name string
// The number of consecutive errors before ejection occurs.
Threshold *wrapperspb.UInt32Value
// The % chance that a host is actually ejected. Defaults to 100.
Enforcing *wrapperspb.UInt32Value
// Error buckets.
ErrorBuckets *v3.ErrorBuckets
// contains filtered or unexported fields
}
func (ConsecutiveErrors_builder) Build ¶
func (b0 ConsecutiveErrors_builder) Build() *ConsecutiveErrors
Source Files
¶
- consecutive_errors.pb.go
Click to show internal directories.
Click to hide internal directories.