go-control-plane: github.com/envoyproxy/go-control-plane/envoy/extensions/retry/host/omit_host_metadata/v3 Index | Files

package envoy_extensions_retry_host_omit_host_metadata_v3

import "github.com/envoyproxy/go-control-plane/envoy/extensions/retry/host/omit_host_metadata/v3"


Package Files

omit_host_metadata_config.pb.go omit_host_metadata_config.pb.validate.go


var File_envoy_extensions_retry_host_omit_host_metadata_v3_omit_host_metadata_config_proto protoreflect.FileDescriptor

type OmitHostMetadataConfig Uses

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 *v3.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 Uses

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

Deprecated: Use OmitHostMetadataConfig.ProtoReflect.Descriptor instead.

func (*OmitHostMetadataConfig) GetMetadataMatch Uses

func (x *OmitHostMetadataConfig) GetMetadataMatch() *v3.Metadata

func (*OmitHostMetadataConfig) ProtoMessage Uses

func (*OmitHostMetadataConfig) ProtoMessage()

func (*OmitHostMetadataConfig) ProtoReflect Uses

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

func (*OmitHostMetadataConfig) Reset Uses

func (x *OmitHostMetadataConfig) Reset()

func (*OmitHostMetadataConfig) String Uses

func (x *OmitHostMetadataConfig) String() string

func (*OmitHostMetadataConfig) Validate Uses

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.

type OmitHostMetadataConfigValidationError Uses

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 Uses

func (e OmitHostMetadataConfigValidationError) Cause() error

Cause function returns cause value.

func (OmitHostMetadataConfigValidationError) Error Uses

func (e OmitHostMetadataConfigValidationError) Error() string

Error satisfies the builtin error interface

func (OmitHostMetadataConfigValidationError) ErrorName Uses

func (e OmitHostMetadataConfigValidationError) ErrorName() string

ErrorName returns error name.

func (OmitHostMetadataConfigValidationError) Field Uses

func (e OmitHostMetadataConfigValidationError) Field() string

Field function returns field value.

func (OmitHostMetadataConfigValidationError) Key Uses

func (e OmitHostMetadataConfigValidationError) Key() bool

Key function returns key value.

func (OmitHostMetadataConfigValidationError) Reason Uses

func (e OmitHostMetadataConfigValidationError) Reason() string

Reason function returns reason value.

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