Documentation ¶
Index ¶
- Variables
- type CircuitBreakers
- func (*CircuitBreakers) Descriptor() ([]byte, []int)
- func (this *CircuitBreakers) Equal(that interface{}) bool
- func (m *CircuitBreakers) GetThresholds() []*CircuitBreakers_Thresholds
- func (m *CircuitBreakers) Marshal() (dAtA []byte, err error)
- func (m *CircuitBreakers) MarshalTo(dAtA []byte) (int, error)
- func (*CircuitBreakers) ProtoMessage()
- func (m *CircuitBreakers) Reset()
- func (m *CircuitBreakers) Size() (n int)
- func (m *CircuitBreakers) String() string
- func (m *CircuitBreakers) Unmarshal(dAtA []byte) error
- func (m *CircuitBreakers) Validate() error
- func (m *CircuitBreakers) XXX_DiscardUnknown()
- func (m *CircuitBreakers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CircuitBreakers) XXX_Merge(src proto.Message)
- func (m *CircuitBreakers) XXX_Size() int
- func (m *CircuitBreakers) XXX_Unmarshal(b []byte) error
- type CircuitBreakersValidationError
- func (e CircuitBreakersValidationError) Cause() error
- func (e CircuitBreakersValidationError) Error() string
- func (e CircuitBreakersValidationError) ErrorName() string
- func (e CircuitBreakersValidationError) Field() string
- func (e CircuitBreakersValidationError) Key() bool
- func (e CircuitBreakersValidationError) Reason() string
- type CircuitBreakers_Thresholds
- func (*CircuitBreakers_Thresholds) Descriptor() ([]byte, []int)
- func (this *CircuitBreakers_Thresholds) Equal(that interface{}) bool
- func (m *CircuitBreakers_Thresholds) GetMaxConnectionPools() *types.UInt32Value
- func (m *CircuitBreakers_Thresholds) GetMaxConnections() *types.UInt32Value
- func (m *CircuitBreakers_Thresholds) GetMaxPendingRequests() *types.UInt32Value
- func (m *CircuitBreakers_Thresholds) GetMaxRequests() *types.UInt32Value
- func (m *CircuitBreakers_Thresholds) GetMaxRetries() *types.UInt32Value
- func (m *CircuitBreakers_Thresholds) GetPriority() core.RoutingPriority
- func (m *CircuitBreakers_Thresholds) GetTrackRemaining() bool
- func (m *CircuitBreakers_Thresholds) Marshal() (dAtA []byte, err error)
- func (m *CircuitBreakers_Thresholds) MarshalTo(dAtA []byte) (int, error)
- func (*CircuitBreakers_Thresholds) ProtoMessage()
- func (m *CircuitBreakers_Thresholds) Reset()
- func (m *CircuitBreakers_Thresholds) Size() (n int)
- func (m *CircuitBreakers_Thresholds) String() string
- func (m *CircuitBreakers_Thresholds) Unmarshal(dAtA []byte) error
- func (m *CircuitBreakers_Thresholds) Validate() error
- func (m *CircuitBreakers_Thresholds) XXX_DiscardUnknown()
- func (m *CircuitBreakers_Thresholds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CircuitBreakers_Thresholds) XXX_Merge(src proto.Message)
- func (m *CircuitBreakers_Thresholds) XXX_Size() int
- func (m *CircuitBreakers_Thresholds) XXX_Unmarshal(b []byte) error
- type CircuitBreakers_ThresholdsValidationError
- func (e CircuitBreakers_ThresholdsValidationError) Cause() error
- func (e CircuitBreakers_ThresholdsValidationError) Error() string
- func (e CircuitBreakers_ThresholdsValidationError) ErrorName() string
- func (e CircuitBreakers_ThresholdsValidationError) Field() string
- func (e CircuitBreakers_ThresholdsValidationError) Key() bool
- func (e CircuitBreakers_ThresholdsValidationError) Reason() string
- type Filter
- func (*Filter) Descriptor() ([]byte, []int)
- func (this *Filter) Equal(that interface{}) bool
- func (m *Filter) GetName() string
- func (m *Filter) GetTypedConfig() *types.Any
- func (m *Filter) Marshal() (dAtA []byte, err error)
- func (m *Filter) MarshalTo(dAtA []byte) (int, error)
- func (*Filter) ProtoMessage()
- func (m *Filter) Reset()
- func (m *Filter) Size() (n int)
- func (m *Filter) String() string
- func (m *Filter) Unmarshal(dAtA []byte) error
- func (m *Filter) Validate() error
- func (m *Filter) XXX_DiscardUnknown()
- func (m *Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Filter) XXX_Merge(src proto.Message)
- func (m *Filter) XXX_Size() int
- func (m *Filter) XXX_Unmarshal(b []byte) error
- type FilterValidationError
- type OutlierDetection
- func (*OutlierDetection) Descriptor() ([]byte, []int)
- func (this *OutlierDetection) Equal(that interface{}) bool
- func (m *OutlierDetection) GetBaseEjectionTime() *types.Duration
- func (m *OutlierDetection) GetConsecutiveGatewayFailure() *types.UInt32Value
- func (m *OutlierDetection) GetConsecutiveLocalOriginFailure() *types.UInt32Value
- func (m *OutlierDetection) GetConsecutive_5Xx() *types.UInt32Value
- func (m *OutlierDetection) GetEnforcingConsecutiveGatewayFailure() *types.UInt32Value
- func (m *OutlierDetection) GetEnforcingConsecutiveLocalOriginFailure() *types.UInt32Value
- func (m *OutlierDetection) GetEnforcingConsecutive_5Xx() *types.UInt32Value
- func (m *OutlierDetection) GetEnforcingLocalOriginSuccessRate() *types.UInt32Value
- func (m *OutlierDetection) GetEnforcingSuccessRate() *types.UInt32Value
- func (m *OutlierDetection) GetInterval() *types.Duration
- func (m *OutlierDetection) GetMaxEjectionPercent() *types.UInt32Value
- func (m *OutlierDetection) GetSplitExternalLocalOriginErrors() bool
- func (m *OutlierDetection) GetSuccessRateMinimumHosts() *types.UInt32Value
- func (m *OutlierDetection) GetSuccessRateRequestVolume() *types.UInt32Value
- func (m *OutlierDetection) GetSuccessRateStdevFactor() *types.UInt32Value
- func (m *OutlierDetection) Marshal() (dAtA []byte, err error)
- func (m *OutlierDetection) MarshalTo(dAtA []byte) (int, error)
- func (*OutlierDetection) ProtoMessage()
- func (m *OutlierDetection) Reset()
- func (m *OutlierDetection) Size() (n int)
- func (m *OutlierDetection) String() string
- func (m *OutlierDetection) Unmarshal(dAtA []byte) error
- func (m *OutlierDetection) Validate() error
- func (m *OutlierDetection) XXX_DiscardUnknown()
- func (m *OutlierDetection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutlierDetection) XXX_Merge(src proto.Message)
- func (m *OutlierDetection) XXX_Size() int
- func (m *OutlierDetection) XXX_Unmarshal(b []byte) error
- type OutlierDetectionValidationError
- func (e OutlierDetectionValidationError) Cause() error
- func (e OutlierDetectionValidationError) Error() string
- func (e OutlierDetectionValidationError) ErrorName() string
- func (e OutlierDetectionValidationError) Field() string
- func (e OutlierDetectionValidationError) Key() bool
- func (e OutlierDetectionValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthCircuitBreaker = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCircuitBreaker = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthFilter = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowFilter = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthOutlierDetection = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowOutlierDetection = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type CircuitBreakers ¶
type CircuitBreakers struct { // If multiple :ref:`Thresholds<envoy_api_msg_cluster.CircuitBreakers.Thresholds>` // are defined with the same :ref:`RoutingPriority<envoy_api_enum_core.RoutingPriority>`, // the first one in the list is used. If no Thresholds is defined for a given // :ref:`RoutingPriority<envoy_api_enum_core.RoutingPriority>`, the default values // are used. Thresholds []*CircuitBreakers_Thresholds `protobuf:"bytes,1,rep,name=thresholds,proto3" json:"thresholds,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
:ref:`Circuit breaking<arch_overview_circuit_break>` settings can be specified individually for each defined priority.
func (*CircuitBreakers) Descriptor ¶
func (*CircuitBreakers) Descriptor() ([]byte, []int)
func (*CircuitBreakers) Equal ¶
func (this *CircuitBreakers) Equal(that interface{}) bool
func (*CircuitBreakers) GetThresholds ¶
func (m *CircuitBreakers) GetThresholds() []*CircuitBreakers_Thresholds
func (*CircuitBreakers) Marshal ¶
func (m *CircuitBreakers) Marshal() (dAtA []byte, err error)
func (*CircuitBreakers) ProtoMessage ¶
func (*CircuitBreakers) ProtoMessage()
func (*CircuitBreakers) Reset ¶
func (m *CircuitBreakers) Reset()
func (*CircuitBreakers) Size ¶
func (m *CircuitBreakers) Size() (n int)
func (*CircuitBreakers) String ¶
func (m *CircuitBreakers) String() string
func (*CircuitBreakers) Unmarshal ¶
func (m *CircuitBreakers) Unmarshal(dAtA []byte) error
func (*CircuitBreakers) Validate ¶
func (m *CircuitBreakers) Validate() error
Validate checks the field values on CircuitBreakers with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*CircuitBreakers) XXX_DiscardUnknown ¶
func (m *CircuitBreakers) XXX_DiscardUnknown()
func (*CircuitBreakers) XXX_Marshal ¶
func (m *CircuitBreakers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CircuitBreakers) XXX_Merge ¶
func (m *CircuitBreakers) XXX_Merge(src proto.Message)
func (*CircuitBreakers) XXX_Size ¶
func (m *CircuitBreakers) XXX_Size() int
func (*CircuitBreakers) XXX_Unmarshal ¶
func (m *CircuitBreakers) XXX_Unmarshal(b []byte) error
type CircuitBreakersValidationError ¶
type CircuitBreakersValidationError struct {
// contains filtered or unexported fields
}
CircuitBreakersValidationError is the validation error returned by CircuitBreakers.Validate if the designated constraints aren't met.
func (CircuitBreakersValidationError) Cause ¶
func (e CircuitBreakersValidationError) Cause() error
Cause function returns cause value.
func (CircuitBreakersValidationError) Error ¶
func (e CircuitBreakersValidationError) Error() string
Error satisfies the builtin error interface
func (CircuitBreakersValidationError) ErrorName ¶ added in v0.7.0
func (e CircuitBreakersValidationError) ErrorName() string
ErrorName returns error name.
func (CircuitBreakersValidationError) Field ¶
func (e CircuitBreakersValidationError) Field() string
Field function returns field value.
func (CircuitBreakersValidationError) Key ¶
func (e CircuitBreakersValidationError) Key() bool
Key function returns key value.
func (CircuitBreakersValidationError) Reason ¶
func (e CircuitBreakersValidationError) Reason() string
Reason function returns reason value.
type CircuitBreakers_Thresholds ¶
type CircuitBreakers_Thresholds struct { // The :ref:`RoutingPriority<envoy_api_enum_core.RoutingPriority>` // the specified CircuitBreaker settings apply to. // [#comment:TODO(htuch): add (validate.rules).enum.defined_only = true once // https://github.com/lyft/protoc-gen-validate/issues/42 is resolved.] Priority core.RoutingPriority `protobuf:"varint,1,opt,name=priority,proto3,enum=envoy.api.v2.core.RoutingPriority" json:"priority,omitempty"` // The maximum number of connections that Envoy will make to the upstream // cluster. If not specified, the default is 1024. MaxConnections *types.UInt32Value `protobuf:"bytes,2,opt,name=max_connections,json=maxConnections,proto3" json:"max_connections,omitempty"` // The maximum number of pending requests that Envoy will allow to the // upstream cluster. If not specified, the default is 1024. MaxPendingRequests *types.UInt32Value `protobuf:"bytes,3,opt,name=max_pending_requests,json=maxPendingRequests,proto3" json:"max_pending_requests,omitempty"` // The maximum number of parallel requests that Envoy will make to the // upstream cluster. If not specified, the default is 1024. MaxRequests *types.UInt32Value `protobuf:"bytes,4,opt,name=max_requests,json=maxRequests,proto3" json:"max_requests,omitempty"` // The maximum number of parallel retries that Envoy will allow to the // upstream cluster. If not specified, the default is 3. MaxRetries *types.UInt32Value `protobuf:"bytes,5,opt,name=max_retries,json=maxRetries,proto3" json:"max_retries,omitempty"` // If track_remaining is true, then stats will be published that expose // the number of resources remaining until the circuit breakers open. If // not specified, the default is false. TrackRemaining bool `protobuf:"varint,6,opt,name=track_remaining,json=trackRemaining,proto3" json:"track_remaining,omitempty"` // The maximum number of connection pools per cluster that Envoy will concurrently support at // once. If not specified, the default is unlimited. Set this for clusters which create a // large number of connection pools. See // :ref:`Circuit Breaking <arch_overview_circuit_break_cluster_maximum_connection_pools>` for // more details. MaxConnectionPools *types.UInt32Value `protobuf:"bytes,7,opt,name=max_connection_pools,json=maxConnectionPools,proto3" json:"max_connection_pools,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A Thresholds defines CircuitBreaker settings for a :ref:`RoutingPriority<envoy_api_enum_core.RoutingPriority>`.
func (*CircuitBreakers_Thresholds) Descriptor ¶
func (*CircuitBreakers_Thresholds) Descriptor() ([]byte, []int)
func (*CircuitBreakers_Thresholds) Equal ¶
func (this *CircuitBreakers_Thresholds) Equal(that interface{}) bool
func (*CircuitBreakers_Thresholds) GetMaxConnectionPools ¶ added in v0.7.0
func (m *CircuitBreakers_Thresholds) GetMaxConnectionPools() *types.UInt32Value
func (*CircuitBreakers_Thresholds) GetMaxConnections ¶
func (m *CircuitBreakers_Thresholds) GetMaxConnections() *types.UInt32Value
func (*CircuitBreakers_Thresholds) GetMaxPendingRequests ¶
func (m *CircuitBreakers_Thresholds) GetMaxPendingRequests() *types.UInt32Value
func (*CircuitBreakers_Thresholds) GetMaxRequests ¶
func (m *CircuitBreakers_Thresholds) GetMaxRequests() *types.UInt32Value
func (*CircuitBreakers_Thresholds) GetMaxRetries ¶
func (m *CircuitBreakers_Thresholds) GetMaxRetries() *types.UInt32Value
func (*CircuitBreakers_Thresholds) GetPriority ¶
func (m *CircuitBreakers_Thresholds) GetPriority() core.RoutingPriority
func (*CircuitBreakers_Thresholds) GetTrackRemaining ¶ added in v0.7.0
func (m *CircuitBreakers_Thresholds) GetTrackRemaining() bool
func (*CircuitBreakers_Thresholds) Marshal ¶
func (m *CircuitBreakers_Thresholds) Marshal() (dAtA []byte, err error)
func (*CircuitBreakers_Thresholds) MarshalTo ¶
func (m *CircuitBreakers_Thresholds) MarshalTo(dAtA []byte) (int, error)
func (*CircuitBreakers_Thresholds) ProtoMessage ¶
func (*CircuitBreakers_Thresholds) ProtoMessage()
func (*CircuitBreakers_Thresholds) Reset ¶
func (m *CircuitBreakers_Thresholds) Reset()
func (*CircuitBreakers_Thresholds) Size ¶
func (m *CircuitBreakers_Thresholds) Size() (n int)
func (*CircuitBreakers_Thresholds) String ¶
func (m *CircuitBreakers_Thresholds) String() string
func (*CircuitBreakers_Thresholds) Unmarshal ¶
func (m *CircuitBreakers_Thresholds) Unmarshal(dAtA []byte) error
func (*CircuitBreakers_Thresholds) Validate ¶
func (m *CircuitBreakers_Thresholds) Validate() error
Validate checks the field values on CircuitBreakers_Thresholds with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*CircuitBreakers_Thresholds) XXX_DiscardUnknown ¶
func (m *CircuitBreakers_Thresholds) XXX_DiscardUnknown()
func (*CircuitBreakers_Thresholds) XXX_Marshal ¶
func (m *CircuitBreakers_Thresholds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CircuitBreakers_Thresholds) XXX_Merge ¶
func (m *CircuitBreakers_Thresholds) XXX_Merge(src proto.Message)
func (*CircuitBreakers_Thresholds) XXX_Size ¶
func (m *CircuitBreakers_Thresholds) XXX_Size() int
func (*CircuitBreakers_Thresholds) XXX_Unmarshal ¶
func (m *CircuitBreakers_Thresholds) XXX_Unmarshal(b []byte) error
type CircuitBreakers_ThresholdsValidationError ¶
type CircuitBreakers_ThresholdsValidationError struct {
// contains filtered or unexported fields
}
CircuitBreakers_ThresholdsValidationError is the validation error returned by CircuitBreakers_Thresholds.Validate if the designated constraints aren't met.
func (CircuitBreakers_ThresholdsValidationError) Cause ¶
func (e CircuitBreakers_ThresholdsValidationError) Cause() error
Cause function returns cause value.
func (CircuitBreakers_ThresholdsValidationError) Error ¶
func (e CircuitBreakers_ThresholdsValidationError) Error() string
Error satisfies the builtin error interface
func (CircuitBreakers_ThresholdsValidationError) ErrorName ¶ added in v0.7.0
func (e CircuitBreakers_ThresholdsValidationError) ErrorName() string
ErrorName returns error name.
func (CircuitBreakers_ThresholdsValidationError) Field ¶
func (e CircuitBreakers_ThresholdsValidationError) Field() string
Field function returns field value.
func (CircuitBreakers_ThresholdsValidationError) Key ¶
func (e CircuitBreakers_ThresholdsValidationError) Key() bool
Key function returns key value.
func (CircuitBreakers_ThresholdsValidationError) Reason ¶
func (e CircuitBreakers_ThresholdsValidationError) Reason() string
Reason function returns reason value.
type Filter ¶ added in v0.8.3
type Filter struct { // The name of the filter to instantiate. The name must match a // :ref:`supported filter <config_network_filters>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Filter specific configuration which depends on the filter being // instantiated. See the supported filters for further documentation. TypedConfig *types.Any `protobuf:"bytes,2,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
[#protodoc-title: Upstream filters]
Upstream filters apply to the connections to the upstream cluster hosts.
func (*Filter) Descriptor ¶ added in v0.8.3
func (*Filter) GetTypedConfig ¶ added in v0.8.3
func (*Filter) ProtoMessage ¶ added in v0.8.3
func (*Filter) ProtoMessage()
func (*Filter) Validate ¶ added in v0.8.3
Validate checks the field values on Filter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Filter) XXX_DiscardUnknown ¶ added in v0.8.3
func (m *Filter) XXX_DiscardUnknown()
func (*Filter) XXX_Marshal ¶ added in v0.8.3
func (*Filter) XXX_Unmarshal ¶ added in v0.8.3
type FilterValidationError ¶ added in v0.8.3
type FilterValidationError struct {
// contains filtered or unexported fields
}
FilterValidationError is the validation error returned by Filter.Validate if the designated constraints aren't met.
func (FilterValidationError) Cause ¶ added in v0.8.3
func (e FilterValidationError) Cause() error
Cause function returns cause value.
func (FilterValidationError) Error ¶ added in v0.8.3
func (e FilterValidationError) Error() string
Error satisfies the builtin error interface
func (FilterValidationError) ErrorName ¶ added in v0.8.3
func (e FilterValidationError) ErrorName() string
ErrorName returns error name.
func (FilterValidationError) Field ¶ added in v0.8.3
func (e FilterValidationError) Field() string
Field function returns field value.
func (FilterValidationError) Key ¶ added in v0.8.3
func (e FilterValidationError) Key() bool
Key function returns key value.
func (FilterValidationError) Reason ¶ added in v0.8.3
func (e FilterValidationError) Reason() string
Reason function returns reason value.
type OutlierDetection ¶
type OutlierDetection struct { // The number of consecutive 5xx responses or local origin errors that are mapped // to 5xx error codes before a consecutive 5xx ejection // occurs. Defaults to 5. Consecutive_5Xx *types.UInt32Value `protobuf:"bytes,1,opt,name=consecutive_5xx,json=consecutive5xx,proto3" json:"consecutive_5xx,omitempty"` // The time interval between ejection analysis sweeps. This can result in // both new ejections as well as hosts being returned to service. Defaults // to 10000ms or 10s. Interval *types.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"` // The base time that a host is ejected for. The real time is equal to the // base time multiplied by the number of times the host has been ejected. // Defaults to 30000ms or 30s. BaseEjectionTime *types.Duration `protobuf:"bytes,3,opt,name=base_ejection_time,json=baseEjectionTime,proto3" json:"base_ejection_time,omitempty"` // The maximum % of an upstream cluster that can be ejected due to outlier // detection. Defaults to 10% but will eject at least one host regardless of the value. MaxEjectionPercent *types.UInt32Value `protobuf:"bytes,4,opt,name=max_ejection_percent,json=maxEjectionPercent,proto3" json:"max_ejection_percent,omitempty"` // The % chance that a host will be actually ejected when an outlier status // is detected through consecutive 5xx. This setting can be used to disable // ejection or to ramp it up slowly. Defaults to 100. EnforcingConsecutive_5Xx *types.UInt32Value `` /* 132-byte string literal not displayed */ // The % chance that a host will be actually ejected when an outlier status // is detected through success rate statistics. This setting can be used to // disable ejection or to ramp it up slowly. Defaults to 100. EnforcingSuccessRate *types.UInt32Value `protobuf:"bytes,6,opt,name=enforcing_success_rate,json=enforcingSuccessRate,proto3" json:"enforcing_success_rate,omitempty"` // The number of hosts in a cluster that must have enough request volume to // detect success rate outliers. If the number of hosts is less than this // setting, outlier detection via success rate statistics is not performed // for any host in the cluster. Defaults to 5. SuccessRateMinimumHosts *types.UInt32Value `` /* 134-byte string literal not displayed */ // The minimum number of total requests that must be collected in one // interval (as defined by the interval duration above) to include this host // in success rate based outlier detection. If the volume is lower than this // setting, outlier detection via success rate statistics is not performed // for that host. Defaults to 100. SuccessRateRequestVolume *types.UInt32Value `` /* 137-byte string literal not displayed */ // This factor is used to determine the ejection threshold for success rate // outlier ejection. The ejection threshold is the difference between the // mean success rate, and the product of this factor and the standard // deviation of the mean success rate: mean - (stdev * // success_rate_stdev_factor). This factor is divided by a thousand to get a // double. That is, if the desired factor is 1.9, the runtime value should // be 1900. Defaults to 1900. SuccessRateStdevFactor *types.UInt32Value `` /* 131-byte string literal not displayed */ // The number of consecutive gateway failures (502, 503, 504 status codes) // before a consecutive gateway failure ejection occurs. Defaults to 5. ConsecutiveGatewayFailure *types.UInt32Value `` /* 139-byte string literal not displayed */ // The % chance that a host will be actually ejected when an outlier status // is detected through consecutive gateway failures. This setting can be // used to disable ejection or to ramp it up slowly. Defaults to 0. EnforcingConsecutiveGatewayFailure *types.UInt32Value `` /* 168-byte string literal not displayed */ // Determines whether to distinguish local origin failures from external errors. If set to true // the following configuration parameters are taken into account: // :ref:`consecutive_local_origin_failure<envoy_api_field_cluster.OutlierDetection.consecutive_local_origin_failure>`, // :ref:`enforcing_consecutive_local_origin_failure<envoy_api_field_cluster.OutlierDetection.enforcing_consecutive_local_origin_failure>` // and // :ref:`enforcing_local_origin_success_rate<envoy_api_field_cluster.OutlierDetection.enforcing_local_origin_success_rate>`. // Defaults to false. SplitExternalLocalOriginErrors bool `` /* 159-byte string literal not displayed */ // The number of consecutive locally originated failures before ejection // occurs. Defaults to 5. Parameter takes effect only when // :ref:`split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` // is set to true. ConsecutiveLocalOriginFailure *types.UInt32Value `` /* 153-byte string literal not displayed */ // The % chance that a host will be actually ejected when an outlier status // is detected through consecutive locally originated failures. This setting can be // used to disable ejection or to ramp it up slowly. Defaults to 100. // Parameter takes effect only when // :ref:`split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` // is set to true. EnforcingConsecutiveLocalOriginFailure *types.UInt32Value `` /* 182-byte string literal not displayed */ // The % chance that a host will be actually ejected when an outlier status // is detected through success rate statistics for locally originated errors. // This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100. // Parameter takes effect only when // :ref:`split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` // is set to true. EnforcingLocalOriginSuccessRate *types.UInt32Value `` /* 161-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
See the :ref:`architecture overview <arch_overview_outlier_detection>` for more information on outlier detection.
func (*OutlierDetection) Descriptor ¶
func (*OutlierDetection) Descriptor() ([]byte, []int)
func (*OutlierDetection) Equal ¶
func (this *OutlierDetection) Equal(that interface{}) bool
func (*OutlierDetection) GetBaseEjectionTime ¶
func (m *OutlierDetection) GetBaseEjectionTime() *types.Duration
func (*OutlierDetection) GetConsecutiveGatewayFailure ¶
func (m *OutlierDetection) GetConsecutiveGatewayFailure() *types.UInt32Value
func (*OutlierDetection) GetConsecutiveLocalOriginFailure ¶ added in v0.8.2
func (m *OutlierDetection) GetConsecutiveLocalOriginFailure() *types.UInt32Value
func (*OutlierDetection) GetConsecutive_5Xx ¶
func (m *OutlierDetection) GetConsecutive_5Xx() *types.UInt32Value
func (*OutlierDetection) GetEnforcingConsecutiveGatewayFailure ¶
func (m *OutlierDetection) GetEnforcingConsecutiveGatewayFailure() *types.UInt32Value
func (*OutlierDetection) GetEnforcingConsecutiveLocalOriginFailure ¶ added in v0.8.2
func (m *OutlierDetection) GetEnforcingConsecutiveLocalOriginFailure() *types.UInt32Value
func (*OutlierDetection) GetEnforcingConsecutive_5Xx ¶
func (m *OutlierDetection) GetEnforcingConsecutive_5Xx() *types.UInt32Value
func (*OutlierDetection) GetEnforcingLocalOriginSuccessRate ¶ added in v0.8.2
func (m *OutlierDetection) GetEnforcingLocalOriginSuccessRate() *types.UInt32Value
func (*OutlierDetection) GetEnforcingSuccessRate ¶
func (m *OutlierDetection) GetEnforcingSuccessRate() *types.UInt32Value
func (*OutlierDetection) GetInterval ¶
func (m *OutlierDetection) GetInterval() *types.Duration
func (*OutlierDetection) GetMaxEjectionPercent ¶
func (m *OutlierDetection) GetMaxEjectionPercent() *types.UInt32Value
func (*OutlierDetection) GetSplitExternalLocalOriginErrors ¶ added in v0.8.2
func (m *OutlierDetection) GetSplitExternalLocalOriginErrors() bool
func (*OutlierDetection) GetSuccessRateMinimumHosts ¶
func (m *OutlierDetection) GetSuccessRateMinimumHosts() *types.UInt32Value
func (*OutlierDetection) GetSuccessRateRequestVolume ¶
func (m *OutlierDetection) GetSuccessRateRequestVolume() *types.UInt32Value
func (*OutlierDetection) GetSuccessRateStdevFactor ¶
func (m *OutlierDetection) GetSuccessRateStdevFactor() *types.UInt32Value
func (*OutlierDetection) Marshal ¶
func (m *OutlierDetection) Marshal() (dAtA []byte, err error)
func (*OutlierDetection) ProtoMessage ¶
func (*OutlierDetection) ProtoMessage()
func (*OutlierDetection) Reset ¶
func (m *OutlierDetection) Reset()
func (*OutlierDetection) Size ¶
func (m *OutlierDetection) Size() (n int)
func (*OutlierDetection) String ¶
func (m *OutlierDetection) String() string
func (*OutlierDetection) Unmarshal ¶
func (m *OutlierDetection) Unmarshal(dAtA []byte) error
func (*OutlierDetection) Validate ¶
func (m *OutlierDetection) Validate() error
Validate checks the field values on OutlierDetection with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*OutlierDetection) XXX_DiscardUnknown ¶
func (m *OutlierDetection) XXX_DiscardUnknown()
func (*OutlierDetection) XXX_Marshal ¶
func (m *OutlierDetection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutlierDetection) XXX_Merge ¶
func (m *OutlierDetection) XXX_Merge(src proto.Message)
func (*OutlierDetection) XXX_Size ¶
func (m *OutlierDetection) XXX_Size() int
func (*OutlierDetection) XXX_Unmarshal ¶
func (m *OutlierDetection) XXX_Unmarshal(b []byte) error
type OutlierDetectionValidationError ¶
type OutlierDetectionValidationError struct {
// contains filtered or unexported fields
}
OutlierDetectionValidationError is the validation error returned by OutlierDetection.Validate if the designated constraints aren't met.
func (OutlierDetectionValidationError) Cause ¶
func (e OutlierDetectionValidationError) Cause() error
Cause function returns cause value.
func (OutlierDetectionValidationError) Error ¶
func (e OutlierDetectionValidationError) Error() string
Error satisfies the builtin error interface
func (OutlierDetectionValidationError) ErrorName ¶ added in v0.7.0
func (e OutlierDetectionValidationError) ErrorName() string
ErrorName returns error name.
func (OutlierDetectionValidationError) Field ¶
func (e OutlierDetectionValidationError) Field() string
Field function returns field value.
func (OutlierDetectionValidationError) Key ¶
func (e OutlierDetectionValidationError) Key() bool
Key function returns key value.
func (OutlierDetectionValidationError) Reason ¶
func (e OutlierDetectionValidationError) Reason() string
Reason function returns reason value.