go-control-plane: github.com/envoyproxy/go-control-plane/envoy/api/v2/cluster Index | Files

package envoy_api_v2_cluster

import "github.com/envoyproxy/go-control-plane/envoy/api/v2/cluster"

Index

Package Files

circuit_breaker.pb.go circuit_breaker.pb.validate.go filter.pb.go filter.pb.validate.go outlier_detection.pb.go outlier_detection.pb.validate.go

Variables

var File_envoy_api_v2_cluster_circuit_breaker_proto protoreflect.FileDescriptor
var File_envoy_api_v2_cluster_filter_proto protoreflect.FileDescriptor
var File_envoy_api_v2_cluster_outlier_detection_proto protoreflect.FileDescriptor

type CircuitBreakers Uses

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"`
    // contains filtered or unexported fields
}

:ref:`Circuit breaking<arch_overview_circuit_break>` settings can be specified individually for each defined priority.

func (*CircuitBreakers) Descriptor Uses

func (*CircuitBreakers) Descriptor() ([]byte, []int)

Deprecated: Use CircuitBreakers.ProtoReflect.Descriptor instead.

func (*CircuitBreakers) GetThresholds Uses

func (x *CircuitBreakers) GetThresholds() []*CircuitBreakers_Thresholds

func (*CircuitBreakers) ProtoMessage Uses

func (*CircuitBreakers) ProtoMessage()

func (*CircuitBreakers) ProtoReflect Uses

func (x *CircuitBreakers) ProtoReflect() protoreflect.Message

func (*CircuitBreakers) Reset Uses

func (x *CircuitBreakers) Reset()

func (*CircuitBreakers) String Uses

func (x *CircuitBreakers) String() string

func (*CircuitBreakers) Validate Uses

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.

type CircuitBreakersValidationError Uses

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 Uses

func (e CircuitBreakersValidationError) Cause() error

Cause function returns cause value.

func (CircuitBreakersValidationError) Error Uses

func (e CircuitBreakersValidationError) Error() string

Error satisfies the builtin error interface

func (CircuitBreakersValidationError) ErrorName Uses

func (e CircuitBreakersValidationError) ErrorName() string

ErrorName returns error name.

func (CircuitBreakersValidationError) Field Uses

func (e CircuitBreakersValidationError) Field() string

Field function returns field value.

func (CircuitBreakersValidationError) Key Uses

func (e CircuitBreakersValidationError) Key() bool

Key function returns key value.

func (CircuitBreakersValidationError) Reason Uses

func (e CircuitBreakersValidationError) Reason() string

Reason function returns reason value.

type CircuitBreakers_Thresholds Uses

type CircuitBreakers_Thresholds struct {

    // The :ref:`RoutingPriority<envoy_api_enum_core.RoutingPriority>`
    // the specified CircuitBreaker settings apply to.
    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 *wrappers.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 *wrappers.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 *wrappers.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 *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=max_retries,json=maxRetries,proto3" json:"max_retries,omitempty"`
    // Specifies a limit on concurrent retries in relation to the number of active requests. This
    // parameter is optional.
    //
    // .. note::
    //
    //    If this field is set, the retry budget will override any configured retry circuit
    //    breaker.
    RetryBudget *CircuitBreakers_Thresholds_RetryBudget `protobuf:"bytes,8,opt,name=retry_budget,json=retryBudget,proto3" json:"retry_budget,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.
    //
    // .. note::
    //
    //    If a retry budget is used in lieu of the max_retries circuit breaker,
    //    the remaining retry resources remaining will not be tracked.
    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 *wrappers.UInt32Value `protobuf:"bytes,7,opt,name=max_connection_pools,json=maxConnectionPools,proto3" json:"max_connection_pools,omitempty"`
    // contains filtered or unexported fields
}

A Thresholds defines CircuitBreaker settings for a :ref:`RoutingPriority<envoy_api_enum_core.RoutingPriority>`. [#next-free-field: 9]

func (*CircuitBreakers_Thresholds) Descriptor Uses

func (*CircuitBreakers_Thresholds) Descriptor() ([]byte, []int)

Deprecated: Use CircuitBreakers_Thresholds.ProtoReflect.Descriptor instead.

func (*CircuitBreakers_Thresholds) GetMaxConnectionPools Uses

func (x *CircuitBreakers_Thresholds) GetMaxConnectionPools() *wrappers.UInt32Value

func (*CircuitBreakers_Thresholds) GetMaxConnections Uses

func (x *CircuitBreakers_Thresholds) GetMaxConnections() *wrappers.UInt32Value

func (*CircuitBreakers_Thresholds) GetMaxPendingRequests Uses

func (x *CircuitBreakers_Thresholds) GetMaxPendingRequests() *wrappers.UInt32Value

func (*CircuitBreakers_Thresholds) GetMaxRequests Uses

func (x *CircuitBreakers_Thresholds) GetMaxRequests() *wrappers.UInt32Value

func (*CircuitBreakers_Thresholds) GetMaxRetries Uses

func (x *CircuitBreakers_Thresholds) GetMaxRetries() *wrappers.UInt32Value

func (*CircuitBreakers_Thresholds) GetPriority Uses

func (x *CircuitBreakers_Thresholds) GetPriority() core.RoutingPriority

func (*CircuitBreakers_Thresholds) GetRetryBudget Uses

func (x *CircuitBreakers_Thresholds) GetRetryBudget() *CircuitBreakers_Thresholds_RetryBudget

func (*CircuitBreakers_Thresholds) GetTrackRemaining Uses

func (x *CircuitBreakers_Thresholds) GetTrackRemaining() bool

func (*CircuitBreakers_Thresholds) ProtoMessage Uses

func (*CircuitBreakers_Thresholds) ProtoMessage()

func (*CircuitBreakers_Thresholds) ProtoReflect Uses

func (x *CircuitBreakers_Thresholds) ProtoReflect() protoreflect.Message

func (*CircuitBreakers_Thresholds) Reset Uses

func (x *CircuitBreakers_Thresholds) Reset()

func (*CircuitBreakers_Thresholds) String Uses

func (x *CircuitBreakers_Thresholds) String() string

func (*CircuitBreakers_Thresholds) Validate Uses

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.

type CircuitBreakers_ThresholdsValidationError Uses

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 Uses

func (e CircuitBreakers_ThresholdsValidationError) Cause() error

Cause function returns cause value.

func (CircuitBreakers_ThresholdsValidationError) Error Uses

func (e CircuitBreakers_ThresholdsValidationError) Error() string

Error satisfies the builtin error interface

func (CircuitBreakers_ThresholdsValidationError) ErrorName Uses

func (e CircuitBreakers_ThresholdsValidationError) ErrorName() string

ErrorName returns error name.

func (CircuitBreakers_ThresholdsValidationError) Field Uses

func (e CircuitBreakers_ThresholdsValidationError) Field() string

Field function returns field value.

func (CircuitBreakers_ThresholdsValidationError) Key Uses

func (e CircuitBreakers_ThresholdsValidationError) Key() bool

Key function returns key value.

func (CircuitBreakers_ThresholdsValidationError) Reason Uses

func (e CircuitBreakers_ThresholdsValidationError) Reason() string

Reason function returns reason value.

type CircuitBreakers_Thresholds_RetryBudget Uses

type CircuitBreakers_Thresholds_RetryBudget struct {

    // Specifies the limit on concurrent retries as a percentage of the sum of active requests and
    // active pending requests. For example, if there are 100 active requests and the
    // budget_percent is set to 25, there may be 25 active retries.
    //
    // This parameter is optional. Defaults to 20%.
    BudgetPercent *_type.Percent `protobuf:"bytes,1,opt,name=budget_percent,json=budgetPercent,proto3" json:"budget_percent,omitempty"`
    // Specifies the minimum retry concurrency allowed for the retry budget. The limit on the
    // number of active retries may never go below this number.
    //
    // This parameter is optional. Defaults to 3.
    MinRetryConcurrency *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=min_retry_concurrency,json=minRetryConcurrency,proto3" json:"min_retry_concurrency,omitempty"`
    // contains filtered or unexported fields
}

func (*CircuitBreakers_Thresholds_RetryBudget) Descriptor Uses

func (*CircuitBreakers_Thresholds_RetryBudget) Descriptor() ([]byte, []int)

Deprecated: Use CircuitBreakers_Thresholds_RetryBudget.ProtoReflect.Descriptor instead.

func (*CircuitBreakers_Thresholds_RetryBudget) GetBudgetPercent Uses

func (x *CircuitBreakers_Thresholds_RetryBudget) GetBudgetPercent() *_type.Percent

func (*CircuitBreakers_Thresholds_RetryBudget) GetMinRetryConcurrency Uses

func (x *CircuitBreakers_Thresholds_RetryBudget) GetMinRetryConcurrency() *wrappers.UInt32Value

func (*CircuitBreakers_Thresholds_RetryBudget) ProtoMessage Uses

func (*CircuitBreakers_Thresholds_RetryBudget) ProtoMessage()

func (*CircuitBreakers_Thresholds_RetryBudget) ProtoReflect Uses

func (x *CircuitBreakers_Thresholds_RetryBudget) ProtoReflect() protoreflect.Message

func (*CircuitBreakers_Thresholds_RetryBudget) Reset Uses

func (x *CircuitBreakers_Thresholds_RetryBudget) Reset()

func (*CircuitBreakers_Thresholds_RetryBudget) String Uses

func (x *CircuitBreakers_Thresholds_RetryBudget) String() string

func (*CircuitBreakers_Thresholds_RetryBudget) Validate Uses

func (m *CircuitBreakers_Thresholds_RetryBudget) Validate() error

Validate checks the field values on CircuitBreakers_Thresholds_RetryBudget with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CircuitBreakers_Thresholds_RetryBudgetValidationError Uses

type CircuitBreakers_Thresholds_RetryBudgetValidationError struct {
    // contains filtered or unexported fields
}

CircuitBreakers_Thresholds_RetryBudgetValidationError is the validation error returned by CircuitBreakers_Thresholds_RetryBudget.Validate if the designated constraints aren't met.

func (CircuitBreakers_Thresholds_RetryBudgetValidationError) Cause Uses

func (e CircuitBreakers_Thresholds_RetryBudgetValidationError) Cause() error

Cause function returns cause value.

func (CircuitBreakers_Thresholds_RetryBudgetValidationError) Error Uses

func (e CircuitBreakers_Thresholds_RetryBudgetValidationError) Error() string

Error satisfies the builtin error interface

func (CircuitBreakers_Thresholds_RetryBudgetValidationError) ErrorName Uses

func (e CircuitBreakers_Thresholds_RetryBudgetValidationError) ErrorName() string

ErrorName returns error name.

func (CircuitBreakers_Thresholds_RetryBudgetValidationError) Field Uses

func (e CircuitBreakers_Thresholds_RetryBudgetValidationError) Field() string

Field function returns field value.

func (CircuitBreakers_Thresholds_RetryBudgetValidationError) Key Uses

func (e CircuitBreakers_Thresholds_RetryBudgetValidationError) Key() bool

Key function returns key value.

func (CircuitBreakers_Thresholds_RetryBudgetValidationError) Reason Uses

func (e CircuitBreakers_Thresholds_RetryBudgetValidationError) Reason() string

Reason function returns reason value.

type Filter Uses

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 *any.Any `protobuf:"bytes,2,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"`
    // contains filtered or unexported fields
}

func (*Filter) Descriptor Uses

func (*Filter) Descriptor() ([]byte, []int)

Deprecated: Use Filter.ProtoReflect.Descriptor instead.

func (*Filter) GetName Uses

func (x *Filter) GetName() string

func (*Filter) GetTypedConfig Uses

func (x *Filter) GetTypedConfig() *any.Any

func (*Filter) ProtoMessage Uses

func (*Filter) ProtoMessage()

func (*Filter) ProtoReflect Uses

func (x *Filter) ProtoReflect() protoreflect.Message

func (*Filter) Reset Uses

func (x *Filter) Reset()

func (*Filter) String Uses

func (x *Filter) String() string

func (*Filter) Validate Uses

func (m *Filter) Validate() error

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.

type FilterValidationError Uses

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 Uses

func (e FilterValidationError) Cause() error

Cause function returns cause value.

func (FilterValidationError) Error Uses

func (e FilterValidationError) Error() string

Error satisfies the builtin error interface

func (FilterValidationError) ErrorName Uses

func (e FilterValidationError) ErrorName() string

ErrorName returns error name.

func (FilterValidationError) Field Uses

func (e FilterValidationError) Field() string

Field function returns field value.

func (FilterValidationError) Key Uses

func (e FilterValidationError) Key() bool

Key function returns key value.

func (FilterValidationError) Reason Uses

func (e FilterValidationError) Reason() string

Reason function returns reason value.

type OutlierDetection Uses

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 *wrappers.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 *duration.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 *duration.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 *wrappers.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 *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=enforcing_consecutive_5xx,json=enforcingConsecutive5xx,proto3" json:"enforcing_consecutive_5xx,omitempty"`
    // 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 *wrappers.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 *wrappers.UInt32Value `protobuf:"bytes,7,opt,name=success_rate_minimum_hosts,json=successRateMinimumHosts,proto3" json:"success_rate_minimum_hosts,omitempty"`
    // 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 *wrappers.UInt32Value `protobuf:"bytes,8,opt,name=success_rate_request_volume,json=successRateRequestVolume,proto3" json:"success_rate_request_volume,omitempty"`
    // 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 *wrappers.UInt32Value `protobuf:"bytes,9,opt,name=success_rate_stdev_factor,json=successRateStdevFactor,proto3" json:"success_rate_stdev_factor,omitempty"`
    // The number of consecutive gateway failures (502, 503, 504 status codes)
    // before a consecutive gateway failure ejection occurs. Defaults to 5.
    ConsecutiveGatewayFailure *wrappers.UInt32Value `protobuf:"bytes,10,opt,name=consecutive_gateway_failure,json=consecutiveGatewayFailure,proto3" json:"consecutive_gateway_failure,omitempty"`
    // 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 *wrappers.UInt32Value `protobuf:"bytes,11,opt,name=enforcing_consecutive_gateway_failure,json=enforcingConsecutiveGatewayFailure,proto3" json:"enforcing_consecutive_gateway_failure,omitempty"`
    // 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 `protobuf:"varint,12,opt,name=split_external_local_origin_errors,json=splitExternalLocalOriginErrors,proto3" json:"split_external_local_origin_errors,omitempty"`
    // 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 *wrappers.UInt32Value `protobuf:"bytes,13,opt,name=consecutive_local_origin_failure,json=consecutiveLocalOriginFailure,proto3" json:"consecutive_local_origin_failure,omitempty"`
    // 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 *wrappers.UInt32Value `protobuf:"bytes,14,opt,name=enforcing_consecutive_local_origin_failure,json=enforcingConsecutiveLocalOriginFailure,proto3" json:"enforcing_consecutive_local_origin_failure,omitempty"`
    // 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 *wrappers.UInt32Value `protobuf:"bytes,15,opt,name=enforcing_local_origin_success_rate,json=enforcingLocalOriginSuccessRate,proto3" json:"enforcing_local_origin_success_rate,omitempty"`
    // The failure percentage to use when determining failure percentage-based outlier detection. If
    // the failure percentage of a given host is greater than or equal to this value, it will be
    // ejected. Defaults to 85.
    FailurePercentageThreshold *wrappers.UInt32Value `protobuf:"bytes,16,opt,name=failure_percentage_threshold,json=failurePercentageThreshold,proto3" json:"failure_percentage_threshold,omitempty"`
    // The % chance that a host will be actually ejected when an outlier status is detected through
    // failure percentage statistics. This setting can be used to disable ejection or to ramp it up
    // slowly. Defaults to 0.
    //
    // [#next-major-version: setting this without setting failure_percentage_threshold should be
    // invalid in v4.]
    EnforcingFailurePercentage *wrappers.UInt32Value `protobuf:"bytes,17,opt,name=enforcing_failure_percentage,json=enforcingFailurePercentage,proto3" json:"enforcing_failure_percentage,omitempty"`
    // The % chance that a host will be actually ejected when an outlier status is detected through
    // local-origin failure percentage statistics. This setting can be used to disable ejection or to
    // ramp it up slowly. Defaults to 0.
    EnforcingFailurePercentageLocalOrigin *wrappers.UInt32Value `protobuf:"bytes,18,opt,name=enforcing_failure_percentage_local_origin,json=enforcingFailurePercentageLocalOrigin,proto3" json:"enforcing_failure_percentage_local_origin,omitempty"`
    // The minimum number of hosts in a cluster in order to perform failure percentage-based ejection.
    // If the total number of hosts in the cluster is less than this value, failure percentage-based
    // ejection will not be performed. Defaults to 5.
    FailurePercentageMinimumHosts *wrappers.UInt32Value `protobuf:"bytes,19,opt,name=failure_percentage_minimum_hosts,json=failurePercentageMinimumHosts,proto3" json:"failure_percentage_minimum_hosts,omitempty"`
    // The minimum number of total requests that must be collected in one interval (as defined by the
    // interval duration above) to perform failure percentage-based ejection for this host. If the
    // volume is lower than this setting, failure percentage-based ejection will not be performed for
    // this host. Defaults to 50.
    FailurePercentageRequestVolume *wrappers.UInt32Value `protobuf:"bytes,20,opt,name=failure_percentage_request_volume,json=failurePercentageRequestVolume,proto3" json:"failure_percentage_request_volume,omitempty"`
    // contains filtered or unexported fields
}

See the :ref:`architecture overview <arch_overview_outlier_detection>` for more information on outlier detection. [#next-free-field: 21]

func (*OutlierDetection) Descriptor Uses

func (*OutlierDetection) Descriptor() ([]byte, []int)

Deprecated: Use OutlierDetection.ProtoReflect.Descriptor instead.

func (*OutlierDetection) GetBaseEjectionTime Uses

func (x *OutlierDetection) GetBaseEjectionTime() *duration.Duration

func (*OutlierDetection) GetConsecutiveGatewayFailure Uses

func (x *OutlierDetection) GetConsecutiveGatewayFailure() *wrappers.UInt32Value

func (*OutlierDetection) GetConsecutiveLocalOriginFailure Uses

func (x *OutlierDetection) GetConsecutiveLocalOriginFailure() *wrappers.UInt32Value

func (*OutlierDetection) GetConsecutive_5Xx Uses

func (x *OutlierDetection) GetConsecutive_5Xx() *wrappers.UInt32Value

func (*OutlierDetection) GetEnforcingConsecutiveGatewayFailure Uses

func (x *OutlierDetection) GetEnforcingConsecutiveGatewayFailure() *wrappers.UInt32Value

func (*OutlierDetection) GetEnforcingConsecutiveLocalOriginFailure Uses

func (x *OutlierDetection) GetEnforcingConsecutiveLocalOriginFailure() *wrappers.UInt32Value

func (*OutlierDetection) GetEnforcingConsecutive_5Xx Uses

func (x *OutlierDetection) GetEnforcingConsecutive_5Xx() *wrappers.UInt32Value

func (*OutlierDetection) GetEnforcingFailurePercentage Uses

func (x *OutlierDetection) GetEnforcingFailurePercentage() *wrappers.UInt32Value

func (*OutlierDetection) GetEnforcingFailurePercentageLocalOrigin Uses

func (x *OutlierDetection) GetEnforcingFailurePercentageLocalOrigin() *wrappers.UInt32Value

func (*OutlierDetection) GetEnforcingLocalOriginSuccessRate Uses

func (x *OutlierDetection) GetEnforcingLocalOriginSuccessRate() *wrappers.UInt32Value

func (*OutlierDetection) GetEnforcingSuccessRate Uses

func (x *OutlierDetection) GetEnforcingSuccessRate() *wrappers.UInt32Value

func (*OutlierDetection) GetFailurePercentageMinimumHosts Uses

func (x *OutlierDetection) GetFailurePercentageMinimumHosts() *wrappers.UInt32Value

func (*OutlierDetection) GetFailurePercentageRequestVolume Uses

func (x *OutlierDetection) GetFailurePercentageRequestVolume() *wrappers.UInt32Value

func (*OutlierDetection) GetFailurePercentageThreshold Uses

func (x *OutlierDetection) GetFailurePercentageThreshold() *wrappers.UInt32Value

func (*OutlierDetection) GetInterval Uses

func (x *OutlierDetection) GetInterval() *duration.Duration

func (*OutlierDetection) GetMaxEjectionPercent Uses

func (x *OutlierDetection) GetMaxEjectionPercent() *wrappers.UInt32Value

func (*OutlierDetection) GetSplitExternalLocalOriginErrors Uses

func (x *OutlierDetection) GetSplitExternalLocalOriginErrors() bool

func (*OutlierDetection) GetSuccessRateMinimumHosts Uses

func (x *OutlierDetection) GetSuccessRateMinimumHosts() *wrappers.UInt32Value

func (*OutlierDetection) GetSuccessRateRequestVolume Uses

func (x *OutlierDetection) GetSuccessRateRequestVolume() *wrappers.UInt32Value

func (*OutlierDetection) GetSuccessRateStdevFactor Uses

func (x *OutlierDetection) GetSuccessRateStdevFactor() *wrappers.UInt32Value

func (*OutlierDetection) ProtoMessage Uses

func (*OutlierDetection) ProtoMessage()

func (*OutlierDetection) ProtoReflect Uses

func (x *OutlierDetection) ProtoReflect() protoreflect.Message

func (*OutlierDetection) Reset Uses

func (x *OutlierDetection) Reset()

func (*OutlierDetection) String Uses

func (x *OutlierDetection) String() string

func (*OutlierDetection) Validate Uses

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.

type OutlierDetectionValidationError Uses

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 Uses

func (e OutlierDetectionValidationError) Cause() error

Cause function returns cause value.

func (OutlierDetectionValidationError) Error Uses

func (e OutlierDetectionValidationError) Error() string

Error satisfies the builtin error interface

func (OutlierDetectionValidationError) ErrorName Uses

func (e OutlierDetectionValidationError) ErrorName() string

ErrorName returns error name.

func (OutlierDetectionValidationError) Field Uses

func (e OutlierDetectionValidationError) Field() string

Field function returns field value.

func (OutlierDetectionValidationError) Key Uses

func (e OutlierDetectionValidationError) Key() bool

Key function returns key value.

func (OutlierDetectionValidationError) Reason Uses

func (e OutlierDetectionValidationError) Reason() string

Reason function returns reason value.

Package envoy_api_v2_cluster imports 23 packages (graph) and is imported by 35 packages. Updated 2021-01-08. Refresh now. Tools for package owners.