Documentation
¶
Index ¶
- Variables
- type FaultDelay
- func (*FaultDelay) Descriptor() ([]byte, []int)deprecated
- func (m *FaultDelay) GetFaultDelaySecifier() isFaultDelay_FaultDelaySecifier
- func (x *FaultDelay) GetFixedDelay() *duration.Duration
- func (x *FaultDelay) GetHeaderDelay() *FaultDelay_HeaderDelay
- func (x *FaultDelay) GetPercentage() *v3.FractionalPercent
- func (*FaultDelay) ProtoMessage()
- func (x *FaultDelay) ProtoReflect() protoreflect.Message
- func (x *FaultDelay) Reset()
- func (x *FaultDelay) String() string
- func (m *FaultDelay) Validate() error
- func (m *FaultDelay) ValidateAll() error
- type FaultDelayMultiError
- type FaultDelayValidationError
- type FaultDelay_FaultDelayType
- func (FaultDelay_FaultDelayType) Descriptor() protoreflect.EnumDescriptor
- func (x FaultDelay_FaultDelayType) Enum() *FaultDelay_FaultDelayType
- func (FaultDelay_FaultDelayType) EnumDescriptor() ([]byte, []int)deprecated
- func (x FaultDelay_FaultDelayType) Number() protoreflect.EnumNumber
- func (x FaultDelay_FaultDelayType) String() string
- func (FaultDelay_FaultDelayType) Type() protoreflect.EnumType
- type FaultDelay_FixedDelay
- type FaultDelay_HeaderDelay
- func (*FaultDelay_HeaderDelay) Descriptor() ([]byte, []int)deprecated
- func (*FaultDelay_HeaderDelay) ProtoMessage()
- func (x *FaultDelay_HeaderDelay) ProtoReflect() protoreflect.Message
- func (x *FaultDelay_HeaderDelay) Reset()
- func (x *FaultDelay_HeaderDelay) String() string
- func (m *FaultDelay_HeaderDelay) Validate() error
- func (m *FaultDelay_HeaderDelay) ValidateAll() error
- type FaultDelay_HeaderDelayMultiError
- type FaultDelay_HeaderDelayValidationError
- func (e FaultDelay_HeaderDelayValidationError) Cause() error
- func (e FaultDelay_HeaderDelayValidationError) Error() string
- func (e FaultDelay_HeaderDelayValidationError) ErrorName() string
- func (e FaultDelay_HeaderDelayValidationError) Field() string
- func (e FaultDelay_HeaderDelayValidationError) Key() bool
- func (e FaultDelay_HeaderDelayValidationError) Reason() string
- type FaultDelay_HeaderDelay_
- type FaultRateLimit
- func (*FaultRateLimit) Descriptor() ([]byte, []int)deprecated
- func (x *FaultRateLimit) GetFixedLimit() *FaultRateLimit_FixedLimit
- func (x *FaultRateLimit) GetHeaderLimit() *FaultRateLimit_HeaderLimit
- func (m *FaultRateLimit) GetLimitType() isFaultRateLimit_LimitType
- func (x *FaultRateLimit) GetPercentage() *v3.FractionalPercent
- func (*FaultRateLimit) ProtoMessage()
- func (x *FaultRateLimit) ProtoReflect() protoreflect.Message
- func (x *FaultRateLimit) Reset()
- func (x *FaultRateLimit) String() string
- func (m *FaultRateLimit) Validate() error
- func (m *FaultRateLimit) ValidateAll() error
- type FaultRateLimitMultiError
- type FaultRateLimitValidationError
- func (e FaultRateLimitValidationError) Cause() error
- func (e FaultRateLimitValidationError) Error() string
- func (e FaultRateLimitValidationError) ErrorName() string
- func (e FaultRateLimitValidationError) Field() string
- func (e FaultRateLimitValidationError) Key() bool
- func (e FaultRateLimitValidationError) Reason() string
- type FaultRateLimit_FixedLimit
- func (*FaultRateLimit_FixedLimit) Descriptor() ([]byte, []int)deprecated
- func (x *FaultRateLimit_FixedLimit) GetLimitKbps() uint64
- func (*FaultRateLimit_FixedLimit) ProtoMessage()
- func (x *FaultRateLimit_FixedLimit) ProtoReflect() protoreflect.Message
- func (x *FaultRateLimit_FixedLimit) Reset()
- func (x *FaultRateLimit_FixedLimit) String() string
- func (m *FaultRateLimit_FixedLimit) Validate() error
- func (m *FaultRateLimit_FixedLimit) ValidateAll() error
- type FaultRateLimit_FixedLimitMultiError
- type FaultRateLimit_FixedLimitValidationError
- func (e FaultRateLimit_FixedLimitValidationError) Cause() error
- func (e FaultRateLimit_FixedLimitValidationError) Error() string
- func (e FaultRateLimit_FixedLimitValidationError) ErrorName() string
- func (e FaultRateLimit_FixedLimitValidationError) Field() string
- func (e FaultRateLimit_FixedLimitValidationError) Key() bool
- func (e FaultRateLimit_FixedLimitValidationError) Reason() string
- type FaultRateLimit_FixedLimit_
- type FaultRateLimit_HeaderLimit
- func (*FaultRateLimit_HeaderLimit) Descriptor() ([]byte, []int)deprecated
- func (*FaultRateLimit_HeaderLimit) ProtoMessage()
- func (x *FaultRateLimit_HeaderLimit) ProtoReflect() protoreflect.Message
- func (x *FaultRateLimit_HeaderLimit) Reset()
- func (x *FaultRateLimit_HeaderLimit) String() string
- func (m *FaultRateLimit_HeaderLimit) Validate() error
- func (m *FaultRateLimit_HeaderLimit) ValidateAll() error
- type FaultRateLimit_HeaderLimitMultiError
- type FaultRateLimit_HeaderLimitValidationError
- func (e FaultRateLimit_HeaderLimitValidationError) Cause() error
- func (e FaultRateLimit_HeaderLimitValidationError) Error() string
- func (e FaultRateLimit_HeaderLimitValidationError) ErrorName() string
- func (e FaultRateLimit_HeaderLimitValidationError) Field() string
- func (e FaultRateLimit_HeaderLimitValidationError) Key() bool
- func (e FaultRateLimit_HeaderLimitValidationError) Reason() string
- type FaultRateLimit_HeaderLimit_
Constants ¶
This section is empty.
Variables ¶
var ( FaultDelay_FaultDelayType_name = map[int32]string{ 0: "FIXED", } FaultDelay_FaultDelayType_value = map[string]int32{ "FIXED": 0, } )
Enum value maps for FaultDelay_FaultDelayType.
var File_envoy_extensions_filters_common_fault_v3_fault_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FaultDelay ¶
type FaultDelay struct { // Types that are assignable to FaultDelaySecifier: // *FaultDelay_FixedDelay // *FaultDelay_HeaderDelay_ FaultDelaySecifier isFaultDelay_FaultDelaySecifier `protobuf_oneof:"fault_delay_secifier"` // The percentage of operations/connections/requests on which the delay will be injected. Percentage *v3.FractionalPercent `protobuf:"bytes,4,opt,name=percentage,proto3" json:"percentage,omitempty"` // contains filtered or unexported fields }
Delay specification is used to inject latency into the HTTP/Mongo operation. [#next-free-field: 6]
func (*FaultDelay) Descriptor
deprecated
func (*FaultDelay) Descriptor() ([]byte, []int)
Deprecated: Use FaultDelay.ProtoReflect.Descriptor instead.
func (*FaultDelay) GetFaultDelaySecifier ¶
func (m *FaultDelay) GetFaultDelaySecifier() isFaultDelay_FaultDelaySecifier
func (*FaultDelay) GetFixedDelay ¶
func (x *FaultDelay) GetFixedDelay() *duration.Duration
func (*FaultDelay) GetHeaderDelay ¶
func (x *FaultDelay) GetHeaderDelay() *FaultDelay_HeaderDelay
func (*FaultDelay) GetPercentage ¶
func (x *FaultDelay) GetPercentage() *v3.FractionalPercent
func (*FaultDelay) ProtoMessage ¶
func (*FaultDelay) ProtoMessage()
func (*FaultDelay) ProtoReflect ¶ added in v0.9.6
func (x *FaultDelay) ProtoReflect() protoreflect.Message
func (*FaultDelay) Reset ¶
func (x *FaultDelay) Reset()
func (*FaultDelay) String ¶
func (x *FaultDelay) String() string
func (*FaultDelay) Validate ¶
func (m *FaultDelay) Validate() error
Validate checks the field values on FaultDelay 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 (*FaultDelay) ValidateAll ¶ added in v0.10.0
func (m *FaultDelay) ValidateAll() error
ValidateAll checks the field values on FaultDelay 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 FaultDelayMultiError, or nil if none found.
type FaultDelayMultiError ¶ added in v0.10.0
type FaultDelayMultiError []error
FaultDelayMultiError is an error wrapping multiple validation errors returned by FaultDelay.ValidateAll() if the designated constraints aren't met.
func (FaultDelayMultiError) AllErrors ¶ added in v0.10.0
func (m FaultDelayMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FaultDelayMultiError) Error ¶ added in v0.10.0
func (m FaultDelayMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FaultDelayValidationError ¶
type FaultDelayValidationError struct {
// contains filtered or unexported fields
}
FaultDelayValidationError is the validation error returned by FaultDelay.Validate if the designated constraints aren't met.
func (FaultDelayValidationError) Cause ¶
func (e FaultDelayValidationError) Cause() error
Cause function returns cause value.
func (FaultDelayValidationError) Error ¶
func (e FaultDelayValidationError) Error() string
Error satisfies the builtin error interface
func (FaultDelayValidationError) ErrorName ¶
func (e FaultDelayValidationError) ErrorName() string
ErrorName returns error name.
func (FaultDelayValidationError) Field ¶
func (e FaultDelayValidationError) Field() string
Field function returns field value.
func (FaultDelayValidationError) Key ¶
func (e FaultDelayValidationError) Key() bool
Key function returns key value.
func (FaultDelayValidationError) Reason ¶
func (e FaultDelayValidationError) Reason() string
Reason function returns reason value.
type FaultDelay_FaultDelayType ¶
type FaultDelay_FaultDelayType int32
const ( // Unused and deprecated. FaultDelay_FIXED FaultDelay_FaultDelayType = 0 )
func (FaultDelay_FaultDelayType) Descriptor ¶ added in v0.9.6
func (FaultDelay_FaultDelayType) Descriptor() protoreflect.EnumDescriptor
func (FaultDelay_FaultDelayType) Enum ¶ added in v0.9.6
func (x FaultDelay_FaultDelayType) Enum() *FaultDelay_FaultDelayType
func (FaultDelay_FaultDelayType) EnumDescriptor
deprecated
func (FaultDelay_FaultDelayType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FaultDelay_FaultDelayType.Descriptor instead.
func (FaultDelay_FaultDelayType) Number ¶ added in v0.9.6
func (x FaultDelay_FaultDelayType) Number() protoreflect.EnumNumber
func (FaultDelay_FaultDelayType) String ¶
func (x FaultDelay_FaultDelayType) String() string
func (FaultDelay_FaultDelayType) Type ¶ added in v0.9.6
func (FaultDelay_FaultDelayType) Type() protoreflect.EnumType
type FaultDelay_FixedDelay ¶
type FaultDelay_FixedDelay struct { // Add a fixed delay before forwarding the operation upstream. See // https://developers.google.com/protocol-buffers/docs/proto3#json for // the JSON/YAML Duration mapping. For HTTP/Mongo, the specified // delay will be injected before a new request/operation. // This is required if type is FIXED. FixedDelay *duration.Duration `protobuf:"bytes,3,opt,name=fixed_delay,json=fixedDelay,proto3,oneof"` }
type FaultDelay_HeaderDelay ¶
type FaultDelay_HeaderDelay struct {
// contains filtered or unexported fields
}
Fault delays are controlled via an HTTP header (if applicable). See the :ref:`HTTP fault filter <config_http_filters_fault_injection_http_header>` documentation for more information.
func (*FaultDelay_HeaderDelay) Descriptor
deprecated
func (*FaultDelay_HeaderDelay) Descriptor() ([]byte, []int)
Deprecated: Use FaultDelay_HeaderDelay.ProtoReflect.Descriptor instead.
func (*FaultDelay_HeaderDelay) ProtoMessage ¶
func (*FaultDelay_HeaderDelay) ProtoMessage()
func (*FaultDelay_HeaderDelay) ProtoReflect ¶ added in v0.9.6
func (x *FaultDelay_HeaderDelay) ProtoReflect() protoreflect.Message
func (*FaultDelay_HeaderDelay) Reset ¶
func (x *FaultDelay_HeaderDelay) Reset()
func (*FaultDelay_HeaderDelay) String ¶
func (x *FaultDelay_HeaderDelay) String() string
func (*FaultDelay_HeaderDelay) Validate ¶
func (m *FaultDelay_HeaderDelay) Validate() error
Validate checks the field values on FaultDelay_HeaderDelay 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 (*FaultDelay_HeaderDelay) ValidateAll ¶ added in v0.10.0
func (m *FaultDelay_HeaderDelay) ValidateAll() error
ValidateAll checks the field values on FaultDelay_HeaderDelay 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 FaultDelay_HeaderDelayMultiError, or nil if none found.
type FaultDelay_HeaderDelayMultiError ¶ added in v0.10.0
type FaultDelay_HeaderDelayMultiError []error
FaultDelay_HeaderDelayMultiError is an error wrapping multiple validation errors returned by FaultDelay_HeaderDelay.ValidateAll() if the designated constraints aren't met.
func (FaultDelay_HeaderDelayMultiError) AllErrors ¶ added in v0.10.0
func (m FaultDelay_HeaderDelayMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FaultDelay_HeaderDelayMultiError) Error ¶ added in v0.10.0
func (m FaultDelay_HeaderDelayMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FaultDelay_HeaderDelayValidationError ¶
type FaultDelay_HeaderDelayValidationError struct {
// contains filtered or unexported fields
}
FaultDelay_HeaderDelayValidationError is the validation error returned by FaultDelay_HeaderDelay.Validate if the designated constraints aren't met.
func (FaultDelay_HeaderDelayValidationError) Cause ¶
func (e FaultDelay_HeaderDelayValidationError) Cause() error
Cause function returns cause value.
func (FaultDelay_HeaderDelayValidationError) Error ¶
func (e FaultDelay_HeaderDelayValidationError) Error() string
Error satisfies the builtin error interface
func (FaultDelay_HeaderDelayValidationError) ErrorName ¶
func (e FaultDelay_HeaderDelayValidationError) ErrorName() string
ErrorName returns error name.
func (FaultDelay_HeaderDelayValidationError) Field ¶
func (e FaultDelay_HeaderDelayValidationError) Field() string
Field function returns field value.
func (FaultDelay_HeaderDelayValidationError) Key ¶
func (e FaultDelay_HeaderDelayValidationError) Key() bool
Key function returns key value.
func (FaultDelay_HeaderDelayValidationError) Reason ¶
func (e FaultDelay_HeaderDelayValidationError) Reason() string
Reason function returns reason value.
type FaultDelay_HeaderDelay_ ¶
type FaultDelay_HeaderDelay_ struct { // Fault delays are controlled via an HTTP header (if applicable). HeaderDelay *FaultDelay_HeaderDelay `protobuf:"bytes,5,opt,name=header_delay,json=headerDelay,proto3,oneof"` }
type FaultRateLimit ¶
type FaultRateLimit struct { // Types that are assignable to LimitType: // *FaultRateLimit_FixedLimit_ // *FaultRateLimit_HeaderLimit_ LimitType isFaultRateLimit_LimitType `protobuf_oneof:"limit_type"` // The percentage of operations/connections/requests on which the rate limit will be injected. Percentage *v3.FractionalPercent `protobuf:"bytes,2,opt,name=percentage,proto3" json:"percentage,omitempty"` // contains filtered or unexported fields }
Describes a rate limit to be applied.
func (*FaultRateLimit) Descriptor
deprecated
func (*FaultRateLimit) Descriptor() ([]byte, []int)
Deprecated: Use FaultRateLimit.ProtoReflect.Descriptor instead.
func (*FaultRateLimit) GetFixedLimit ¶
func (x *FaultRateLimit) GetFixedLimit() *FaultRateLimit_FixedLimit
func (*FaultRateLimit) GetHeaderLimit ¶
func (x *FaultRateLimit) GetHeaderLimit() *FaultRateLimit_HeaderLimit
func (*FaultRateLimit) GetLimitType ¶
func (m *FaultRateLimit) GetLimitType() isFaultRateLimit_LimitType
func (*FaultRateLimit) GetPercentage ¶
func (x *FaultRateLimit) GetPercentage() *v3.FractionalPercent
func (*FaultRateLimit) ProtoMessage ¶
func (*FaultRateLimit) ProtoMessage()
func (*FaultRateLimit) ProtoReflect ¶ added in v0.9.6
func (x *FaultRateLimit) ProtoReflect() protoreflect.Message
func (*FaultRateLimit) Reset ¶
func (x *FaultRateLimit) Reset()
func (*FaultRateLimit) String ¶
func (x *FaultRateLimit) String() string
func (*FaultRateLimit) Validate ¶
func (m *FaultRateLimit) Validate() error
Validate checks the field values on FaultRateLimit 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 (*FaultRateLimit) ValidateAll ¶ added in v0.10.0
func (m *FaultRateLimit) ValidateAll() error
ValidateAll checks the field values on FaultRateLimit 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 FaultRateLimitMultiError, or nil if none found.
type FaultRateLimitMultiError ¶ added in v0.10.0
type FaultRateLimitMultiError []error
FaultRateLimitMultiError is an error wrapping multiple validation errors returned by FaultRateLimit.ValidateAll() if the designated constraints aren't met.
func (FaultRateLimitMultiError) AllErrors ¶ added in v0.10.0
func (m FaultRateLimitMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FaultRateLimitMultiError) Error ¶ added in v0.10.0
func (m FaultRateLimitMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FaultRateLimitValidationError ¶
type FaultRateLimitValidationError struct {
// contains filtered or unexported fields
}
FaultRateLimitValidationError is the validation error returned by FaultRateLimit.Validate if the designated constraints aren't met.
func (FaultRateLimitValidationError) Cause ¶
func (e FaultRateLimitValidationError) Cause() error
Cause function returns cause value.
func (FaultRateLimitValidationError) Error ¶
func (e FaultRateLimitValidationError) Error() string
Error satisfies the builtin error interface
func (FaultRateLimitValidationError) ErrorName ¶
func (e FaultRateLimitValidationError) ErrorName() string
ErrorName returns error name.
func (FaultRateLimitValidationError) Field ¶
func (e FaultRateLimitValidationError) Field() string
Field function returns field value.
func (FaultRateLimitValidationError) Key ¶
func (e FaultRateLimitValidationError) Key() bool
Key function returns key value.
func (FaultRateLimitValidationError) Reason ¶
func (e FaultRateLimitValidationError) Reason() string
Reason function returns reason value.
type FaultRateLimit_FixedLimit ¶
type FaultRateLimit_FixedLimit struct { // The limit supplied in KiB/s. LimitKbps uint64 `protobuf:"varint,1,opt,name=limit_kbps,json=limitKbps,proto3" json:"limit_kbps,omitempty"` // contains filtered or unexported fields }
Describes a fixed/constant rate limit.
func (*FaultRateLimit_FixedLimit) Descriptor
deprecated
func (*FaultRateLimit_FixedLimit) Descriptor() ([]byte, []int)
Deprecated: Use FaultRateLimit_FixedLimit.ProtoReflect.Descriptor instead.
func (*FaultRateLimit_FixedLimit) GetLimitKbps ¶
func (x *FaultRateLimit_FixedLimit) GetLimitKbps() uint64
func (*FaultRateLimit_FixedLimit) ProtoMessage ¶
func (*FaultRateLimit_FixedLimit) ProtoMessage()
func (*FaultRateLimit_FixedLimit) ProtoReflect ¶ added in v0.9.6
func (x *FaultRateLimit_FixedLimit) ProtoReflect() protoreflect.Message
func (*FaultRateLimit_FixedLimit) Reset ¶
func (x *FaultRateLimit_FixedLimit) Reset()
func (*FaultRateLimit_FixedLimit) String ¶
func (x *FaultRateLimit_FixedLimit) String() string
func (*FaultRateLimit_FixedLimit) Validate ¶
func (m *FaultRateLimit_FixedLimit) Validate() error
Validate checks the field values on FaultRateLimit_FixedLimit 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 (*FaultRateLimit_FixedLimit) ValidateAll ¶ added in v0.10.0
func (m *FaultRateLimit_FixedLimit) ValidateAll() error
ValidateAll checks the field values on FaultRateLimit_FixedLimit 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 FaultRateLimit_FixedLimitMultiError, or nil if none found.
type FaultRateLimit_FixedLimitMultiError ¶ added in v0.10.0
type FaultRateLimit_FixedLimitMultiError []error
FaultRateLimit_FixedLimitMultiError is an error wrapping multiple validation errors returned by FaultRateLimit_FixedLimit.ValidateAll() if the designated constraints aren't met.
func (FaultRateLimit_FixedLimitMultiError) AllErrors ¶ added in v0.10.0
func (m FaultRateLimit_FixedLimitMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FaultRateLimit_FixedLimitMultiError) Error ¶ added in v0.10.0
func (m FaultRateLimit_FixedLimitMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FaultRateLimit_FixedLimitValidationError ¶
type FaultRateLimit_FixedLimitValidationError struct {
// contains filtered or unexported fields
}
FaultRateLimit_FixedLimitValidationError is the validation error returned by FaultRateLimit_FixedLimit.Validate if the designated constraints aren't met.
func (FaultRateLimit_FixedLimitValidationError) Cause ¶
func (e FaultRateLimit_FixedLimitValidationError) Cause() error
Cause function returns cause value.
func (FaultRateLimit_FixedLimitValidationError) Error ¶
func (e FaultRateLimit_FixedLimitValidationError) Error() string
Error satisfies the builtin error interface
func (FaultRateLimit_FixedLimitValidationError) ErrorName ¶
func (e FaultRateLimit_FixedLimitValidationError) ErrorName() string
ErrorName returns error name.
func (FaultRateLimit_FixedLimitValidationError) Field ¶
func (e FaultRateLimit_FixedLimitValidationError) Field() string
Field function returns field value.
func (FaultRateLimit_FixedLimitValidationError) Key ¶
func (e FaultRateLimit_FixedLimitValidationError) Key() bool
Key function returns key value.
func (FaultRateLimit_FixedLimitValidationError) Reason ¶
func (e FaultRateLimit_FixedLimitValidationError) Reason() string
Reason function returns reason value.
type FaultRateLimit_FixedLimit_ ¶
type FaultRateLimit_FixedLimit_ struct { // A fixed rate limit. FixedLimit *FaultRateLimit_FixedLimit `protobuf:"bytes,1,opt,name=fixed_limit,json=fixedLimit,proto3,oneof"` }
type FaultRateLimit_HeaderLimit ¶
type FaultRateLimit_HeaderLimit struct {
// contains filtered or unexported fields
}
Rate limits are controlled via an HTTP header (if applicable). See the :ref:`HTTP fault filter <config_http_filters_fault_injection_http_header>` documentation for more information.
func (*FaultRateLimit_HeaderLimit) Descriptor
deprecated
func (*FaultRateLimit_HeaderLimit) Descriptor() ([]byte, []int)
Deprecated: Use FaultRateLimit_HeaderLimit.ProtoReflect.Descriptor instead.
func (*FaultRateLimit_HeaderLimit) ProtoMessage ¶
func (*FaultRateLimit_HeaderLimit) ProtoMessage()
func (*FaultRateLimit_HeaderLimit) ProtoReflect ¶ added in v0.9.6
func (x *FaultRateLimit_HeaderLimit) ProtoReflect() protoreflect.Message
func (*FaultRateLimit_HeaderLimit) Reset ¶
func (x *FaultRateLimit_HeaderLimit) Reset()
func (*FaultRateLimit_HeaderLimit) String ¶
func (x *FaultRateLimit_HeaderLimit) String() string
func (*FaultRateLimit_HeaderLimit) Validate ¶
func (m *FaultRateLimit_HeaderLimit) Validate() error
Validate checks the field values on FaultRateLimit_HeaderLimit 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 (*FaultRateLimit_HeaderLimit) ValidateAll ¶ added in v0.10.0
func (m *FaultRateLimit_HeaderLimit) ValidateAll() error
ValidateAll checks the field values on FaultRateLimit_HeaderLimit 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 FaultRateLimit_HeaderLimitMultiError, or nil if none found.
type FaultRateLimit_HeaderLimitMultiError ¶ added in v0.10.0
type FaultRateLimit_HeaderLimitMultiError []error
FaultRateLimit_HeaderLimitMultiError is an error wrapping multiple validation errors returned by FaultRateLimit_HeaderLimit.ValidateAll() if the designated constraints aren't met.
func (FaultRateLimit_HeaderLimitMultiError) AllErrors ¶ added in v0.10.0
func (m FaultRateLimit_HeaderLimitMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FaultRateLimit_HeaderLimitMultiError) Error ¶ added in v0.10.0
func (m FaultRateLimit_HeaderLimitMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FaultRateLimit_HeaderLimitValidationError ¶
type FaultRateLimit_HeaderLimitValidationError struct {
// contains filtered or unexported fields
}
FaultRateLimit_HeaderLimitValidationError is the validation error returned by FaultRateLimit_HeaderLimit.Validate if the designated constraints aren't met.
func (FaultRateLimit_HeaderLimitValidationError) Cause ¶
func (e FaultRateLimit_HeaderLimitValidationError) Cause() error
Cause function returns cause value.
func (FaultRateLimit_HeaderLimitValidationError) Error ¶
func (e FaultRateLimit_HeaderLimitValidationError) Error() string
Error satisfies the builtin error interface
func (FaultRateLimit_HeaderLimitValidationError) ErrorName ¶
func (e FaultRateLimit_HeaderLimitValidationError) ErrorName() string
ErrorName returns error name.
func (FaultRateLimit_HeaderLimitValidationError) Field ¶
func (e FaultRateLimit_HeaderLimitValidationError) Field() string
Field function returns field value.
func (FaultRateLimit_HeaderLimitValidationError) Key ¶
func (e FaultRateLimit_HeaderLimitValidationError) Key() bool
Key function returns key value.
func (FaultRateLimit_HeaderLimitValidationError) Reason ¶
func (e FaultRateLimit_HeaderLimitValidationError) Reason() string
Reason function returns reason value.
type FaultRateLimit_HeaderLimit_ ¶
type FaultRateLimit_HeaderLimit_ struct { // Rate limits are controlled via an HTTP header (if applicable). HeaderLimit *FaultRateLimit_HeaderLimit `protobuf:"bytes,3,opt,name=header_limit,json=headerLimit,proto3,oneof"` }