envoy_api_v2_cluster

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_api_v2_cluster_circuit_breaker_proto protoreflect.FileDescriptor
View Source
var File_envoy_api_v2_cluster_filter_proto protoreflect.FileDescriptor
View Source
var File_envoy_api_v2_cluster_outlier_detection_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CircuitBreakers

type CircuitBreakers struct {
	Thresholds []*CircuitBreakers_Thresholds `protobuf:"bytes,1,rep,name=thresholds,proto3" json:"thresholds,omitempty"`
	// contains filtered or unexported fields
}

func (*CircuitBreakers) Descriptor deprecated

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

Deprecated: Use CircuitBreakers.ProtoReflect.Descriptor instead.

func (*CircuitBreakers) GetThresholds

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

func (*CircuitBreakers) ProtoMessage

func (*CircuitBreakers) ProtoMessage()

func (*CircuitBreakers) ProtoReflect added in v0.9.7

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

func (*CircuitBreakers) Reset

func (x *CircuitBreakers) Reset()

func (*CircuitBreakers) String

func (x *CircuitBreakers) String() string

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.

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

Cause function returns cause value.

func (CircuitBreakersValidationError) Error

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

Field function returns field value.

func (CircuitBreakersValidationError) Key

Key function returns key value.

func (CircuitBreakersValidationError) Reason

Reason function returns reason value.

type CircuitBreakers_Thresholds

type CircuitBreakers_Thresholds struct {
	Priority           core.RoutingPriority                    `protobuf:"varint,1,opt,name=priority,proto3,enum=envoy.api.v2.core.RoutingPriority" json:"priority,omitempty"`
	MaxConnections     *wrappers.UInt32Value                   `protobuf:"bytes,2,opt,name=max_connections,json=maxConnections,proto3" json:"max_connections,omitempty"`
	MaxPendingRequests *wrappers.UInt32Value                   `protobuf:"bytes,3,opt,name=max_pending_requests,json=maxPendingRequests,proto3" json:"max_pending_requests,omitempty"`
	MaxRequests        *wrappers.UInt32Value                   `protobuf:"bytes,4,opt,name=max_requests,json=maxRequests,proto3" json:"max_requests,omitempty"`
	MaxRetries         *wrappers.UInt32Value                   `protobuf:"bytes,5,opt,name=max_retries,json=maxRetries,proto3" json:"max_retries,omitempty"`
	RetryBudget        *CircuitBreakers_Thresholds_RetryBudget `protobuf:"bytes,8,opt,name=retry_budget,json=retryBudget,proto3" json:"retry_budget,omitempty"`
	TrackRemaining     bool                                    `protobuf:"varint,6,opt,name=track_remaining,json=trackRemaining,proto3" json:"track_remaining,omitempty"`
	MaxConnectionPools *wrappers.UInt32Value                   `protobuf:"bytes,7,opt,name=max_connection_pools,json=maxConnectionPools,proto3" json:"max_connection_pools,omitempty"`
	// contains filtered or unexported fields
}

func (*CircuitBreakers_Thresholds) Descriptor deprecated

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

Deprecated: Use CircuitBreakers_Thresholds.ProtoReflect.Descriptor instead.

func (*CircuitBreakers_Thresholds) GetMaxConnectionPools added in v0.7.0

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

func (*CircuitBreakers_Thresholds) GetMaxConnections

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

func (*CircuitBreakers_Thresholds) GetMaxPendingRequests

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

func (*CircuitBreakers_Thresholds) GetMaxRequests

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

func (*CircuitBreakers_Thresholds) GetMaxRetries

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

func (*CircuitBreakers_Thresholds) GetPriority

func (*CircuitBreakers_Thresholds) GetRetryBudget added in v0.9.7

func (*CircuitBreakers_Thresholds) GetTrackRemaining added in v0.7.0

func (x *CircuitBreakers_Thresholds) GetTrackRemaining() bool

func (*CircuitBreakers_Thresholds) ProtoMessage

func (*CircuitBreakers_Thresholds) ProtoMessage()

func (*CircuitBreakers_Thresholds) ProtoReflect added in v0.9.7

func (*CircuitBreakers_Thresholds) Reset

func (x *CircuitBreakers_Thresholds) Reset()

func (*CircuitBreakers_Thresholds) String

func (x *CircuitBreakers_Thresholds) String() string

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.

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

Cause function returns cause value.

func (CircuitBreakers_ThresholdsValidationError) Error

Error satisfies the builtin error interface

func (CircuitBreakers_ThresholdsValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (CircuitBreakers_ThresholdsValidationError) Field

Field function returns field value.

func (CircuitBreakers_ThresholdsValidationError) Key

Key function returns key value.

func (CircuitBreakers_ThresholdsValidationError) Reason

Reason function returns reason value.

type CircuitBreakers_Thresholds_RetryBudget added in v0.9.7

type CircuitBreakers_Thresholds_RetryBudget struct {
	BudgetPercent       *_type.Percent        `protobuf:"bytes,1,opt,name=budget_percent,json=budgetPercent,proto3" json:"budget_percent,omitempty"`
	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 deprecated added in v0.9.7

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

Deprecated: Use CircuitBreakers_Thresholds_RetryBudget.ProtoReflect.Descriptor instead.

func (*CircuitBreakers_Thresholds_RetryBudget) GetBudgetPercent added in v0.9.7

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

func (*CircuitBreakers_Thresholds_RetryBudget) GetMinRetryConcurrency added in v0.9.7

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

func (*CircuitBreakers_Thresholds_RetryBudget) ProtoMessage added in v0.9.7

func (*CircuitBreakers_Thresholds_RetryBudget) ProtoReflect added in v0.9.7

func (*CircuitBreakers_Thresholds_RetryBudget) Reset added in v0.9.7

func (*CircuitBreakers_Thresholds_RetryBudget) String added in v0.9.7

func (*CircuitBreakers_Thresholds_RetryBudget) Validate added in v0.9.7

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 added in v0.9.7

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 added in v0.9.7

Cause function returns cause value.

func (CircuitBreakers_Thresholds_RetryBudgetValidationError) Error added in v0.9.7

Error satisfies the builtin error interface

func (CircuitBreakers_Thresholds_RetryBudgetValidationError) ErrorName added in v0.9.7

ErrorName returns error name.

func (CircuitBreakers_Thresholds_RetryBudgetValidationError) Field added in v0.9.7

Field function returns field value.

func (CircuitBreakers_Thresholds_RetryBudgetValidationError) Key added in v0.9.7

Key function returns key value.

func (CircuitBreakers_Thresholds_RetryBudgetValidationError) Reason added in v0.9.7

Reason function returns reason value.

type Filter added in v0.9.7

type Filter struct {
	Name        string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	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 deprecated added in v0.9.7

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

Deprecated: Use Filter.ProtoReflect.Descriptor instead.

func (*Filter) GetName added in v0.9.7

func (x *Filter) GetName() string

func (*Filter) GetTypedConfig added in v0.9.7

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

func (*Filter) ProtoMessage added in v0.9.7

func (*Filter) ProtoMessage()

func (*Filter) ProtoReflect added in v0.9.7

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

func (*Filter) Reset added in v0.9.7

func (x *Filter) Reset()

func (*Filter) String added in v0.9.7

func (x *Filter) String() string

func (*Filter) Validate added in v0.9.7

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 added in v0.9.7

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.9.7

func (e FilterValidationError) Cause() error

Cause function returns cause value.

func (FilterValidationError) Error added in v0.9.7

func (e FilterValidationError) Error() string

Error satisfies the builtin error interface

func (FilterValidationError) ErrorName added in v0.9.7

func (e FilterValidationError) ErrorName() string

ErrorName returns error name.

func (FilterValidationError) Field added in v0.9.7

func (e FilterValidationError) Field() string

Field function returns field value.

func (FilterValidationError) Key added in v0.9.7

func (e FilterValidationError) Key() bool

Key function returns key value.

func (FilterValidationError) Reason added in v0.9.7

func (e FilterValidationError) Reason() string

Reason function returns reason value.

type OutlierDetection

type OutlierDetection struct {
	Consecutive_5Xx                        *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=consecutive_5xx,json=consecutive5xx,proto3" json:"consecutive_5xx,omitempty"`
	Interval                               *duration.Duration    `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"`
	BaseEjectionTime                       *duration.Duration    `protobuf:"bytes,3,opt,name=base_ejection_time,json=baseEjectionTime,proto3" json:"base_ejection_time,omitempty"`
	MaxEjectionPercent                     *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=max_ejection_percent,json=maxEjectionPercent,proto3" json:"max_ejection_percent,omitempty"`
	EnforcingConsecutive_5Xx               *wrappers.UInt32Value `` /* 132-byte string literal not displayed */
	EnforcingSuccessRate                   *wrappers.UInt32Value `protobuf:"bytes,6,opt,name=enforcing_success_rate,json=enforcingSuccessRate,proto3" json:"enforcing_success_rate,omitempty"`
	SuccessRateMinimumHosts                *wrappers.UInt32Value `` /* 134-byte string literal not displayed */
	SuccessRateRequestVolume               *wrappers.UInt32Value `` /* 137-byte string literal not displayed */
	SuccessRateStdevFactor                 *wrappers.UInt32Value `` /* 131-byte string literal not displayed */
	ConsecutiveGatewayFailure              *wrappers.UInt32Value `` /* 139-byte string literal not displayed */
	EnforcingConsecutiveGatewayFailure     *wrappers.UInt32Value `` /* 168-byte string literal not displayed */
	SplitExternalLocalOriginErrors         bool                  `` /* 159-byte string literal not displayed */
	ConsecutiveLocalOriginFailure          *wrappers.UInt32Value `` /* 153-byte string literal not displayed */
	EnforcingConsecutiveLocalOriginFailure *wrappers.UInt32Value `` /* 182-byte string literal not displayed */
	EnforcingLocalOriginSuccessRate        *wrappers.UInt32Value `` /* 161-byte string literal not displayed */
	FailurePercentageThreshold             *wrappers.UInt32Value `` /* 142-byte string literal not displayed */
	EnforcingFailurePercentage             *wrappers.UInt32Value `` /* 142-byte string literal not displayed */
	EnforcingFailurePercentageLocalOrigin  *wrappers.UInt32Value `` /* 179-byte string literal not displayed */
	FailurePercentageMinimumHosts          *wrappers.UInt32Value `` /* 153-byte string literal not displayed */
	FailurePercentageRequestVolume         *wrappers.UInt32Value `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*OutlierDetection) Descriptor deprecated

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

Deprecated: Use OutlierDetection.ProtoReflect.Descriptor instead.

func (*OutlierDetection) GetBaseEjectionTime

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

func (*OutlierDetection) GetConsecutiveGatewayFailure

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

func (*OutlierDetection) GetConsecutiveLocalOriginFailure added in v0.9.7

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

func (*OutlierDetection) GetConsecutive_5Xx

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

func (*OutlierDetection) GetEnforcingConsecutiveGatewayFailure

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

func (*OutlierDetection) GetEnforcingConsecutiveLocalOriginFailure added in v0.9.7

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

func (*OutlierDetection) GetEnforcingConsecutive_5Xx

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

func (*OutlierDetection) GetEnforcingFailurePercentage added in v0.9.7

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

func (*OutlierDetection) GetEnforcingFailurePercentageLocalOrigin added in v0.9.7

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

func (*OutlierDetection) GetEnforcingLocalOriginSuccessRate added in v0.9.7

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

func (*OutlierDetection) GetEnforcingSuccessRate

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

func (*OutlierDetection) GetFailurePercentageMinimumHosts added in v0.9.7

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

func (*OutlierDetection) GetFailurePercentageRequestVolume added in v0.9.7

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

func (*OutlierDetection) GetFailurePercentageThreshold added in v0.9.7

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

func (*OutlierDetection) GetInterval

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

func (*OutlierDetection) GetMaxEjectionPercent

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

func (*OutlierDetection) GetSplitExternalLocalOriginErrors added in v0.9.7

func (x *OutlierDetection) GetSplitExternalLocalOriginErrors() bool

func (*OutlierDetection) GetSuccessRateMinimumHosts

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

func (*OutlierDetection) GetSuccessRateRequestVolume

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

func (*OutlierDetection) GetSuccessRateStdevFactor

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

func (*OutlierDetection) ProtoMessage

func (*OutlierDetection) ProtoMessage()

func (*OutlierDetection) ProtoReflect added in v0.9.7

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

func (*OutlierDetection) Reset

func (x *OutlierDetection) Reset()

func (*OutlierDetection) String

func (x *OutlierDetection) String() string

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.

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

Cause function returns cause value.

func (OutlierDetectionValidationError) Error

Error satisfies the builtin error interface

func (OutlierDetectionValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (OutlierDetectionValidationError) Field

Field function returns field value.

func (OutlierDetectionValidationError) Key

Key function returns key value.

func (OutlierDetectionValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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