envoy_extensions_retry_host_omit_host_metadata_v3

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_retry_host_omit_host_metadata_v3_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 *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 deprecated

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

Deprecated: Use OmitHostMetadataConfig.ProtoReflect.Descriptor instead.

func (*OmitHostMetadataConfig) GetMetadataMatch

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

func (*OmitHostMetadataConfig) ProtoMessage

func (*OmitHostMetadataConfig) ProtoMessage()

func (*OmitHostMetadataConfig) ProtoReflect

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, an error is returned.

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

Cause function returns cause value.

func (OmitHostMetadataConfigValidationError) Error

Error satisfies the builtin error interface

func (OmitHostMetadataConfigValidationError) ErrorName

ErrorName returns error name.

func (OmitHostMetadataConfigValidationError) Field

Field function returns field value.

func (OmitHostMetadataConfigValidationError) Key

Key function returns key value.

func (OmitHostMetadataConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL