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
- func (m *Dependency) ValidateAll() error
- type DependencyMultiError
- 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
- func (m *FilterDependencies) ValidateAll() error
- type FilterDependenciesMultiError
- 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
- type MatchingRequirements
- func (*MatchingRequirements) Descriptor() ([]byte, []int)deprecated
- func (x *MatchingRequirements) GetDataInputAllowList() *MatchingRequirements_DataInputAllowList
- func (*MatchingRequirements) ProtoMessage()
- func (x *MatchingRequirements) ProtoReflect() protoreflect.Message
- func (x *MatchingRequirements) Reset()
- func (x *MatchingRequirements) String() string
- func (m *MatchingRequirements) Validate() error
- func (m *MatchingRequirements) ValidateAll() error
- type MatchingRequirementsMultiError
- type MatchingRequirementsValidationError
- func (e MatchingRequirementsValidationError) Cause() error
- func (e MatchingRequirementsValidationError) Error() string
- func (e MatchingRequirementsValidationError) ErrorName() string
- func (e MatchingRequirementsValidationError) Field() string
- func (e MatchingRequirementsValidationError) Key() bool
- func (e MatchingRequirementsValidationError) Reason() string
- type MatchingRequirements_DataInputAllowList
- func (*MatchingRequirements_DataInputAllowList) Descriptor() ([]byte, []int)deprecated
- func (x *MatchingRequirements_DataInputAllowList) GetTypeUrl() []string
- func (*MatchingRequirements_DataInputAllowList) ProtoMessage()
- func (x *MatchingRequirements_DataInputAllowList) ProtoReflect() protoreflect.Message
- func (x *MatchingRequirements_DataInputAllowList) Reset()
- func (x *MatchingRequirements_DataInputAllowList) String() string
- func (m *MatchingRequirements_DataInputAllowList) Validate() error
- func (m *MatchingRequirements_DataInputAllowList) ValidateAll() error
- type MatchingRequirements_DataInputAllowListMultiError
- type MatchingRequirements_DataInputAllowListValidationError
- func (e MatchingRequirements_DataInputAllowListValidationError) Cause() error
- func (e MatchingRequirements_DataInputAllowListValidationError) Error() string
- func (e MatchingRequirements_DataInputAllowListValidationError) ErrorName() string
- func (e MatchingRequirements_DataInputAllowListValidationError) Field() string
- func (e MatchingRequirements_DataInputAllowListValidationError) Key() bool
- func (e MatchingRequirements_DataInputAllowListValidationError) 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, the first error encountered is returned, or nil if there are no violations.
func (*Dependency) ValidateAll ¶
func (m *Dependency) ValidateAll() error
ValidateAll checks the field values on Dependency with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DependencyMultiError, or nil if none found.
type DependencyMultiError ¶
type DependencyMultiError []error
DependencyMultiError is an error wrapping multiple validation errors returned by Dependency.ValidateAll() if the designated constraints aren't met.
func (DependencyMultiError) AllErrors ¶
func (m DependencyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DependencyMultiError) Error ¶
func (m DependencyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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, the first error encountered is returned, or nil if there are no violations.
func (*FilterDependencies) ValidateAll ¶
func (m *FilterDependencies) ValidateAll() error
ValidateAll checks the field values on FilterDependencies with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FilterDependenciesMultiError, or nil if none found.
type FilterDependenciesMultiError ¶
type FilterDependenciesMultiError []error
FilterDependenciesMultiError is an error wrapping multiple validation errors returned by FilterDependencies.ValidateAll() if the designated constraints aren't met.
func (FilterDependenciesMultiError) AllErrors ¶
func (m FilterDependenciesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FilterDependenciesMultiError) Error ¶
func (m FilterDependenciesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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.
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 (x *MatchingRequirements) GetDataInputAllowList() *MatchingRequirements_DataInputAllowList
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
func (*MatchingRequirements) Validate ¶
func (m *MatchingRequirements) Validate() error
Validate checks the field values on MatchingRequirements with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MatchingRequirements) ValidateAll ¶
func (m *MatchingRequirements) ValidateAll() error
ValidateAll checks the field values on MatchingRequirements with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MatchingRequirementsMultiError, or nil if none found.
type MatchingRequirementsMultiError ¶
type MatchingRequirementsMultiError []error
MatchingRequirementsMultiError is an error wrapping multiple validation errors returned by MatchingRequirements.ValidateAll() if the designated constraints aren't met.
func (MatchingRequirementsMultiError) AllErrors ¶
func (m MatchingRequirementsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MatchingRequirementsMultiError) Error ¶
func (m MatchingRequirementsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MatchingRequirementsValidationError ¶
type MatchingRequirementsValidationError struct {
// contains filtered or unexported fields
}
MatchingRequirementsValidationError is the validation error returned by MatchingRequirements.Validate if the designated constraints aren't met.
func (MatchingRequirementsValidationError) Cause ¶
func (e MatchingRequirementsValidationError) Cause() error
Cause function returns cause value.
func (MatchingRequirementsValidationError) Error ¶
func (e MatchingRequirementsValidationError) Error() string
Error satisfies the builtin error interface
func (MatchingRequirementsValidationError) ErrorName ¶
func (e MatchingRequirementsValidationError) ErrorName() string
ErrorName returns error name.
func (MatchingRequirementsValidationError) Field ¶
func (e MatchingRequirementsValidationError) Field() string
Field function returns field value.
func (MatchingRequirementsValidationError) Key ¶
func (e MatchingRequirementsValidationError) Key() bool
Key function returns key value.
func (MatchingRequirementsValidationError) Reason ¶
func (e MatchingRequirementsValidationError) Reason() string
Reason function returns reason value.
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 (x *MatchingRequirements_DataInputAllowList) GetTypeUrl() []string
func (*MatchingRequirements_DataInputAllowList) ProtoMessage ¶
func (*MatchingRequirements_DataInputAllowList) ProtoMessage()
func (*MatchingRequirements_DataInputAllowList) ProtoReflect ¶
func (x *MatchingRequirements_DataInputAllowList) ProtoReflect() protoreflect.Message
func (*MatchingRequirements_DataInputAllowList) Reset ¶
func (x *MatchingRequirements_DataInputAllowList) Reset()
func (*MatchingRequirements_DataInputAllowList) String ¶
func (x *MatchingRequirements_DataInputAllowList) String() string
func (*MatchingRequirements_DataInputAllowList) Validate ¶
func (m *MatchingRequirements_DataInputAllowList) Validate() error
Validate checks the field values on MatchingRequirements_DataInputAllowList with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MatchingRequirements_DataInputAllowList) ValidateAll ¶
func (m *MatchingRequirements_DataInputAllowList) ValidateAll() error
ValidateAll checks the field values on MatchingRequirements_DataInputAllowList with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MatchingRequirements_DataInputAllowListMultiError, or nil if none found.
type MatchingRequirements_DataInputAllowListMultiError ¶
type MatchingRequirements_DataInputAllowListMultiError []error
MatchingRequirements_DataInputAllowListMultiError is an error wrapping multiple validation errors returned by MatchingRequirements_DataInputAllowList.ValidateAll() if the designated constraints aren't met.
func (MatchingRequirements_DataInputAllowListMultiError) AllErrors ¶
func (m MatchingRequirements_DataInputAllowListMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MatchingRequirements_DataInputAllowListMultiError) Error ¶
func (m MatchingRequirements_DataInputAllowListMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MatchingRequirements_DataInputAllowListValidationError ¶
type MatchingRequirements_DataInputAllowListValidationError struct {
// contains filtered or unexported fields
}
MatchingRequirements_DataInputAllowListValidationError is the validation error returned by MatchingRequirements_DataInputAllowList.Validate if the designated constraints aren't met.
func (MatchingRequirements_DataInputAllowListValidationError) Cause ¶
func (e MatchingRequirements_DataInputAllowListValidationError) Cause() error
Cause function returns cause value.
func (MatchingRequirements_DataInputAllowListValidationError) Error ¶
func (e MatchingRequirements_DataInputAllowListValidationError) Error() string
Error satisfies the builtin error interface
func (MatchingRequirements_DataInputAllowListValidationError) ErrorName ¶
func (e MatchingRequirements_DataInputAllowListValidationError) ErrorName() string
ErrorName returns error name.
func (MatchingRequirements_DataInputAllowListValidationError) Field ¶
func (e MatchingRequirements_DataInputAllowListValidationError) Field() string
Field function returns field value.
func (MatchingRequirements_DataInputAllowListValidationError) Key ¶
func (e MatchingRequirements_DataInputAllowListValidationError) Key() bool
Key function returns key value.
func (MatchingRequirements_DataInputAllowListValidationError) Reason ¶
func (e MatchingRequirements_DataInputAllowListValidationError) Reason() string
Reason function returns reason value.