consecutive_errorsv3

package
v1.33.0-20240426201503... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: unknown License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL