Documentation ¶
Index ¶
- Variables
- type Dependency
- func (*Dependency) Descriptor() ([]byte, []int)deprecated
- func (x *Dependency) GetName() string
- func (x *Dependency) GetType() Dependency_DependencyType
- func (*Dependency) ProtoMessage()
- func (x *Dependency) ProtoReflect() protoreflect.Message
- func (x *Dependency) Reset()
- func (x *Dependency) String() string
- func (m *Dependency) Validate() error
- type DependencyValidationError
- type Dependency_DependencyType
- func (Dependency_DependencyType) Descriptor() protoreflect.EnumDescriptor
- func (x Dependency_DependencyType) Enum() *Dependency_DependencyType
- func (Dependency_DependencyType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Dependency_DependencyType) Number() protoreflect.EnumNumber
- func (x Dependency_DependencyType) String() string
- func (Dependency_DependencyType) Type() protoreflect.EnumType
- type FilterDependencies
- func (*FilterDependencies) Descriptor() ([]byte, []int)deprecated
- func (x *FilterDependencies) GetDecodeProvided() []*Dependency
- func (x *FilterDependencies) GetDecodeRequired() []*Dependency
- func (x *FilterDependencies) GetEncodeProvided() []*Dependency
- func (x *FilterDependencies) GetEncodeRequired() []*Dependency
- func (*FilterDependencies) ProtoMessage()
- func (x *FilterDependencies) ProtoReflect() protoreflect.Message
- func (x *FilterDependencies) Reset()
- func (x *FilterDependencies) String() string
- func (m *FilterDependencies) Validate() error
- type FilterDependenciesValidationError
- func (e FilterDependenciesValidationError) Cause() error
- func (e FilterDependenciesValidationError) Error() string
- func (e FilterDependenciesValidationError) ErrorName() string
- func (e FilterDependenciesValidationError) Field() string
- func (e FilterDependenciesValidationError) Key() bool
- func (e FilterDependenciesValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
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.
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 (x *Dependency) GetType() Dependency_DependencyType
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 ¶
func (e DependencyValidationError) Error() string
Error satisfies the builtin error interface
func (DependencyValidationError) ErrorName ¶
func (e DependencyValidationError) ErrorName() string
ErrorName returns error name.
func (DependencyValidationError) Field ¶
func (e DependencyValidationError) Field() string
Field function returns field value.
func (DependencyValidationError) Key ¶
func (e DependencyValidationError) Key() bool
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) Descriptor() protoreflect.EnumDescriptor
func (Dependency_DependencyType) Enum ¶
func (x Dependency_DependencyType) Enum() *Dependency_DependencyType
func (Dependency_DependencyType) EnumDescriptor
deprecated
func (Dependency_DependencyType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Dependency_DependencyType.Descriptor instead.
func (Dependency_DependencyType) Number ¶
func (x Dependency_DependencyType) Number() protoreflect.EnumNumber
func (Dependency_DependencyType) String ¶
func (x Dependency_DependencyType) String() string
func (Dependency_DependencyType) Type ¶
func (Dependency_DependencyType) Type() protoreflect.EnumType
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 ¶
func (e FilterDependenciesValidationError) Cause() error
Cause function returns cause value.
func (FilterDependenciesValidationError) Error ¶
func (e FilterDependenciesValidationError) Error() string
Error satisfies the builtin error interface
func (FilterDependenciesValidationError) ErrorName ¶
func (e FilterDependenciesValidationError) ErrorName() string
ErrorName returns error name.
func (FilterDependenciesValidationError) Field ¶
func (e FilterDependenciesValidationError) Field() string
Field function returns field value.
func (FilterDependenciesValidationError) Key ¶
func (e FilterDependenciesValidationError) Key() bool
Key function returns key value.
func (FilterDependenciesValidationError) Reason ¶
func (e FilterDependenciesValidationError) Reason() string
Reason function returns reason value.