Documentation ¶
Index ¶
- Variables
- type OmitHostMetadataConfig
- func (*OmitHostMetadataConfig) Descriptor() ([]byte, []int)deprecated
- func (x *OmitHostMetadataConfig) GetMetadataMatch() *core.Metadata
- func (*OmitHostMetadataConfig) ProtoMessage()
- func (x *OmitHostMetadataConfig) ProtoReflect() protoreflect.Message
- func (x *OmitHostMetadataConfig) Reset()
- func (x *OmitHostMetadataConfig) String() string
- func (m *OmitHostMetadataConfig) Validate() error
- func (m *OmitHostMetadataConfig) ValidateAll() error
- type OmitHostMetadataConfigMultiError
- type OmitHostMetadataConfigValidationError
- func (e OmitHostMetadataConfigValidationError) Cause() error
- func (e OmitHostMetadataConfigValidationError) Error() string
- func (e OmitHostMetadataConfigValidationError) ErrorName() string
- func (e OmitHostMetadataConfigValidationError) Field() string
- func (e OmitHostMetadataConfigValidationError) Key() bool
- func (e OmitHostMetadataConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_config_retry_omit_host_metadata_v2_omit_host_metadata_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type OmitHostMetadataConfig ¶
type OmitHostMetadataConfig struct { // Retry host predicate metadata match criteria. The hosts in // the upstream cluster with matching metadata will be omitted while // attempting a retry of a failed request. The metadata should be specified // under the *envoy.lb* key. MetadataMatch *core.Metadata `protobuf:"bytes,1,opt,name=metadata_match,json=metadataMatch,proto3" json:"metadata_match,omitempty"` // contains filtered or unexported fields }
A retry host predicate that can be used to reject a host based on predefined metadata match criteria. [#extension: envoy.retry_host_predicates.omit_host_metadata]
func (*OmitHostMetadataConfig) Descriptor
deprecated
func (*OmitHostMetadataConfig) Descriptor() ([]byte, []int)
Deprecated: Use OmitHostMetadataConfig.ProtoReflect.Descriptor instead.
func (*OmitHostMetadataConfig) GetMetadataMatch ¶
func (x *OmitHostMetadataConfig) GetMetadataMatch() *core.Metadata
func (*OmitHostMetadataConfig) ProtoMessage ¶
func (*OmitHostMetadataConfig) ProtoMessage()
func (*OmitHostMetadataConfig) ProtoReflect ¶ added in v0.9.6
func (x *OmitHostMetadataConfig) ProtoReflect() protoreflect.Message
func (*OmitHostMetadataConfig) Reset ¶
func (x *OmitHostMetadataConfig) Reset()
func (*OmitHostMetadataConfig) String ¶
func (x *OmitHostMetadataConfig) String() string
func (*OmitHostMetadataConfig) Validate ¶
func (m *OmitHostMetadataConfig) Validate() error
Validate checks the field values on OmitHostMetadataConfig 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 (*OmitHostMetadataConfig) ValidateAll ¶ added in v0.10.0
func (m *OmitHostMetadataConfig) ValidateAll() error
ValidateAll checks the field values on OmitHostMetadataConfig 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 OmitHostMetadataConfigMultiError, or nil if none found.
type OmitHostMetadataConfigMultiError ¶ added in v0.10.0
type OmitHostMetadataConfigMultiError []error
OmitHostMetadataConfigMultiError is an error wrapping multiple validation errors returned by OmitHostMetadataConfig.ValidateAll() if the designated constraints aren't met.
func (OmitHostMetadataConfigMultiError) AllErrors ¶ added in v0.10.0
func (m OmitHostMetadataConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OmitHostMetadataConfigMultiError) Error ¶ added in v0.10.0
func (m OmitHostMetadataConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OmitHostMetadataConfigValidationError ¶
type OmitHostMetadataConfigValidationError struct {
// contains filtered or unexported fields
}
OmitHostMetadataConfigValidationError is the validation error returned by OmitHostMetadataConfig.Validate if the designated constraints aren't met.
func (OmitHostMetadataConfigValidationError) Cause ¶
func (e OmitHostMetadataConfigValidationError) Cause() error
Cause function returns cause value.
func (OmitHostMetadataConfigValidationError) Error ¶
func (e OmitHostMetadataConfigValidationError) Error() string
Error satisfies the builtin error interface
func (OmitHostMetadataConfigValidationError) ErrorName ¶
func (e OmitHostMetadataConfigValidationError) ErrorName() string
ErrorName returns error name.
func (OmitHostMetadataConfigValidationError) Field ¶
func (e OmitHostMetadataConfigValidationError) Field() string
Field function returns field value.
func (OmitHostMetadataConfigValidationError) Key ¶
func (e OmitHostMetadataConfigValidationError) Key() bool
Key function returns key value.
func (OmitHostMetadataConfigValidationError) Reason ¶
func (e OmitHostMetadataConfigValidationError) Reason() string
Reason function returns reason value.