Documentation ¶
Index ¶
- Variables
- type ExtensionWithMatcher
- func (*ExtensionWithMatcher) Descriptor() ([]byte, []int)deprecated
- func (x *ExtensionWithMatcher) GetExtensionConfig() *v32.TypedExtensionConfig
- func (x *ExtensionWithMatcher) GetMatcher() *v3.Matcherdeprecated
- func (x *ExtensionWithMatcher) GetXdsMatcher() *v31.Matcher
- func (*ExtensionWithMatcher) ProtoMessage()
- func (x *ExtensionWithMatcher) ProtoReflect() protoreflect.Message
- func (x *ExtensionWithMatcher) Reset()
- func (x *ExtensionWithMatcher) String() string
- func (m *ExtensionWithMatcher) Validate() error
- func (m *ExtensionWithMatcher) ValidateAll() error
- type ExtensionWithMatcherMultiError
- type ExtensionWithMatcherPerRoute
- func (*ExtensionWithMatcherPerRoute) Descriptor() ([]byte, []int)deprecated
- func (x *ExtensionWithMatcherPerRoute) GetXdsMatcher() *v31.Matcher
- func (*ExtensionWithMatcherPerRoute) ProtoMessage()
- func (x *ExtensionWithMatcherPerRoute) ProtoReflect() protoreflect.Message
- func (x *ExtensionWithMatcherPerRoute) Reset()
- func (x *ExtensionWithMatcherPerRoute) String() string
- func (m *ExtensionWithMatcherPerRoute) Validate() error
- func (m *ExtensionWithMatcherPerRoute) ValidateAll() error
- type ExtensionWithMatcherPerRouteMultiError
- type ExtensionWithMatcherPerRouteValidationError
- func (e ExtensionWithMatcherPerRouteValidationError) Cause() error
- func (e ExtensionWithMatcherPerRouteValidationError) Error() string
- func (e ExtensionWithMatcherPerRouteValidationError) ErrorName() string
- func (e ExtensionWithMatcherPerRouteValidationError) Field() string
- func (e ExtensionWithMatcherPerRouteValidationError) Key() bool
- func (e ExtensionWithMatcherPerRouteValidationError) Reason() string
- 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. This is deprecated in favor of xds_matcher. // // Deprecated: Do not use. Matcher *v3.Matcher `protobuf:"bytes,1,opt,name=matcher,proto3" json:"matcher,omitempty"` // The associated matcher. XdsMatcher *v31.Matcher `protobuf:"bytes,3,opt,name=xds_matcher,json=xdsMatcher,proto3" json:"xds_matcher,omitempty"` // The underlying extension config. ExtensionConfig *v32.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() *v32.TypedExtensionConfig
func (*ExtensionWithMatcher) GetMatcher
deprecated
func (x *ExtensionWithMatcher) GetMatcher() *v3.Matcher
Deprecated: Do not use.
func (*ExtensionWithMatcher) GetXdsMatcher ¶
func (x *ExtensionWithMatcher) GetXdsMatcher() *v31.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, the first error encountered is returned, or nil if there are no violations.
func (*ExtensionWithMatcher) ValidateAll ¶
func (m *ExtensionWithMatcher) ValidateAll() error
ValidateAll checks the field values on ExtensionWithMatcher 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 ExtensionWithMatcherMultiError, or nil if none found.
type ExtensionWithMatcherMultiError ¶
type ExtensionWithMatcherMultiError []error
ExtensionWithMatcherMultiError is an error wrapping multiple validation errors returned by ExtensionWithMatcher.ValidateAll() if the designated constraints aren't met.
func (ExtensionWithMatcherMultiError) AllErrors ¶
func (m ExtensionWithMatcherMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ExtensionWithMatcherMultiError) Error ¶
func (m ExtensionWithMatcherMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ExtensionWithMatcherPerRoute ¶
type ExtensionWithMatcherPerRoute struct { // Matcher override. XdsMatcher *v31.Matcher `protobuf:"bytes,1,opt,name=xds_matcher,json=xdsMatcher,proto3" json:"xds_matcher,omitempty"` // contains filtered or unexported fields }
Extra settings on a per virtualhost/route/weighted-cluster level.
func (*ExtensionWithMatcherPerRoute) Descriptor
deprecated
func (*ExtensionWithMatcherPerRoute) Descriptor() ([]byte, []int)
Deprecated: Use ExtensionWithMatcherPerRoute.ProtoReflect.Descriptor instead.
func (*ExtensionWithMatcherPerRoute) GetXdsMatcher ¶
func (x *ExtensionWithMatcherPerRoute) GetXdsMatcher() *v31.Matcher
func (*ExtensionWithMatcherPerRoute) ProtoMessage ¶
func (*ExtensionWithMatcherPerRoute) ProtoMessage()
func (*ExtensionWithMatcherPerRoute) ProtoReflect ¶
func (x *ExtensionWithMatcherPerRoute) ProtoReflect() protoreflect.Message
func (*ExtensionWithMatcherPerRoute) Reset ¶
func (x *ExtensionWithMatcherPerRoute) Reset()
func (*ExtensionWithMatcherPerRoute) String ¶
func (x *ExtensionWithMatcherPerRoute) String() string
func (*ExtensionWithMatcherPerRoute) Validate ¶
func (m *ExtensionWithMatcherPerRoute) Validate() error
Validate checks the field values on ExtensionWithMatcherPerRoute 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 (*ExtensionWithMatcherPerRoute) ValidateAll ¶
func (m *ExtensionWithMatcherPerRoute) ValidateAll() error
ValidateAll checks the field values on ExtensionWithMatcherPerRoute 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 ExtensionWithMatcherPerRouteMultiError, or nil if none found.
type ExtensionWithMatcherPerRouteMultiError ¶
type ExtensionWithMatcherPerRouteMultiError []error
ExtensionWithMatcherPerRouteMultiError is an error wrapping multiple validation errors returned by ExtensionWithMatcherPerRoute.ValidateAll() if the designated constraints aren't met.
func (ExtensionWithMatcherPerRouteMultiError) AllErrors ¶
func (m ExtensionWithMatcherPerRouteMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ExtensionWithMatcherPerRouteMultiError) Error ¶
func (m ExtensionWithMatcherPerRouteMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ExtensionWithMatcherPerRouteValidationError ¶
type ExtensionWithMatcherPerRouteValidationError struct {
// contains filtered or unexported fields
}
ExtensionWithMatcherPerRouteValidationError is the validation error returned by ExtensionWithMatcherPerRoute.Validate if the designated constraints aren't met.
func (ExtensionWithMatcherPerRouteValidationError) Cause ¶
func (e ExtensionWithMatcherPerRouteValidationError) Cause() error
Cause function returns cause value.
func (ExtensionWithMatcherPerRouteValidationError) Error ¶
func (e ExtensionWithMatcherPerRouteValidationError) Error() string
Error satisfies the builtin error interface
func (ExtensionWithMatcherPerRouteValidationError) ErrorName ¶
func (e ExtensionWithMatcherPerRouteValidationError) ErrorName() string
ErrorName returns error name.
func (ExtensionWithMatcherPerRouteValidationError) Field ¶
func (e ExtensionWithMatcherPerRouteValidationError) Field() string
Field function returns field value.
func (ExtensionWithMatcherPerRouteValidationError) Key ¶
func (e ExtensionWithMatcherPerRouteValidationError) Key() bool
Key function returns key value.
func (ExtensionWithMatcherPerRouteValidationError) Reason ¶
func (e ExtensionWithMatcherPerRouteValidationError) Reason() string
Reason function returns reason value.
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.