dependencyv3

package
v1.33.0-20240425200945... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 6 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

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

type MatchingRequirements

type MatchingRequirements struct {
	DataInputAllowList *MatchingRequirements_DataInputAllowList `protobuf:"bytes,1,opt,name=data_input_allow_list,json=dataInputAllowList,proto3" json:"data_input_allow_list,omitempty"`
	// contains filtered or unexported fields
}

Matching requirements for a filter. For a match tree to be used with a filter, the match requirements must be satisfied.

This protobuf is provided by the filter implementation as a way to communicate the matching requirements to the filter factories, allowing for config rejection if the requirements are not satisfied.

func (*MatchingRequirements) Descriptor deprecated

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

Deprecated: Use MatchingRequirements.ProtoReflect.Descriptor instead.

func (*MatchingRequirements) GetDataInputAllowList

func (*MatchingRequirements) ProtoMessage

func (*MatchingRequirements) ProtoMessage()

func (*MatchingRequirements) ProtoReflect

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

func (*MatchingRequirements) Reset

func (x *MatchingRequirements) Reset()

func (*MatchingRequirements) String

func (x *MatchingRequirements) String() string

type MatchingRequirements_DataInputAllowList

type MatchingRequirements_DataInputAllowList struct {

	// An explicit list of data inputs that are allowed to be used with this filter.
	TypeUrl []string `protobuf:"bytes,1,rep,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
	// contains filtered or unexported fields
}

func (*MatchingRequirements_DataInputAllowList) Descriptor deprecated

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

Deprecated: Use MatchingRequirements_DataInputAllowList.ProtoReflect.Descriptor instead.

func (*MatchingRequirements_DataInputAllowList) GetTypeUrl

func (*MatchingRequirements_DataInputAllowList) ProtoMessage

func (*MatchingRequirements_DataInputAllowList) ProtoReflect

func (*MatchingRequirements_DataInputAllowList) Reset

func (*MatchingRequirements_DataInputAllowList) String

Jump to

Keyboard shortcuts

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