Documentation ¶
Index ¶
- Variables
- type ExtensionWithMatcher
- func (*ExtensionWithMatcher) Descriptor() ([]byte, []int)deprecated
- func (x *ExtensionWithMatcher) GetExtensionConfig() *v31.TypedExtensionConfig
- func (x *ExtensionWithMatcher) GetMatcher() *v3.Matcher
- func (*ExtensionWithMatcher) ProtoMessage()
- func (x *ExtensionWithMatcher) ProtoReflect() protoreflect.Message
- func (x *ExtensionWithMatcher) Reset()
- func (x *ExtensionWithMatcher) String() string
- func (m *ExtensionWithMatcher) Validate() error
- type ExtensionWithMatcherValidationError
- func (e ExtensionWithMatcherValidationError) Cause() error
- func (e ExtensionWithMatcherValidationError) Error() string
- func (e ExtensionWithMatcherValidationError) ErrorName() string
- func (e ExtensionWithMatcherValidationError) Field() string
- func (e ExtensionWithMatcherValidationError) Key() bool
- func (e ExtensionWithMatcherValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_common_matching_v3_extension_matcher_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ExtensionWithMatcher ¶
type ExtensionWithMatcher struct { // The associated matcher. Matcher *v3.Matcher `protobuf:"bytes,1,opt,name=matcher,proto3" json:"matcher,omitempty"` // The underlying extension config. ExtensionConfig *v31.TypedExtensionConfig `protobuf:"bytes,2,opt,name=extension_config,json=extensionConfig,proto3" json:"extension_config,omitempty"` // contains filtered or unexported fields }
Wrapper around an existing extension that provides an associated matcher. This allows decorating an existing extension with a matcher, which can be used to match against relevant protocol data.
func (*ExtensionWithMatcher) Descriptor
deprecated
func (*ExtensionWithMatcher) Descriptor() ([]byte, []int)
Deprecated: Use ExtensionWithMatcher.ProtoReflect.Descriptor instead.
func (*ExtensionWithMatcher) GetExtensionConfig ¶
func (x *ExtensionWithMatcher) GetExtensionConfig() *v31.TypedExtensionConfig
func (*ExtensionWithMatcher) GetMatcher ¶
func (x *ExtensionWithMatcher) GetMatcher() *v3.Matcher
func (*ExtensionWithMatcher) ProtoMessage ¶
func (*ExtensionWithMatcher) ProtoMessage()
func (*ExtensionWithMatcher) ProtoReflect ¶
func (x *ExtensionWithMatcher) ProtoReflect() protoreflect.Message
func (*ExtensionWithMatcher) Reset ¶
func (x *ExtensionWithMatcher) Reset()
func (*ExtensionWithMatcher) String ¶
func (x *ExtensionWithMatcher) String() string
func (*ExtensionWithMatcher) Validate ¶
func (m *ExtensionWithMatcher) Validate() error
Validate checks the field values on ExtensionWithMatcher with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ExtensionWithMatcherValidationError ¶
type ExtensionWithMatcherValidationError struct {
// contains filtered or unexported fields
}
ExtensionWithMatcherValidationError is the validation error returned by ExtensionWithMatcher.Validate if the designated constraints aren't met.
func (ExtensionWithMatcherValidationError) Cause ¶
func (e ExtensionWithMatcherValidationError) Cause() error
Cause function returns cause value.
func (ExtensionWithMatcherValidationError) Error ¶
func (e ExtensionWithMatcherValidationError) Error() string
Error satisfies the builtin error interface
func (ExtensionWithMatcherValidationError) ErrorName ¶
func (e ExtensionWithMatcherValidationError) ErrorName() string
ErrorName returns error name.
func (ExtensionWithMatcherValidationError) Field ¶
func (e ExtensionWithMatcherValidationError) Field() string
Field function returns field value.
func (ExtensionWithMatcherValidationError) Key ¶
func (e ExtensionWithMatcherValidationError) Key() bool
Key function returns key value.
func (ExtensionWithMatcherValidationError) Reason ¶
func (e ExtensionWithMatcherValidationError) Reason() string
Reason function returns reason value.