envoy_extensions_filters_common_dependency_v3

package
v0.9.82 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Dependency_DependencyType_name = map[int32]string{
		0: "HEADER",
		1: "FILTER_STATE_KEY",
		2: "DYNAMIC_METADATA",
	}
	Dependency_DependencyType_value = map[string]int32{
		"HEADER":           0,
		"FILTER_STATE_KEY": 1,
		"DYNAMIC_METADATA": 2,
	}
)

Enum value maps for Dependency_DependencyType.

View Source
var File_envoy_extensions_filters_common_dependency_v3_dependency_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Dependency

type Dependency struct {

	// The kind of dependency.
	Type Dependency_DependencyType `` /* 139-byte string literal not displayed */
	// The string identifier for the dependency.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Dependency specification and string identifier.

func (*Dependency) Descriptor deprecated

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

Deprecated: Use Dependency.ProtoReflect.Descriptor instead.

func (*Dependency) GetName

func (x *Dependency) GetName() string

func (*Dependency) GetType

func (*Dependency) ProtoMessage

func (*Dependency) ProtoMessage()

func (*Dependency) ProtoReflect

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

func (*Dependency) Reset

func (x *Dependency) Reset()

func (*Dependency) String

func (x *Dependency) String() string

func (*Dependency) Validate

func (m *Dependency) Validate() error

Validate checks the field values on Dependency with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DependencyValidationError

type DependencyValidationError struct {
	// contains filtered or unexported fields
}

DependencyValidationError is the validation error returned by Dependency.Validate if the designated constraints aren't met.

func (DependencyValidationError) Cause

func (e DependencyValidationError) Cause() error

Cause function returns cause value.

func (DependencyValidationError) Error

Error satisfies the builtin error interface

func (DependencyValidationError) ErrorName

func (e DependencyValidationError) ErrorName() string

ErrorName returns error name.

func (DependencyValidationError) Field

Field function returns field value.

func (DependencyValidationError) Key

Key function returns key value.

func (DependencyValidationError) Reason

func (e DependencyValidationError) Reason() string

Reason function returns reason value.

type Dependency_DependencyType

type Dependency_DependencyType int32
const (
	Dependency_HEADER           Dependency_DependencyType = 0
	Dependency_FILTER_STATE_KEY Dependency_DependencyType = 1
	Dependency_DYNAMIC_METADATA Dependency_DependencyType = 2
)

func (Dependency_DependencyType) Descriptor

func (Dependency_DependencyType) Enum

func (Dependency_DependencyType) EnumDescriptor deprecated

func (Dependency_DependencyType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Dependency_DependencyType.Descriptor instead.

func (Dependency_DependencyType) Number

func (Dependency_DependencyType) String

func (x Dependency_DependencyType) String() string

func (Dependency_DependencyType) Type

type FilterDependencies

type FilterDependencies struct {

	// A list of dependencies required on the decode path.
	DecodeRequired []*Dependency `protobuf:"bytes,1,rep,name=decode_required,json=decodeRequired,proto3" json:"decode_required,omitempty"`
	// A list of dependencies provided on the encode path.
	DecodeProvided []*Dependency `protobuf:"bytes,2,rep,name=decode_provided,json=decodeProvided,proto3" json:"decode_provided,omitempty"`
	// A list of dependencies required on the decode path.
	EncodeRequired []*Dependency `protobuf:"bytes,3,rep,name=encode_required,json=encodeRequired,proto3" json:"encode_required,omitempty"`
	// A list of dependencies provided on the encode path.
	EncodeProvided []*Dependency `protobuf:"bytes,4,rep,name=encode_provided,json=encodeProvided,proto3" json:"encode_provided,omitempty"`
	// contains filtered or unexported fields
}

Dependency specification for a filter. For a filter chain to be valid, any dependency that is required must be provided by an earlier filter.

func (*FilterDependencies) Descriptor deprecated

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

Deprecated: Use FilterDependencies.ProtoReflect.Descriptor instead.

func (*FilterDependencies) GetDecodeProvided

func (x *FilterDependencies) GetDecodeProvided() []*Dependency

func (*FilterDependencies) GetDecodeRequired

func (x *FilterDependencies) GetDecodeRequired() []*Dependency

func (*FilterDependencies) GetEncodeProvided

func (x *FilterDependencies) GetEncodeProvided() []*Dependency

func (*FilterDependencies) GetEncodeRequired

func (x *FilterDependencies) GetEncodeRequired() []*Dependency

func (*FilterDependencies) ProtoMessage

func (*FilterDependencies) ProtoMessage()

func (*FilterDependencies) ProtoReflect

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

func (*FilterDependencies) Reset

func (x *FilterDependencies) Reset()

func (*FilterDependencies) String

func (x *FilterDependencies) String() string

func (*FilterDependencies) Validate

func (m *FilterDependencies) Validate() error

Validate checks the field values on FilterDependencies with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type FilterDependenciesValidationError

type FilterDependenciesValidationError struct {
	// contains filtered or unexported fields
}

FilterDependenciesValidationError is the validation error returned by FilterDependencies.Validate if the designated constraints aren't met.

func (FilterDependenciesValidationError) Cause

Cause function returns cause value.

func (FilterDependenciesValidationError) Error

Error satisfies the builtin error interface

func (FilterDependenciesValidationError) ErrorName

ErrorName returns error name.

func (FilterDependenciesValidationError) Field

Field function returns field value.

func (FilterDependenciesValidationError) Key

Key function returns key value.

func (FilterDependenciesValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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