Documentation ¶
Index ¶
- Variables
- type AdaptiveConcurrency
- func (*AdaptiveConcurrency) Descriptor() ([]byte, []int)deprecated
- func (m *AdaptiveConcurrency) GetConcurrencyControllerConfig() isAdaptiveConcurrency_ConcurrencyControllerConfig
- func (x *AdaptiveConcurrency) GetConcurrencyLimitExceededStatus() *v3.HttpStatus
- func (x *AdaptiveConcurrency) GetEnabled() *v31.RuntimeFeatureFlag
- func (x *AdaptiveConcurrency) GetGradientControllerConfig() *GradientControllerConfig
- func (*AdaptiveConcurrency) ProtoMessage()
- func (x *AdaptiveConcurrency) ProtoReflect() protoreflect.Message
- func (x *AdaptiveConcurrency) Reset()
- func (x *AdaptiveConcurrency) String() string
- func (m *AdaptiveConcurrency) Validate() error
- func (m *AdaptiveConcurrency) ValidateAll() error
- type AdaptiveConcurrencyMultiError
- type AdaptiveConcurrencyValidationError
- func (e AdaptiveConcurrencyValidationError) Cause() error
- func (e AdaptiveConcurrencyValidationError) Error() string
- func (e AdaptiveConcurrencyValidationError) ErrorName() string
- func (e AdaptiveConcurrencyValidationError) Field() string
- func (e AdaptiveConcurrencyValidationError) Key() bool
- func (e AdaptiveConcurrencyValidationError) Reason() string
- type AdaptiveConcurrency_GradientControllerConfig
- type GradientControllerConfig
- func (*GradientControllerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *GradientControllerConfig) GetConcurrencyLimitParams() *GradientControllerConfig_ConcurrencyLimitCalculationParams
- func (x *GradientControllerConfig) GetMinRttCalcParams() *GradientControllerConfig_MinimumRTTCalculationParams
- func (x *GradientControllerConfig) GetSampleAggregatePercentile() *v3.Percent
- func (*GradientControllerConfig) ProtoMessage()
- func (x *GradientControllerConfig) ProtoReflect() protoreflect.Message
- func (x *GradientControllerConfig) Reset()
- func (x *GradientControllerConfig) String() string
- func (m *GradientControllerConfig) Validate() error
- func (m *GradientControllerConfig) ValidateAll() error
- type GradientControllerConfigMultiError
- type GradientControllerConfigValidationError
- func (e GradientControllerConfigValidationError) Cause() error
- func (e GradientControllerConfigValidationError) Error() string
- func (e GradientControllerConfigValidationError) ErrorName() string
- func (e GradientControllerConfigValidationError) Field() string
- func (e GradientControllerConfigValidationError) Key() bool
- func (e GradientControllerConfigValidationError) Reason() string
- type GradientControllerConfig_ConcurrencyLimitCalculationParams
- func (*GradientControllerConfig_ConcurrencyLimitCalculationParams) Descriptor() ([]byte, []int)deprecated
- func (x *GradientControllerConfig_ConcurrencyLimitCalculationParams) GetConcurrencyUpdateInterval() *duration.Duration
- func (x *GradientControllerConfig_ConcurrencyLimitCalculationParams) GetMaxConcurrencyLimit() *wrappers.UInt32Value
- func (*GradientControllerConfig_ConcurrencyLimitCalculationParams) ProtoMessage()
- func (x *GradientControllerConfig_ConcurrencyLimitCalculationParams) ProtoReflect() protoreflect.Message
- func (x *GradientControllerConfig_ConcurrencyLimitCalculationParams) Reset()
- func (x *GradientControllerConfig_ConcurrencyLimitCalculationParams) String() string
- func (m *GradientControllerConfig_ConcurrencyLimitCalculationParams) Validate() error
- func (m *GradientControllerConfig_ConcurrencyLimitCalculationParams) ValidateAll() error
- type GradientControllerConfig_ConcurrencyLimitCalculationParamsMultiError
- type GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError
- func (e GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError) Cause() error
- func (e GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError) Error() string
- func (e GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError) ErrorName() string
- func (e GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError) Field() string
- func (e GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError) Key() bool
- func (e GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError) Reason() string
- type GradientControllerConfig_MinimumRTTCalculationParams
- func (*GradientControllerConfig_MinimumRTTCalculationParams) Descriptor() ([]byte, []int)deprecated
- func (x *GradientControllerConfig_MinimumRTTCalculationParams) GetBuffer() *v3.Percent
- func (x *GradientControllerConfig_MinimumRTTCalculationParams) GetInterval() *duration.Duration
- func (x *GradientControllerConfig_MinimumRTTCalculationParams) GetJitter() *v3.Percent
- func (x *GradientControllerConfig_MinimumRTTCalculationParams) GetMinConcurrency() *wrappers.UInt32Value
- func (x *GradientControllerConfig_MinimumRTTCalculationParams) GetRequestCount() *wrappers.UInt32Value
- func (*GradientControllerConfig_MinimumRTTCalculationParams) ProtoMessage()
- func (x *GradientControllerConfig_MinimumRTTCalculationParams) ProtoReflect() protoreflect.Message
- func (x *GradientControllerConfig_MinimumRTTCalculationParams) Reset()
- func (x *GradientControllerConfig_MinimumRTTCalculationParams) String() string
- func (m *GradientControllerConfig_MinimumRTTCalculationParams) Validate() error
- func (m *GradientControllerConfig_MinimumRTTCalculationParams) ValidateAll() error
- type GradientControllerConfig_MinimumRTTCalculationParamsMultiError
- type GradientControllerConfig_MinimumRTTCalculationParamsValidationError
- func (e GradientControllerConfig_MinimumRTTCalculationParamsValidationError) Cause() error
- func (e GradientControllerConfig_MinimumRTTCalculationParamsValidationError) Error() string
- func (e GradientControllerConfig_MinimumRTTCalculationParamsValidationError) ErrorName() string
- func (e GradientControllerConfig_MinimumRTTCalculationParamsValidationError) Field() string
- func (e GradientControllerConfig_MinimumRTTCalculationParamsValidationError) Key() bool
- func (e GradientControllerConfig_MinimumRTTCalculationParamsValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_filters_http_adaptive_concurrency_v3_adaptive_concurrency_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AdaptiveConcurrency ¶
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 *v31.RuntimeFeatureFlag `protobuf:"bytes,2,opt,name=enabled,proto3" json:"enabled,omitempty"` // This field allows for a custom HTTP response status code to the downstream client when // the concurrency limit has been exceeded. // Defaults to 503 (Service Unavailable). // // .. note:: // If this is set to < 400, 503 will be used instead. ConcurrencyLimitExceededStatus *v3.HttpStatus `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AdaptiveConcurrency) Descriptor
deprecated
func (*AdaptiveConcurrency) Descriptor() ([]byte, []int)
Deprecated: Use AdaptiveConcurrency.ProtoReflect.Descriptor instead.
func (*AdaptiveConcurrency) GetConcurrencyControllerConfig ¶
func (m *AdaptiveConcurrency) GetConcurrencyControllerConfig() isAdaptiveConcurrency_ConcurrencyControllerConfig
func (*AdaptiveConcurrency) GetConcurrencyLimitExceededStatus ¶
func (x *AdaptiveConcurrency) GetConcurrencyLimitExceededStatus() *v3.HttpStatus
func (*AdaptiveConcurrency) GetEnabled ¶
func (x *AdaptiveConcurrency) GetEnabled() *v31.RuntimeFeatureFlag
func (*AdaptiveConcurrency) GetGradientControllerConfig ¶
func (x *AdaptiveConcurrency) GetGradientControllerConfig() *GradientControllerConfig
func (*AdaptiveConcurrency) ProtoMessage ¶
func (*AdaptiveConcurrency) ProtoMessage()
func (*AdaptiveConcurrency) ProtoReflect ¶
func (x *AdaptiveConcurrency) ProtoReflect() protoreflect.Message
func (*AdaptiveConcurrency) Reset ¶
func (x *AdaptiveConcurrency) Reset()
func (*AdaptiveConcurrency) String ¶
func (x *AdaptiveConcurrency) String() string
func (*AdaptiveConcurrency) Validate ¶
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, the first error encountered is returned, or nil if there are no violations.
func (*AdaptiveConcurrency) ValidateAll ¶
func (m *AdaptiveConcurrency) ValidateAll() error
ValidateAll checks the field values on AdaptiveConcurrency with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AdaptiveConcurrencyMultiError, or nil if none found.
type AdaptiveConcurrencyMultiError ¶
type AdaptiveConcurrencyMultiError []error
AdaptiveConcurrencyMultiError is an error wrapping multiple validation errors returned by AdaptiveConcurrency.ValidateAll() if the designated constraints aren't met.
func (AdaptiveConcurrencyMultiError) AllErrors ¶
func (m AdaptiveConcurrencyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AdaptiveConcurrencyMultiError) Error ¶
func (m AdaptiveConcurrencyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AdaptiveConcurrencyValidationError ¶
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 ¶
func (e AdaptiveConcurrencyValidationError) Cause() error
Cause function returns cause value.
func (AdaptiveConcurrencyValidationError) Error ¶
func (e AdaptiveConcurrencyValidationError) Error() string
Error satisfies the builtin error interface
func (AdaptiveConcurrencyValidationError) ErrorName ¶
func (e AdaptiveConcurrencyValidationError) ErrorName() string
ErrorName returns error name.
func (AdaptiveConcurrencyValidationError) Field ¶
func (e AdaptiveConcurrencyValidationError) Field() string
Field function returns field value.
func (AdaptiveConcurrencyValidationError) Key ¶
func (e AdaptiveConcurrencyValidationError) Key() bool
Key function returns key value.
func (AdaptiveConcurrencyValidationError) Reason ¶
func (e AdaptiveConcurrencyValidationError) Reason() string
Reason function returns reason value.
type AdaptiveConcurrency_GradientControllerConfig ¶
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 ¶
type GradientControllerConfig struct { // The percentile to use when summarizing aggregated samples. Defaults to p50. SampleAggregatePercentile *v3.Percent `` /* 138-byte string literal not displayed */ ConcurrencyLimitParams *GradientControllerConfig_ConcurrencyLimitCalculationParams `` /* 129-byte string literal not displayed */ 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
deprecated
func (*GradientControllerConfig) Descriptor() ([]byte, []int)
Deprecated: Use GradientControllerConfig.ProtoReflect.Descriptor instead.
func (*GradientControllerConfig) GetConcurrencyLimitParams ¶
func (x *GradientControllerConfig) GetConcurrencyLimitParams() *GradientControllerConfig_ConcurrencyLimitCalculationParams
func (*GradientControllerConfig) GetMinRttCalcParams ¶
func (x *GradientControllerConfig) GetMinRttCalcParams() *GradientControllerConfig_MinimumRTTCalculationParams
func (*GradientControllerConfig) GetSampleAggregatePercentile ¶
func (x *GradientControllerConfig) GetSampleAggregatePercentile() *v3.Percent
func (*GradientControllerConfig) ProtoMessage ¶
func (*GradientControllerConfig) ProtoMessage()
func (*GradientControllerConfig) ProtoReflect ¶
func (x *GradientControllerConfig) ProtoReflect() protoreflect.Message
func (*GradientControllerConfig) Reset ¶
func (x *GradientControllerConfig) Reset()
func (*GradientControllerConfig) String ¶
func (x *GradientControllerConfig) String() string
func (*GradientControllerConfig) Validate ¶
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, the first error encountered is returned, or nil if there are no violations.
func (*GradientControllerConfig) ValidateAll ¶
func (m *GradientControllerConfig) ValidateAll() error
ValidateAll checks the field values on GradientControllerConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GradientControllerConfigMultiError, or nil if none found.
type GradientControllerConfigMultiError ¶
type GradientControllerConfigMultiError []error
GradientControllerConfigMultiError is an error wrapping multiple validation errors returned by GradientControllerConfig.ValidateAll() if the designated constraints aren't met.
func (GradientControllerConfigMultiError) AllErrors ¶
func (m GradientControllerConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GradientControllerConfigMultiError) Error ¶
func (m GradientControllerConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GradientControllerConfigValidationError ¶
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 ¶
func (e GradientControllerConfigValidationError) Cause() error
Cause function returns cause value.
func (GradientControllerConfigValidationError) Error ¶
func (e GradientControllerConfigValidationError) Error() string
Error satisfies the builtin error interface
func (GradientControllerConfigValidationError) ErrorName ¶
func (e GradientControllerConfigValidationError) ErrorName() string
ErrorName returns error name.
func (GradientControllerConfigValidationError) Field ¶
func (e GradientControllerConfigValidationError) Field() string
Field function returns field value.
func (GradientControllerConfigValidationError) Key ¶
func (e GradientControllerConfigValidationError) Key() bool
Key function returns key value.
func (GradientControllerConfigValidationError) Reason ¶
func (e GradientControllerConfigValidationError) Reason() string
Reason function returns reason value.
type GradientControllerConfig_ConcurrencyLimitCalculationParams ¶
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 `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
Parameters controlling the periodic recalculation of the concurrency limit from sampled request latencies.
func (*GradientControllerConfig_ConcurrencyLimitCalculationParams) Descriptor
deprecated
func (*GradientControllerConfig_ConcurrencyLimitCalculationParams) Descriptor() ([]byte, []int)
Deprecated: Use GradientControllerConfig_ConcurrencyLimitCalculationParams.ProtoReflect.Descriptor instead.
func (*GradientControllerConfig_ConcurrencyLimitCalculationParams) GetConcurrencyUpdateInterval ¶
func (x *GradientControllerConfig_ConcurrencyLimitCalculationParams) GetConcurrencyUpdateInterval() *duration.Duration
func (*GradientControllerConfig_ConcurrencyLimitCalculationParams) GetMaxConcurrencyLimit ¶
func (x *GradientControllerConfig_ConcurrencyLimitCalculationParams) GetMaxConcurrencyLimit() *wrappers.UInt32Value
func (*GradientControllerConfig_ConcurrencyLimitCalculationParams) ProtoMessage ¶
func (*GradientControllerConfig_ConcurrencyLimitCalculationParams) ProtoMessage()
func (*GradientControllerConfig_ConcurrencyLimitCalculationParams) ProtoReflect ¶
func (x *GradientControllerConfig_ConcurrencyLimitCalculationParams) ProtoReflect() protoreflect.Message
func (*GradientControllerConfig_ConcurrencyLimitCalculationParams) Reset ¶
func (x *GradientControllerConfig_ConcurrencyLimitCalculationParams) Reset()
func (*GradientControllerConfig_ConcurrencyLimitCalculationParams) String ¶
func (x *GradientControllerConfig_ConcurrencyLimitCalculationParams) String() string
func (*GradientControllerConfig_ConcurrencyLimitCalculationParams) Validate ¶
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, the first error encountered is returned, or nil if there are no violations.
func (*GradientControllerConfig_ConcurrencyLimitCalculationParams) ValidateAll ¶
func (m *GradientControllerConfig_ConcurrencyLimitCalculationParams) ValidateAll() error
ValidateAll checks the field values on GradientControllerConfig_ConcurrencyLimitCalculationParams with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GradientControllerConfig_ConcurrencyLimitCalculationParamsMultiError, or nil if none found.
type GradientControllerConfig_ConcurrencyLimitCalculationParamsMultiError ¶
type GradientControllerConfig_ConcurrencyLimitCalculationParamsMultiError []error
GradientControllerConfig_ConcurrencyLimitCalculationParamsMultiError is an error wrapping multiple validation errors returned by GradientControllerConfig_ConcurrencyLimitCalculationParams.ValidateAll() if the designated constraints aren't met.
func (GradientControllerConfig_ConcurrencyLimitCalculationParamsMultiError) AllErrors ¶
func (m GradientControllerConfig_ConcurrencyLimitCalculationParamsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
type GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError ¶
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 ¶
Cause function returns cause value.
func (GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError) Error ¶
Error satisfies the builtin error interface
func (GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError) ErrorName ¶
func (e GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError) ErrorName() string
ErrorName returns error name.
func (GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError) Field ¶
Field function returns field value.
func (GradientControllerConfig_ConcurrencyLimitCalculationParamsValidationError) Key ¶
Key function returns key value.
type GradientControllerConfig_MinimumRTTCalculationParams ¶
type GradientControllerConfig_MinimumRTTCalculationParams struct { // The time interval between recalculating the minimum request round-trip time. Has to be // positive. 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 *v3.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 *v3.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
deprecated
func (*GradientControllerConfig_MinimumRTTCalculationParams) Descriptor() ([]byte, []int)
Deprecated: Use GradientControllerConfig_MinimumRTTCalculationParams.ProtoReflect.Descriptor instead.
func (*GradientControllerConfig_MinimumRTTCalculationParams) GetBuffer ¶
func (x *GradientControllerConfig_MinimumRTTCalculationParams) GetBuffer() *v3.Percent
func (*GradientControllerConfig_MinimumRTTCalculationParams) GetInterval ¶
func (x *GradientControllerConfig_MinimumRTTCalculationParams) GetInterval() *duration.Duration
func (*GradientControllerConfig_MinimumRTTCalculationParams) GetJitter ¶
func (x *GradientControllerConfig_MinimumRTTCalculationParams) GetJitter() *v3.Percent
func (*GradientControllerConfig_MinimumRTTCalculationParams) GetMinConcurrency ¶
func (x *GradientControllerConfig_MinimumRTTCalculationParams) GetMinConcurrency() *wrappers.UInt32Value
func (*GradientControllerConfig_MinimumRTTCalculationParams) GetRequestCount ¶
func (x *GradientControllerConfig_MinimumRTTCalculationParams) GetRequestCount() *wrappers.UInt32Value
func (*GradientControllerConfig_MinimumRTTCalculationParams) ProtoMessage ¶
func (*GradientControllerConfig_MinimumRTTCalculationParams) ProtoMessage()
func (*GradientControllerConfig_MinimumRTTCalculationParams) ProtoReflect ¶
func (x *GradientControllerConfig_MinimumRTTCalculationParams) ProtoReflect() protoreflect.Message
func (*GradientControllerConfig_MinimumRTTCalculationParams) Reset ¶
func (x *GradientControllerConfig_MinimumRTTCalculationParams) Reset()
func (*GradientControllerConfig_MinimumRTTCalculationParams) String ¶
func (x *GradientControllerConfig_MinimumRTTCalculationParams) String() string
func (*GradientControllerConfig_MinimumRTTCalculationParams) Validate ¶
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, the first error encountered is returned, or nil if there are no violations.
func (*GradientControllerConfig_MinimumRTTCalculationParams) ValidateAll ¶
func (m *GradientControllerConfig_MinimumRTTCalculationParams) ValidateAll() error
ValidateAll checks the field values on GradientControllerConfig_MinimumRTTCalculationParams with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GradientControllerConfig_MinimumRTTCalculationParamsMultiError, or nil if none found.
type GradientControllerConfig_MinimumRTTCalculationParamsMultiError ¶
type GradientControllerConfig_MinimumRTTCalculationParamsMultiError []error
GradientControllerConfig_MinimumRTTCalculationParamsMultiError is an error wrapping multiple validation errors returned by GradientControllerConfig_MinimumRTTCalculationParams.ValidateAll() if the designated constraints aren't met.
func (GradientControllerConfig_MinimumRTTCalculationParamsMultiError) AllErrors ¶
func (m GradientControllerConfig_MinimumRTTCalculationParamsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GradientControllerConfig_MinimumRTTCalculationParamsMultiError) Error ¶
func (m GradientControllerConfig_MinimumRTTCalculationParamsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GradientControllerConfig_MinimumRTTCalculationParamsValidationError ¶
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 ¶
func (e GradientControllerConfig_MinimumRTTCalculationParamsValidationError) Cause() error
Cause function returns cause value.
func (GradientControllerConfig_MinimumRTTCalculationParamsValidationError) Error ¶
Error satisfies the builtin error interface
func (GradientControllerConfig_MinimumRTTCalculationParamsValidationError) ErrorName ¶
func (e GradientControllerConfig_MinimumRTTCalculationParamsValidationError) ErrorName() string
ErrorName returns error name.
func (GradientControllerConfig_MinimumRTTCalculationParamsValidationError) Field ¶
Field function returns field value.
func (GradientControllerConfig_MinimumRTTCalculationParamsValidationError) Key ¶
Key function returns key value.
func (GradientControllerConfig_MinimumRTTCalculationParamsValidationError) Reason ¶
func (e GradientControllerConfig_MinimumRTTCalculationParamsValidationError) Reason() string
Reason function returns reason value.