Documentation ¶
Index ¶
- Variables
- type OmitHostMetadataConfig
- func (*OmitHostMetadataConfig) Descriptor() ([]byte, []int)
- func (m *OmitHostMetadataConfig) GetMetadataMatch() *core.Metadata
- func (m *OmitHostMetadataConfig) Marshal() (dAtA []byte, err error)
- func (m *OmitHostMetadataConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *OmitHostMetadataConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OmitHostMetadataConfig) ProtoMessage()
- func (m *OmitHostMetadataConfig) Reset()
- func (m *OmitHostMetadataConfig) Size() (n int)
- func (m *OmitHostMetadataConfig) String() string
- func (m *OmitHostMetadataConfig) Unmarshal(dAtA []byte) error
- func (m *OmitHostMetadataConfig) Validate() error
- func (m *OmitHostMetadataConfig) XXX_DiscardUnknown()
- func (m *OmitHostMetadataConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OmitHostMetadataConfig) XXX_Merge(src proto.Message)
- func (m *OmitHostMetadataConfig) XXX_Size() int
- func (m *OmitHostMetadataConfig) XXX_Unmarshal(b []byte) error
- 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 ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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 ¶
func (*OmitHostMetadataConfig) Descriptor() ([]byte, []int)
func (*OmitHostMetadataConfig) GetMetadataMatch ¶
func (m *OmitHostMetadataConfig) GetMetadataMatch() *core.Metadata
func (*OmitHostMetadataConfig) Marshal ¶
func (m *OmitHostMetadataConfig) Marshal() (dAtA []byte, err error)
func (*OmitHostMetadataConfig) MarshalTo ¶
func (m *OmitHostMetadataConfig) MarshalTo(dAtA []byte) (int, error)
func (*OmitHostMetadataConfig) MarshalToSizedBuffer ¶
func (m *OmitHostMetadataConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OmitHostMetadataConfig) ProtoMessage ¶
func (*OmitHostMetadataConfig) ProtoMessage()
func (*OmitHostMetadataConfig) Reset ¶
func (m *OmitHostMetadataConfig) Reset()
func (*OmitHostMetadataConfig) Size ¶
func (m *OmitHostMetadataConfig) Size() (n int)
func (*OmitHostMetadataConfig) String ¶
func (m *OmitHostMetadataConfig) String() string
func (*OmitHostMetadataConfig) Unmarshal ¶
func (m *OmitHostMetadataConfig) Unmarshal(dAtA []byte) error
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, an error is returned.
func (*OmitHostMetadataConfig) XXX_DiscardUnknown ¶
func (m *OmitHostMetadataConfig) XXX_DiscardUnknown()
func (*OmitHostMetadataConfig) XXX_Marshal ¶
func (m *OmitHostMetadataConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OmitHostMetadataConfig) XXX_Merge ¶
func (m *OmitHostMetadataConfig) XXX_Merge(src proto.Message)
func (*OmitHostMetadataConfig) XXX_Size ¶
func (m *OmitHostMetadataConfig) XXX_Size() int
func (*OmitHostMetadataConfig) XXX_Unmarshal ¶
func (m *OmitHostMetadataConfig) XXX_Unmarshal(b []byte) error
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.