go-control-plane: github.com/envoyproxy/go-control-plane/envoy/config/filter/http/adaptive_concurrency/v2alpha Index | Files

package envoy_config_filter_http_adaptive_concurrency_v2alpha

import "github.com/envoyproxy/go-control-plane/envoy/config/filter/http/adaptive_concurrency/v2alpha"

Index

Package Files

adaptive_concurrency.pb.go adaptive_concurrency.pb.validate.go

Variables

var File_envoy_config_filter_http_adaptive_concurrency_v2alpha_adaptive_concurrency_proto protoreflect.FileDescriptor

type AdaptiveConcurrency Uses

type AdaptiveConcurrency struct {

    // Types that are assignable to ConcurrencyControllerConfig:
    //	*AdaptiveConcurrency_GradientControllerConfig
    ConcurrencyControllerConfig isAdaptiveConcurrency_ConcurrencyControllerConfig `protobuf_oneof:"concurrency_controller_config"`
    // If set to false, the adaptive concurrency filter will operate as a pass-through filter. If the
    // message is unspecified, the filter will be enabled.
    Enabled *core.RuntimeFeatureFlag `protobuf:"bytes,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
    // contains filtered or unexported fields
}

func (*AdaptiveConcurrency) Descriptor Uses

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

Deprecated: Use AdaptiveConcurrency.ProtoReflect.Descriptor instead.

func (*AdaptiveConcurrency) GetConcurrencyControllerConfig Uses

func (m *AdaptiveConcurrency) GetConcurrencyControllerConfig() isAdaptiveConcurrency_ConcurrencyControllerConfig

func (*AdaptiveConcurrency) GetEnabled Uses

func (x *AdaptiveConcurrency) GetEnabled() *core.RuntimeFeatureFlag

func (*AdaptiveConcurrency) GetGradientControllerConfig Uses

func (x *AdaptiveConcurrency) GetGradientControllerConfig() *GradientControllerConfig

func (*AdaptiveConcurrency) ProtoMessage Uses

func (*AdaptiveConcurrency) ProtoMessage()

func (*AdaptiveConcurrency) ProtoReflect Uses

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

func (*AdaptiveConcurrency) Reset Uses

func (x *AdaptiveConcurrency) Reset()

func (*AdaptiveConcurrency) String Uses

func (x *AdaptiveConcurrency) String() string

func (*AdaptiveConcurrency) Validate Uses

func (m *AdaptiveConcurrency) Validate() error

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

type AdaptiveConcurrencyValidationError Uses

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

AdaptiveConcurrencyValidationError is the validation error returned by AdaptiveConcurrency.Validate if the designated constraints aren't met.

func (AdaptiveConcurrencyValidationError) Cause Uses

func (e AdaptiveConcurrencyValidationError) Cause() error

Cause function returns cause value.

func (AdaptiveConcurrencyValidationError) Error Uses

func (e AdaptiveConcurrencyValidationError) Error() string

Error satisfies the builtin error interface

func (AdaptiveConcurrencyValidationError) ErrorName Uses

func (e AdaptiveConcurrencyValidationError) ErrorName() string

ErrorName returns error name.

func (AdaptiveConcurrencyValidationError) Field Uses

func (e AdaptiveConcurrencyValidationError) Field() string

Field function returns field value.

func (AdaptiveConcurrencyValidationError) Key Uses

func (e AdaptiveConcurrencyValidationError) Key() bool

Key function returns key value.

func (AdaptiveConcurrencyValidationError) Reason Uses

func (e AdaptiveConcurrencyValidationError) Reason() string

Reason function returns reason value.

type AdaptiveConcurrency_GradientControllerConfig Uses

type AdaptiveConcurrency_GradientControllerConfig struct {
    // Gradient concurrency control will be used.
    GradientControllerConfig *GradientControllerConfig `protobuf:"bytes,1,opt,name=gradient_controller_config,json=gradientControllerConfig,proto3,oneof"`
}

type GradientControllerConfig Uses

type GradientControllerConfig struct {

    // The percentile to use when summarizing aggregated samples. Defaults to p50.
    SampleAggregatePercentile *_type.Percent                                              `protobuf:"bytes,1,opt,name=sample_aggregate_percentile,json=sampleAggregatePercentile,proto3" json:"sample_aggregate_percentile,omitempty"`
    ConcurrencyLimitParams    *GradientControllerConfig_ConcurrencyLimitCalculationParams `protobuf:"bytes,2,opt,name=concurrency_limit_params,json=concurrencyLimitParams,proto3" json:"concurrency_limit_params,omitempty"`
    MinRttCalcParams          *GradientControllerConfig_MinimumRTTCalculationParams       `protobuf:"bytes,3,opt,name=min_rtt_calc_params,json=minRttCalcParams,proto3" json:"min_rtt_calc_params,omitempty"`
    // contains filtered or unexported fields
}

Configuration parameters for the gradient controller.

func (*GradientControllerConfig) Descriptor Uses

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

Deprecated: Use GradientControllerConfig.ProtoReflect.Descriptor instead.

func (*GradientControllerConfig) GetConcurrencyLimitParams Uses

func (x *GradientControllerConfig) GetConcurrencyLimitParams() *GradientControllerConfig_ConcurrencyLimitCalculationParams

func (*GradientControllerConfig) GetMinRttCalcParams Uses

func (x *GradientControllerConfig) GetMinRttCalcParams() *GradientControllerConfig_MinimumRTTCalculationParams

func (*GradientControllerConfig) GetSampleAggregatePercentile Uses

func (x *GradientControllerConfig) GetSampleAggregatePercentile() *_type.Percent

func (*GradientControllerConfig) ProtoMessage Uses

func (*GradientControllerConfig) ProtoMessage()

func (*GradientControllerConfig) ProtoReflect Uses

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

func (*GradientControllerConfig) Reset Uses

func (x *GradientControllerConfig) Reset()

func (*GradientControllerConfig) String Uses

func (x *GradientControllerConfig) String() string

func (*GradientControllerConfig) Validate Uses

func (m *GradientControllerConfig) Validate() error

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

type GradientControllerConfigValidationError Uses

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

GradientControllerConfigValidationError is the validation error returned by GradientControllerConfig.Validate if the designated constraints aren't met.

func (GradientControllerConfigValidationError) Cause Uses

func (e GradientControllerConfigValidationError) Cause() error

Cause function returns cause value.

func (GradientControllerConfigValidationError) Error Uses

func (e GradientControllerConfigValidationError) Error() string

Error satisfies the builtin error interface

func (GradientControllerConfigValidationError) ErrorName Uses

func (e GradientControllerConfigValidationError) ErrorName() string

ErrorName returns error name.

func (GradientControllerConfigValidationError) Field Uses

func (e GradientControllerConfigValidationError) Field() string

Field function returns field value.

func (GradientControllerConfigValidationError) Key Uses

func (e GradientControllerConfigValidationError) Key() bool

Key function returns key value.

func (GradientControllerConfigValidationError) Reason Uses

func (e GradientControllerConfigValidationError) Reason() string

Reason function returns reason value.

type GradientControllerConfig_ConcurrencyLimitCalculationParams Uses

type GradientControllerConfig_ConcurrencyLimitCalculationParams struct {

    // The allowed upper-bound on the calculated concurrency limit. Defaults to 1000.
    MaxConcurrencyLimit *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=max_concurrency_limit,json=maxConcurrencyLimit,proto3" json:"max_concurrency_limit,omitempty"`
    // The period of time samples are taken to recalculate the concurrency limit.
    ConcurrencyUpdateInterval *duration.Duration `protobuf:"bytes,3,opt,name=concurrency_update_interval,json=concurrencyUpdateInterval,proto3" json:"concurrency_update_interval,omitempty"`
    // contains filtered or unexported fields
}

Parameters controlling the periodic recalculation of the concurrency limit from sampled request latencies.

func (*GradientControllerConfig_ConcurrencyLimitCalculationParams) Descriptor Uses

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

Deprecated: Use GradientControllerConfig_ConcurrencyLimitCalculationParams.ProtoReflect.Descriptor instead.

func (*GradientControllerConfig_ConcurrencyLimitCalculationParams) GetConcurrencyUpdateInterval Uses

func (x *GradientControllerConfig_ConcurrencyLimitCalculationParams) GetConcurrencyUpdateInterval() *duration.Duration

func (*GradientControllerConfig_ConcurrencyLimitCalculationParams) GetMaxConcurrencyLimit Uses

func (x *GradientControllerConfig_ConcurrencyLimitCalculationParams) GetMaxConcurrencyLimit() *wrappers.UInt32Value

func (*GradientControllerConfig_ConcurrencyLimitCalculationParams) ProtoMessage Uses

func (*GradientControllerConfig_ConcurrencyLimitCalculationParams) ProtoMessage()

func (*GradientControllerConfig_ConcurrencyLimitCalculationParams) ProtoReflect Uses

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

func (*GradientControllerConfig_ConcurrencyLimitCalculationParams) Reset Uses

func (x *GradientControllerConfig_ConcurrencyLimitCalculationParams) Reset()

func (*GradientControllerConfig_ConcurrencyLimitCalculationParams) String Uses

func (x *GradientControllerConfig_ConcurrencyLimitCalculationParams) String() string

func (*GradientControllerConfig_ConcurrencyLimitCalculationParams) Validate Uses

func (m *GradientControllerConfig_ConcurrencyLimitCalculationParams) Validate() error

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

type GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError Uses

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

GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError is the validation error returned by GradientControllerConfig_ConcurrencyLimitCalculationParams.Validate if the designated constraints aren't met.

func (GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError) Cause Uses

func (e GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError) Cause() error

Cause function returns cause value.

func (GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError) Error Uses

func (e GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError) Error() string

Error satisfies the builtin error interface

func (GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError) ErrorName Uses

func (e GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError) ErrorName() string

ErrorName returns error name.

func (GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError) Field Uses

func (e GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError) Field() string

Field function returns field value.

func (GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError) Key Uses

func (e GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError) Key() bool

Key function returns key value.

func (GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError) Reason Uses

func (e GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError) Reason() string

Reason function returns reason value.

type GradientControllerConfig_MinimumRTTCalculationParams Uses

type GradientControllerConfig_MinimumRTTCalculationParams struct {

    // The time interval between recalculating the minimum request round-trip time.
    Interval *duration.Duration `protobuf:"bytes,1,opt,name=interval,proto3" json:"interval,omitempty"`
    // The number of requests to aggregate/sample during the minRTT recalculation window before
    // updating. Defaults to 50.
    RequestCount *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=request_count,json=requestCount,proto3" json:"request_count,omitempty"`
    // Randomized time delta that will be introduced to the start of the minRTT calculation window.
    // This is represented as a percentage of the interval duration. Defaults to 15%.
    //
    // Example: If the interval is 10s and the jitter is 15%, the next window will begin
    // somewhere in the range (10s - 11.5s).
    Jitter *_type.Percent `protobuf:"bytes,3,opt,name=jitter,proto3" json:"jitter,omitempty"`
    // The concurrency limit set while measuring the minRTT. Defaults to 3.
    MinConcurrency *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=min_concurrency,json=minConcurrency,proto3" json:"min_concurrency,omitempty"`
    // Amount added to the measured minRTT to add stability to the concurrency limit during natural
    // variability in latency. This is expressed as a percentage of the measured value and can be
    // adjusted to allow more or less tolerance to the sampled latency values.
    //
    // Defaults to 25%.
    Buffer *_type.Percent `protobuf:"bytes,5,opt,name=buffer,proto3" json:"buffer,omitempty"`
    // contains filtered or unexported fields
}

Parameters controlling the periodic minRTT recalculation. [#next-free-field: 6]

func (*GradientControllerConfig_MinimumRTTCalculationParams) Descriptor Uses

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

Deprecated: Use GradientControllerConfig_MinimumRTTCalculationParams.ProtoReflect.Descriptor instead.

func (*GradientControllerConfig_MinimumRTTCalculationParams) GetBuffer Uses

func (x *GradientControllerConfig_MinimumRTTCalculationParams) GetBuffer() *_type.Percent

func (*GradientControllerConfig_MinimumRTTCalculationParams) GetInterval Uses

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

func (*GradientControllerConfig_MinimumRTTCalculationParams) GetJitter Uses

func (x *GradientControllerConfig_MinimumRTTCalculationParams) GetJitter() *_type.Percent

func (*GradientControllerConfig_MinimumRTTCalculationParams) GetMinConcurrency Uses

func (x *GradientControllerConfig_MinimumRTTCalculationParams) GetMinConcurrency() *wrappers.UInt32Value

func (*GradientControllerConfig_MinimumRTTCalculationParams) GetRequestCount Uses

func (x *GradientControllerConfig_MinimumRTTCalculationParams) GetRequestCount() *wrappers.UInt32Value

func (*GradientControllerConfig_MinimumRTTCalculationParams) ProtoMessage Uses

func (*GradientControllerConfig_MinimumRTTCalculationParams) ProtoMessage()

func (*GradientControllerConfig_MinimumRTTCalculationParams) ProtoReflect Uses

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

func (*GradientControllerConfig_MinimumRTTCalculationParams) Reset Uses

func (x *GradientControllerConfig_MinimumRTTCalculationParams) Reset()

func (*GradientControllerConfig_MinimumRTTCalculationParams) String Uses

func (x *GradientControllerConfig_MinimumRTTCalculationParams) String() string

func (*GradientControllerConfig_MinimumRTTCalculationParams) Validate Uses

func (m *GradientControllerConfig_MinimumRTTCalculationParams) Validate() error

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

type GradientControllerConfig_MinimumRTTCalculationParamsValidationError Uses

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

GradientControllerConfig_MinimumRTTCalculationParamsValidationError is the validation error returned by GradientControllerConfig_MinimumRTTCalculationParams.Validate if the designated constraints aren't met.

func (GradientControllerConfig_MinimumRTTCalculationParamsValidationError) Cause Uses

func (e GradientControllerConfig_MinimumRTTCalculationParamsValidationError) Cause() error

Cause function returns cause value.

func (GradientControllerConfig_MinimumRTTCalculationParamsValidationError) Error Uses

func (e GradientControllerConfig_MinimumRTTCalculationParamsValidationError) Error() string

Error satisfies the builtin error interface

func (GradientControllerConfig_MinimumRTTCalculationParamsValidationError) ErrorName Uses

func (e GradientControllerConfig_MinimumRTTCalculationParamsValidationError) ErrorName() string

ErrorName returns error name.

func (GradientControllerConfig_MinimumRTTCalculationParamsValidationError) Field Uses

func (e GradientControllerConfig_MinimumRTTCalculationParamsValidationError) Field() string

Field function returns field value.

func (GradientControllerConfig_MinimumRTTCalculationParamsValidationError) Key Uses

func (e GradientControllerConfig_MinimumRTTCalculationParamsValidationError) Key() bool

Key function returns key value.

func (GradientControllerConfig_MinimumRTTCalculationParamsValidationError) Reason Uses

func (e GradientControllerConfig_MinimumRTTCalculationParamsValidationError) Reason() string

Reason function returns reason value.

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