go-control-plane: github.com/envoyproxy/go-control-plane/envoy/config/common/matcher/v4alpha Index | Files

package envoy_config_common_matcher_v4alpha

import "github.com/envoyproxy/go-control-plane/envoy/config/common/matcher/v4alpha"

Index

Package Files

matcher.pb.go matcher.pb.validate.go

Variables

var File_envoy_config_common_matcher_v4alpha_matcher_proto protoreflect.FileDescriptor

type HttpGenericBodyMatch Uses

type HttpGenericBodyMatch struct {

    // Limits search to specified number of bytes - default zero (no limit - match entire captured buffer).
    BytesLimit uint32 `protobuf:"varint,1,opt,name=bytes_limit,json=bytesLimit,proto3" json:"bytes_limit,omitempty"`
    // List of patterns to match.
    Patterns []*HttpGenericBodyMatch_GenericTextMatch `protobuf:"bytes,2,rep,name=patterns,proto3" json:"patterns,omitempty"`
    // contains filtered or unexported fields
}

HTTP generic body match configuration. List of text strings and hex strings to be located in HTTP body. All specified strings must be found in the HTTP body for positive match. The search may be limited to specified number of bytes from the body start.

.. attention::

Searching for patterns in HTTP body is potentially cpu intensive. For each specified pattern, http body is scanned byte by byte to find a match.
If multiple patterns are specified, the process is repeated for each pattern. If location of a pattern is known, ``bytes_limit`` should be specified
to scan only part of the http body.

func (*HttpGenericBodyMatch) Descriptor Uses

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

Deprecated: Use HttpGenericBodyMatch.ProtoReflect.Descriptor instead.

func (*HttpGenericBodyMatch) GetBytesLimit Uses

func (x *HttpGenericBodyMatch) GetBytesLimit() uint32

func (*HttpGenericBodyMatch) GetPatterns Uses

func (x *HttpGenericBodyMatch) GetPatterns() []*HttpGenericBodyMatch_GenericTextMatch

func (*HttpGenericBodyMatch) ProtoMessage Uses

func (*HttpGenericBodyMatch) ProtoMessage()

func (*HttpGenericBodyMatch) ProtoReflect Uses

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

func (*HttpGenericBodyMatch) Reset Uses

func (x *HttpGenericBodyMatch) Reset()

func (*HttpGenericBodyMatch) String Uses

func (x *HttpGenericBodyMatch) String() string

func (*HttpGenericBodyMatch) Validate Uses

func (m *HttpGenericBodyMatch) Validate() error

Validate checks the field values on HttpGenericBodyMatch with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type HttpGenericBodyMatchValidationError Uses

type HttpGenericBodyMatchValidationError struct {
    // contains filtered or unexported fields
}

HttpGenericBodyMatchValidationError is the validation error returned by HttpGenericBodyMatch.Validate if the designated constraints aren't met.

func (HttpGenericBodyMatchValidationError) Cause Uses

func (e HttpGenericBodyMatchValidationError) Cause() error

Cause function returns cause value.

func (HttpGenericBodyMatchValidationError) Error Uses

func (e HttpGenericBodyMatchValidationError) Error() string

Error satisfies the builtin error interface

func (HttpGenericBodyMatchValidationError) ErrorName Uses

func (e HttpGenericBodyMatchValidationError) ErrorName() string

ErrorName returns error name.

func (HttpGenericBodyMatchValidationError) Field Uses

func (e HttpGenericBodyMatchValidationError) Field() string

Field function returns field value.

func (HttpGenericBodyMatchValidationError) Key Uses

func (e HttpGenericBodyMatchValidationError) Key() bool

Key function returns key value.

func (HttpGenericBodyMatchValidationError) Reason Uses

func (e HttpGenericBodyMatchValidationError) Reason() string

Reason function returns reason value.

type HttpGenericBodyMatch_GenericTextMatch Uses

type HttpGenericBodyMatch_GenericTextMatch struct {

    // Types that are assignable to Rule:
    //	*HttpGenericBodyMatch_GenericTextMatch_StringMatch
    //	*HttpGenericBodyMatch_GenericTextMatch_BinaryMatch
    Rule isHttpGenericBodyMatch_GenericTextMatch_Rule `protobuf_oneof:"rule"`
    // contains filtered or unexported fields
}

func (*HttpGenericBodyMatch_GenericTextMatch) Descriptor Uses

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

Deprecated: Use HttpGenericBodyMatch_GenericTextMatch.ProtoReflect.Descriptor instead.

func (*HttpGenericBodyMatch_GenericTextMatch) GetBinaryMatch Uses

func (x *HttpGenericBodyMatch_GenericTextMatch) GetBinaryMatch() []byte

func (*HttpGenericBodyMatch_GenericTextMatch) GetRule Uses

func (m *HttpGenericBodyMatch_GenericTextMatch) GetRule() isHttpGenericBodyMatch_GenericTextMatch_Rule

func (*HttpGenericBodyMatch_GenericTextMatch) GetStringMatch Uses

func (x *HttpGenericBodyMatch_GenericTextMatch) GetStringMatch() string

func (*HttpGenericBodyMatch_GenericTextMatch) ProtoMessage Uses

func (*HttpGenericBodyMatch_GenericTextMatch) ProtoMessage()

func (*HttpGenericBodyMatch_GenericTextMatch) ProtoReflect Uses

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

func (*HttpGenericBodyMatch_GenericTextMatch) Reset Uses

func (x *HttpGenericBodyMatch_GenericTextMatch) Reset()

func (*HttpGenericBodyMatch_GenericTextMatch) String Uses

func (x *HttpGenericBodyMatch_GenericTextMatch) String() string

func (*HttpGenericBodyMatch_GenericTextMatch) Validate Uses

func (m *HttpGenericBodyMatch_GenericTextMatch) Validate() error

Validate checks the field values on HttpGenericBodyMatch_GenericTextMatch with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type HttpGenericBodyMatch_GenericTextMatchValidationError Uses

type HttpGenericBodyMatch_GenericTextMatchValidationError struct {
    // contains filtered or unexported fields
}

HttpGenericBodyMatch_GenericTextMatchValidationError is the validation error returned by HttpGenericBodyMatch_GenericTextMatch.Validate if the designated constraints aren't met.

func (HttpGenericBodyMatch_GenericTextMatchValidationError) Cause Uses

func (e HttpGenericBodyMatch_GenericTextMatchValidationError) Cause() error

Cause function returns cause value.

func (HttpGenericBodyMatch_GenericTextMatchValidationError) Error Uses

func (e HttpGenericBodyMatch_GenericTextMatchValidationError) Error() string

Error satisfies the builtin error interface

func (HttpGenericBodyMatch_GenericTextMatchValidationError) ErrorName Uses

func (e HttpGenericBodyMatch_GenericTextMatchValidationError) ErrorName() string

ErrorName returns error name.

func (HttpGenericBodyMatch_GenericTextMatchValidationError) Field Uses

func (e HttpGenericBodyMatch_GenericTextMatchValidationError) Field() string

Field function returns field value.

func (HttpGenericBodyMatch_GenericTextMatchValidationError) Key Uses

func (e HttpGenericBodyMatch_GenericTextMatchValidationError) Key() bool

Key function returns key value.

func (HttpGenericBodyMatch_GenericTextMatchValidationError) Reason Uses

func (e HttpGenericBodyMatch_GenericTextMatchValidationError) Reason() string

Reason function returns reason value.

type HttpGenericBodyMatch_GenericTextMatch_BinaryMatch Uses

type HttpGenericBodyMatch_GenericTextMatch_BinaryMatch struct {
    // Sequence of bytes to be located in HTTP body.
    BinaryMatch []byte `protobuf:"bytes,2,opt,name=binary_match,json=binaryMatch,proto3,oneof"`
}

type HttpGenericBodyMatch_GenericTextMatch_StringMatch Uses

type HttpGenericBodyMatch_GenericTextMatch_StringMatch struct {
    // Text string to be located in HTTP body.
    StringMatch string `protobuf:"bytes,1,opt,name=string_match,json=stringMatch,proto3,oneof"`
}

type HttpHeadersMatch Uses

type HttpHeadersMatch struct {

    // HTTP headers to match.
    Headers []*v4alpha.HeaderMatcher `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"`
    // contains filtered or unexported fields
}

HTTP headers match configuration.

func (*HttpHeadersMatch) Descriptor Uses

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

Deprecated: Use HttpHeadersMatch.ProtoReflect.Descriptor instead.

func (*HttpHeadersMatch) GetHeaders Uses

func (x *HttpHeadersMatch) GetHeaders() []*v4alpha.HeaderMatcher

func (*HttpHeadersMatch) ProtoMessage Uses

func (*HttpHeadersMatch) ProtoMessage()

func (*HttpHeadersMatch) ProtoReflect Uses

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

func (*HttpHeadersMatch) Reset Uses

func (x *HttpHeadersMatch) Reset()

func (*HttpHeadersMatch) String Uses

func (x *HttpHeadersMatch) String() string

func (*HttpHeadersMatch) Validate Uses

func (m *HttpHeadersMatch) Validate() error

Validate checks the field values on HttpHeadersMatch with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type HttpHeadersMatchValidationError Uses

type HttpHeadersMatchValidationError struct {
    // contains filtered or unexported fields
}

HttpHeadersMatchValidationError is the validation error returned by HttpHeadersMatch.Validate if the designated constraints aren't met.

func (HttpHeadersMatchValidationError) Cause Uses

func (e HttpHeadersMatchValidationError) Cause() error

Cause function returns cause value.

func (HttpHeadersMatchValidationError) Error Uses

func (e HttpHeadersMatchValidationError) Error() string

Error satisfies the builtin error interface

func (HttpHeadersMatchValidationError) ErrorName Uses

func (e HttpHeadersMatchValidationError) ErrorName() string

ErrorName returns error name.

func (HttpHeadersMatchValidationError) Field Uses

func (e HttpHeadersMatchValidationError) Field() string

Field function returns field value.

func (HttpHeadersMatchValidationError) Key Uses

func (e HttpHeadersMatchValidationError) Key() bool

Key function returns key value.

func (HttpHeadersMatchValidationError) Reason Uses

func (e HttpHeadersMatchValidationError) Reason() string

Reason function returns reason value.

type MatchPredicate Uses

type MatchPredicate struct {

    // Types that are assignable to Rule:
    //	*MatchPredicate_OrMatch
    //	*MatchPredicate_AndMatch
    //	*MatchPredicate_NotMatch
    //	*MatchPredicate_AnyMatch
    //	*MatchPredicate_HttpRequestHeadersMatch
    //	*MatchPredicate_HttpRequestTrailersMatch
    //	*MatchPredicate_HttpResponseHeadersMatch
    //	*MatchPredicate_HttpResponseTrailersMatch
    //	*MatchPredicate_HttpRequestGenericBodyMatch
    //	*MatchPredicate_HttpResponseGenericBodyMatch
    Rule isMatchPredicate_Rule `protobuf_oneof:"rule"`
    // contains filtered or unexported fields
}

Match configuration. This is a recursive structure which allows complex nested match configurations to be built using various logical operators. [#next-free-field: 11]

func (*MatchPredicate) Descriptor Uses

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

Deprecated: Use MatchPredicate.ProtoReflect.Descriptor instead.

func (*MatchPredicate) GetAndMatch Uses

func (x *MatchPredicate) GetAndMatch() *MatchPredicate_MatchSet

func (*MatchPredicate) GetAnyMatch Uses

func (x *MatchPredicate) GetAnyMatch() bool

func (*MatchPredicate) GetHttpRequestGenericBodyMatch Uses

func (x *MatchPredicate) GetHttpRequestGenericBodyMatch() *HttpGenericBodyMatch

func (*MatchPredicate) GetHttpRequestHeadersMatch Uses

func (x *MatchPredicate) GetHttpRequestHeadersMatch() *HttpHeadersMatch

func (*MatchPredicate) GetHttpRequestTrailersMatch Uses

func (x *MatchPredicate) GetHttpRequestTrailersMatch() *HttpHeadersMatch

func (*MatchPredicate) GetHttpResponseGenericBodyMatch Uses

func (x *MatchPredicate) GetHttpResponseGenericBodyMatch() *HttpGenericBodyMatch

func (*MatchPredicate) GetHttpResponseHeadersMatch Uses

func (x *MatchPredicate) GetHttpResponseHeadersMatch() *HttpHeadersMatch

func (*MatchPredicate) GetHttpResponseTrailersMatch Uses

func (x *MatchPredicate) GetHttpResponseTrailersMatch() *HttpHeadersMatch

func (*MatchPredicate) GetNotMatch Uses

func (x *MatchPredicate) GetNotMatch() *MatchPredicate

func (*MatchPredicate) GetOrMatch Uses

func (x *MatchPredicate) GetOrMatch() *MatchPredicate_MatchSet

func (*MatchPredicate) GetRule Uses

func (m *MatchPredicate) GetRule() isMatchPredicate_Rule

func (*MatchPredicate) ProtoMessage Uses

func (*MatchPredicate) ProtoMessage()

func (*MatchPredicate) ProtoReflect Uses

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

func (*MatchPredicate) Reset Uses

func (x *MatchPredicate) Reset()

func (*MatchPredicate) String Uses

func (x *MatchPredicate) String() string

func (*MatchPredicate) Validate Uses

func (m *MatchPredicate) Validate() error

Validate checks the field values on MatchPredicate with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type MatchPredicateValidationError Uses

type MatchPredicateValidationError struct {
    // contains filtered or unexported fields
}

MatchPredicateValidationError is the validation error returned by MatchPredicate.Validate if the designated constraints aren't met.

func (MatchPredicateValidationError) Cause Uses

func (e MatchPredicateValidationError) Cause() error

Cause function returns cause value.

func (MatchPredicateValidationError) Error Uses

func (e MatchPredicateValidationError) Error() string

Error satisfies the builtin error interface

func (MatchPredicateValidationError) ErrorName Uses

func (e MatchPredicateValidationError) ErrorName() string

ErrorName returns error name.

func (MatchPredicateValidationError) Field Uses

func (e MatchPredicateValidationError) Field() string

Field function returns field value.

func (MatchPredicateValidationError) Key Uses

func (e MatchPredicateValidationError) Key() bool

Key function returns key value.

func (MatchPredicateValidationError) Reason Uses

func (e MatchPredicateValidationError) Reason() string

Reason function returns reason value.

type MatchPredicate_AndMatch Uses

type MatchPredicate_AndMatch struct {
    // A set that describes a logical AND. If all members of the set match, the match configuration
    // matches.
    AndMatch *MatchPredicate_MatchSet `protobuf:"bytes,2,opt,name=and_match,json=andMatch,proto3,oneof"`
}

type MatchPredicate_AnyMatch Uses

type MatchPredicate_AnyMatch struct {
    // The match configuration will always match.
    AnyMatch bool `protobuf:"varint,4,opt,name=any_match,json=anyMatch,proto3,oneof"`
}

type MatchPredicate_HttpRequestGenericBodyMatch Uses

type MatchPredicate_HttpRequestGenericBodyMatch struct {
    // HTTP request generic body match configuration.
    HttpRequestGenericBodyMatch *HttpGenericBodyMatch `protobuf:"bytes,9,opt,name=http_request_generic_body_match,json=httpRequestGenericBodyMatch,proto3,oneof"`
}

type MatchPredicate_HttpRequestHeadersMatch Uses

type MatchPredicate_HttpRequestHeadersMatch struct {
    // HTTP request headers match configuration.
    HttpRequestHeadersMatch *HttpHeadersMatch `protobuf:"bytes,5,opt,name=http_request_headers_match,json=httpRequestHeadersMatch,proto3,oneof"`
}

type MatchPredicate_HttpRequestTrailersMatch Uses

type MatchPredicate_HttpRequestTrailersMatch struct {
    // HTTP request trailers match configuration.
    HttpRequestTrailersMatch *HttpHeadersMatch `protobuf:"bytes,6,opt,name=http_request_trailers_match,json=httpRequestTrailersMatch,proto3,oneof"`
}

type MatchPredicate_HttpResponseGenericBodyMatch Uses

type MatchPredicate_HttpResponseGenericBodyMatch struct {
    // HTTP response generic body match configuration.
    HttpResponseGenericBodyMatch *HttpGenericBodyMatch `protobuf:"bytes,10,opt,name=http_response_generic_body_match,json=httpResponseGenericBodyMatch,proto3,oneof"`
}

type MatchPredicate_HttpResponseHeadersMatch Uses

type MatchPredicate_HttpResponseHeadersMatch struct {
    // HTTP response headers match configuration.
    HttpResponseHeadersMatch *HttpHeadersMatch `protobuf:"bytes,7,opt,name=http_response_headers_match,json=httpResponseHeadersMatch,proto3,oneof"`
}

type MatchPredicate_HttpResponseTrailersMatch Uses

type MatchPredicate_HttpResponseTrailersMatch struct {
    // HTTP response trailers match configuration.
    HttpResponseTrailersMatch *HttpHeadersMatch `protobuf:"bytes,8,opt,name=http_response_trailers_match,json=httpResponseTrailersMatch,proto3,oneof"`
}

type MatchPredicate_MatchSet Uses

type MatchPredicate_MatchSet struct {

    // The list of rules that make up the set.
    Rules []*MatchPredicate `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
    // contains filtered or unexported fields
}

A set of match configurations used for logical operations.

func (*MatchPredicate_MatchSet) Descriptor Uses

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

Deprecated: Use MatchPredicate_MatchSet.ProtoReflect.Descriptor instead.

func (*MatchPredicate_MatchSet) GetRules Uses

func (x *MatchPredicate_MatchSet) GetRules() []*MatchPredicate

func (*MatchPredicate_MatchSet) ProtoMessage Uses

func (*MatchPredicate_MatchSet) ProtoMessage()

func (*MatchPredicate_MatchSet) ProtoReflect Uses

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

func (*MatchPredicate_MatchSet) Reset Uses

func (x *MatchPredicate_MatchSet) Reset()

func (*MatchPredicate_MatchSet) String Uses

func (x *MatchPredicate_MatchSet) String() string

func (*MatchPredicate_MatchSet) Validate Uses

func (m *MatchPredicate_MatchSet) Validate() error

Validate checks the field values on MatchPredicate_MatchSet with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type MatchPredicate_MatchSetValidationError Uses

type MatchPredicate_MatchSetValidationError struct {
    // contains filtered or unexported fields
}

MatchPredicate_MatchSetValidationError is the validation error returned by MatchPredicate_MatchSet.Validate if the designated constraints aren't met.

func (MatchPredicate_MatchSetValidationError) Cause Uses

func (e MatchPredicate_MatchSetValidationError) Cause() error

Cause function returns cause value.

func (MatchPredicate_MatchSetValidationError) Error Uses

func (e MatchPredicate_MatchSetValidationError) Error() string

Error satisfies the builtin error interface

func (MatchPredicate_MatchSetValidationError) ErrorName Uses

func (e MatchPredicate_MatchSetValidationError) ErrorName() string

ErrorName returns error name.

func (MatchPredicate_MatchSetValidationError) Field Uses

func (e MatchPredicate_MatchSetValidationError) Field() string

Field function returns field value.

func (MatchPredicate_MatchSetValidationError) Key Uses

func (e MatchPredicate_MatchSetValidationError) Key() bool

Key function returns key value.

func (MatchPredicate_MatchSetValidationError) Reason Uses

func (e MatchPredicate_MatchSetValidationError) Reason() string

Reason function returns reason value.

type MatchPredicate_NotMatch Uses

type MatchPredicate_NotMatch struct {
    // A negation match. The match configuration will match if the negated match condition matches.
    NotMatch *MatchPredicate `protobuf:"bytes,3,opt,name=not_match,json=notMatch,proto3,oneof"`
}

type MatchPredicate_OrMatch Uses

type MatchPredicate_OrMatch struct {
    // A set that describes a logical OR. If any member of the set matches, the match configuration
    // matches.
    OrMatch *MatchPredicate_MatchSet `protobuf:"bytes,1,opt,name=or_match,json=orMatch,proto3,oneof"`
}

type Matcher Uses

type Matcher struct {

    // Types that are assignable to MatcherType:
    //	*Matcher_MatcherList_
    //	*Matcher_MatcherTree_
    MatcherType isMatcher_MatcherType `protobuf_oneof:"matcher_type"`
    // Optional OnMatch to use if the matcher failed.
    // If specified, the OnMatch is used, and the matcher is considered
    // to have matched.
    // If not specified, the matcher is considered not to have matched.
    OnNoMatch *Matcher_OnMatch `protobuf:"bytes,3,opt,name=on_no_match,json=onNoMatch,proto3" json:"on_no_match,omitempty"`
    // contains filtered or unexported fields
}

A matcher, which may traverse a matching tree in order to result in a match action. During matching, the tree will be traversed until a match is found, or if no match is found the action specified by the most specific on_no_match will be evaluated. As an on_no_match might result in another matching tree being evaluated, this process might repeat several times until the final OnMatch (or no match) is decided.

This API is a work in progress.

func (*Matcher) Descriptor Uses

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

Deprecated: Use Matcher.ProtoReflect.Descriptor instead.

func (*Matcher) GetMatcherList Uses

func (x *Matcher) GetMatcherList() *Matcher_MatcherList

func (*Matcher) GetMatcherTree Uses

func (x *Matcher) GetMatcherTree() *Matcher_MatcherTree

func (*Matcher) GetMatcherType Uses

func (m *Matcher) GetMatcherType() isMatcher_MatcherType

func (*Matcher) GetOnNoMatch Uses

func (x *Matcher) GetOnNoMatch() *Matcher_OnMatch

func (*Matcher) ProtoMessage Uses

func (*Matcher) ProtoMessage()

func (*Matcher) ProtoReflect Uses

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

func (*Matcher) Reset Uses

func (x *Matcher) Reset()

func (*Matcher) String Uses

func (x *Matcher) String() string

func (*Matcher) Validate Uses

func (m *Matcher) Validate() error

Validate checks the field values on Matcher with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type MatcherValidationError Uses

type MatcherValidationError struct {
    // contains filtered or unexported fields
}

MatcherValidationError is the validation error returned by Matcher.Validate if the designated constraints aren't met.

func (MatcherValidationError) Cause Uses

func (e MatcherValidationError) Cause() error

Cause function returns cause value.

func (MatcherValidationError) Error Uses

func (e MatcherValidationError) Error() string

Error satisfies the builtin error interface

func (MatcherValidationError) ErrorName Uses

func (e MatcherValidationError) ErrorName() string

ErrorName returns error name.

func (MatcherValidationError) Field Uses

func (e MatcherValidationError) Field() string

Field function returns field value.

func (MatcherValidationError) Key Uses

func (e MatcherValidationError) Key() bool

Key function returns key value.

func (MatcherValidationError) Reason Uses

func (e MatcherValidationError) Reason() string

Reason function returns reason value.

type Matcher_MatcherList Uses

type Matcher_MatcherList struct {

    // A list of matchers. First match wins.
    Matchers []*Matcher_MatcherList_FieldMatcher `protobuf:"bytes,1,rep,name=matchers,proto3" json:"matchers,omitempty"`
    // contains filtered or unexported fields
}

A linear list of field matchers. The field matchers are evaluated in order, and the first match wins.

func (*Matcher_MatcherList) Descriptor Uses

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

Deprecated: Use Matcher_MatcherList.ProtoReflect.Descriptor instead.

func (*Matcher_MatcherList) GetMatchers Uses

func (x *Matcher_MatcherList) GetMatchers() []*Matcher_MatcherList_FieldMatcher

func (*Matcher_MatcherList) ProtoMessage Uses

func (*Matcher_MatcherList) ProtoMessage()

func (*Matcher_MatcherList) ProtoReflect Uses

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

func (*Matcher_MatcherList) Reset Uses

func (x *Matcher_MatcherList) Reset()

func (*Matcher_MatcherList) String Uses

func (x *Matcher_MatcherList) String() string

func (*Matcher_MatcherList) Validate Uses

func (m *Matcher_MatcherList) Validate() error

Validate checks the field values on Matcher_MatcherList with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type Matcher_MatcherListValidationError Uses

type Matcher_MatcherListValidationError struct {
    // contains filtered or unexported fields
}

Matcher_MatcherListValidationError is the validation error returned by Matcher_MatcherList.Validate if the designated constraints aren't met.

func (Matcher_MatcherListValidationError) Cause Uses

func (e Matcher_MatcherListValidationError) Cause() error

Cause function returns cause value.

func (Matcher_MatcherListValidationError) Error Uses

func (e Matcher_MatcherListValidationError) Error() string

Error satisfies the builtin error interface

func (Matcher_MatcherListValidationError) ErrorName Uses

func (e Matcher_MatcherListValidationError) ErrorName() string

ErrorName returns error name.

func (Matcher_MatcherListValidationError) Field Uses

func (e Matcher_MatcherListValidationError) Field() string

Field function returns field value.

func (Matcher_MatcherListValidationError) Key Uses

func (e Matcher_MatcherListValidationError) Key() bool

Key function returns key value.

func (Matcher_MatcherListValidationError) Reason Uses

func (e Matcher_MatcherListValidationError) Reason() string

Reason function returns reason value.

type Matcher_MatcherList_ Uses

type Matcher_MatcherList_ struct {
    // A linear list of matchers to evaluate.
    MatcherList *Matcher_MatcherList `protobuf:"bytes,1,opt,name=matcher_list,json=matcherList,proto3,oneof"`
}

type Matcher_MatcherList_FieldMatcher Uses

type Matcher_MatcherList_FieldMatcher struct {

    // Determines if the match succeeds.
    Predicate *Matcher_MatcherList_Predicate `protobuf:"bytes,1,opt,name=predicate,proto3" json:"predicate,omitempty"`
    // What to do if the match succeeds.
    OnMatch *Matcher_OnMatch `protobuf:"bytes,2,opt,name=on_match,json=onMatch,proto3" json:"on_match,omitempty"`
    // contains filtered or unexported fields
}

An individual matcher.

func (*Matcher_MatcherList_FieldMatcher) Descriptor Uses

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

Deprecated: Use Matcher_MatcherList_FieldMatcher.ProtoReflect.Descriptor instead.

func (*Matcher_MatcherList_FieldMatcher) GetOnMatch Uses

func (x *Matcher_MatcherList_FieldMatcher) GetOnMatch() *Matcher_OnMatch

func (*Matcher_MatcherList_FieldMatcher) GetPredicate Uses

func (x *Matcher_MatcherList_FieldMatcher) GetPredicate() *Matcher_MatcherList_Predicate

func (*Matcher_MatcherList_FieldMatcher) ProtoMessage Uses

func (*Matcher_MatcherList_FieldMatcher) ProtoMessage()

func (*Matcher_MatcherList_FieldMatcher) ProtoReflect Uses

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

func (*Matcher_MatcherList_FieldMatcher) Reset Uses

func (x *Matcher_MatcherList_FieldMatcher) Reset()

func (*Matcher_MatcherList_FieldMatcher) String Uses

func (x *Matcher_MatcherList_FieldMatcher) String() string

func (*Matcher_MatcherList_FieldMatcher) Validate Uses

func (m *Matcher_MatcherList_FieldMatcher) Validate() error

Validate checks the field values on Matcher_MatcherList_FieldMatcher with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type Matcher_MatcherList_FieldMatcherValidationError Uses

type Matcher_MatcherList_FieldMatcherValidationError struct {
    // contains filtered or unexported fields
}

Matcher_MatcherList_FieldMatcherValidationError is the validation error returned by Matcher_MatcherList_FieldMatcher.Validate if the designated constraints aren't met.

func (Matcher_MatcherList_FieldMatcherValidationError) Cause Uses

func (e Matcher_MatcherList_FieldMatcherValidationError) Cause() error

Cause function returns cause value.

func (Matcher_MatcherList_FieldMatcherValidationError) Error Uses

func (e Matcher_MatcherList_FieldMatcherValidationError) Error() string

Error satisfies the builtin error interface

func (Matcher_MatcherList_FieldMatcherValidationError) ErrorName Uses

func (e Matcher_MatcherList_FieldMatcherValidationError) ErrorName() string

ErrorName returns error name.

func (Matcher_MatcherList_FieldMatcherValidationError) Field Uses

func (e Matcher_MatcherList_FieldMatcherValidationError) Field() string

Field function returns field value.

func (Matcher_MatcherList_FieldMatcherValidationError) Key Uses

func (e Matcher_MatcherList_FieldMatcherValidationError) Key() bool

Key function returns key value.

func (Matcher_MatcherList_FieldMatcherValidationError) Reason Uses

func (e Matcher_MatcherList_FieldMatcherValidationError) Reason() string

Reason function returns reason value.

type Matcher_MatcherList_Predicate Uses

type Matcher_MatcherList_Predicate struct {

    // Types that are assignable to MatchType:
    //	*Matcher_MatcherList_Predicate_SinglePredicate_
    //	*Matcher_MatcherList_Predicate_OrMatcher
    //	*Matcher_MatcherList_Predicate_AndMatcher
    MatchType isMatcher_MatcherList_Predicate_MatchType `protobuf_oneof:"match_type"`
    // contains filtered or unexported fields
}

Predicate to determine if a match is successful.

func (*Matcher_MatcherList_Predicate) Descriptor Uses

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

Deprecated: Use Matcher_MatcherList_Predicate.ProtoReflect.Descriptor instead.

func (*Matcher_MatcherList_Predicate) GetAndMatcher Uses

func (x *Matcher_MatcherList_Predicate) GetAndMatcher() *Matcher_MatcherList_Predicate_PredicateList

func (*Matcher_MatcherList_Predicate) GetMatchType Uses

func (m *Matcher_MatcherList_Predicate) GetMatchType() isMatcher_MatcherList_Predicate_MatchType

func (*Matcher_MatcherList_Predicate) GetOrMatcher Uses

func (x *Matcher_MatcherList_Predicate) GetOrMatcher() *Matcher_MatcherList_Predicate_PredicateList

func (*Matcher_MatcherList_Predicate) GetSinglePredicate Uses

func (x *Matcher_MatcherList_Predicate) GetSinglePredicate() *Matcher_MatcherList_Predicate_SinglePredicate

func (*Matcher_MatcherList_Predicate) ProtoMessage Uses

func (*Matcher_MatcherList_Predicate) ProtoMessage()

func (*Matcher_MatcherList_Predicate) ProtoReflect Uses

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

func (*Matcher_MatcherList_Predicate) Reset Uses

func (x *Matcher_MatcherList_Predicate) Reset()

func (*Matcher_MatcherList_Predicate) String Uses

func (x *Matcher_MatcherList_Predicate) String() string

func (*Matcher_MatcherList_Predicate) Validate Uses

func (m *Matcher_MatcherList_Predicate) Validate() error

Validate checks the field values on Matcher_MatcherList_Predicate with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type Matcher_MatcherList_PredicateValidationError Uses

type Matcher_MatcherList_PredicateValidationError struct {
    // contains filtered or unexported fields
}

Matcher_MatcherList_PredicateValidationError is the validation error returned by Matcher_MatcherList_Predicate.Validate if the designated constraints aren't met.

func (Matcher_MatcherList_PredicateValidationError) Cause Uses

func (e Matcher_MatcherList_PredicateValidationError) Cause() error

Cause function returns cause value.

func (Matcher_MatcherList_PredicateValidationError) Error Uses

func (e Matcher_MatcherList_PredicateValidationError) Error() string

Error satisfies the builtin error interface

func (Matcher_MatcherList_PredicateValidationError) ErrorName Uses

func (e Matcher_MatcherList_PredicateValidationError) ErrorName() string

ErrorName returns error name.

func (Matcher_MatcherList_PredicateValidationError) Field Uses

func (e Matcher_MatcherList_PredicateValidationError) Field() string

Field function returns field value.

func (Matcher_MatcherList_PredicateValidationError) Key Uses

func (e Matcher_MatcherList_PredicateValidationError) Key() bool

Key function returns key value.

func (Matcher_MatcherList_PredicateValidationError) Reason Uses

func (e Matcher_MatcherList_PredicateValidationError) Reason() string

Reason function returns reason value.

type Matcher_MatcherList_Predicate_AndMatcher Uses

type Matcher_MatcherList_Predicate_AndMatcher struct {
    // A list of predicates to be AND-ed together.
    AndMatcher *Matcher_MatcherList_Predicate_PredicateList `protobuf:"bytes,3,opt,name=and_matcher,json=andMatcher,proto3,oneof"`
}

type Matcher_MatcherList_Predicate_OrMatcher Uses

type Matcher_MatcherList_Predicate_OrMatcher struct {
    // A list of predicates to be OR-ed together.
    OrMatcher *Matcher_MatcherList_Predicate_PredicateList `protobuf:"bytes,2,opt,name=or_matcher,json=orMatcher,proto3,oneof"`
}

type Matcher_MatcherList_Predicate_PredicateList Uses

type Matcher_MatcherList_Predicate_PredicateList struct {
    Predicate []*Matcher_MatcherList_Predicate `protobuf:"bytes,1,rep,name=predicate,proto3" json:"predicate,omitempty"`
    // contains filtered or unexported fields
}

A list of two or more matchers. Used to allow using a list within a oneof.

func (*Matcher_MatcherList_Predicate_PredicateList) Descriptor Uses

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

Deprecated: Use Matcher_MatcherList_Predicate_PredicateList.ProtoReflect.Descriptor instead.

func (*Matcher_MatcherList_Predicate_PredicateList) GetPredicate Uses

func (x *Matcher_MatcherList_Predicate_PredicateList) GetPredicate() []*Matcher_MatcherList_Predicate

func (*Matcher_MatcherList_Predicate_PredicateList) ProtoMessage Uses

func (*Matcher_MatcherList_Predicate_PredicateList) ProtoMessage()

func (*Matcher_MatcherList_Predicate_PredicateList) ProtoReflect Uses

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

func (*Matcher_MatcherList_Predicate_PredicateList) Reset Uses

func (x *Matcher_MatcherList_Predicate_PredicateList) Reset()

func (*Matcher_MatcherList_Predicate_PredicateList) String Uses

func (x *Matcher_MatcherList_Predicate_PredicateList) String() string

func (*Matcher_MatcherList_Predicate_PredicateList) Validate Uses

func (m *Matcher_MatcherList_Predicate_PredicateList) Validate() error

Validate checks the field values on Matcher_MatcherList_Predicate_PredicateList with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type Matcher_MatcherList_Predicate_PredicateListValidationError Uses

type Matcher_MatcherList_Predicate_PredicateListValidationError struct {
    // contains filtered or unexported fields
}

Matcher_MatcherList_Predicate_PredicateListValidationError is the validation error returned by Matcher_MatcherList_Predicate_PredicateList.Validate if the designated constraints aren't met.

func (Matcher_MatcherList_Predicate_PredicateListValidationError) Cause Uses

func (e Matcher_MatcherList_Predicate_PredicateListValidationError) Cause() error

Cause function returns cause value.

func (Matcher_MatcherList_Predicate_PredicateListValidationError) Error Uses

func (e Matcher_MatcherList_Predicate_PredicateListValidationError) Error() string

Error satisfies the builtin error interface

func (Matcher_MatcherList_Predicate_PredicateListValidationError) ErrorName Uses

func (e Matcher_MatcherList_Predicate_PredicateListValidationError) ErrorName() string

ErrorName returns error name.

func (Matcher_MatcherList_Predicate_PredicateListValidationError) Field Uses

func (e Matcher_MatcherList_Predicate_PredicateListValidationError) Field() string

Field function returns field value.

func (Matcher_MatcherList_Predicate_PredicateListValidationError) Key Uses

func (e Matcher_MatcherList_Predicate_PredicateListValidationError) Key() bool

Key function returns key value.

func (Matcher_MatcherList_Predicate_PredicateListValidationError) Reason Uses

func (e Matcher_MatcherList_Predicate_PredicateListValidationError) Reason() string

Reason function returns reason value.

type Matcher_MatcherList_Predicate_SinglePredicate Uses

type Matcher_MatcherList_Predicate_SinglePredicate struct {

    // Protocol-specific specification of input field to match on.
    Input *v4alpha1.TypedExtensionConfig `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
    // Types that are assignable to Matcher:
    //	*Matcher_MatcherList_Predicate_SinglePredicate_ValueMatch
    //	*Matcher_MatcherList_Predicate_SinglePredicate_CustomMatch
    Matcher isMatcher_MatcherList_Predicate_SinglePredicate_Matcher `protobuf_oneof:"matcher"`
    // contains filtered or unexported fields
}

Predicate for a single input field.

func (*Matcher_MatcherList_Predicate_SinglePredicate) Descriptor Uses

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

Deprecated: Use Matcher_MatcherList_Predicate_SinglePredicate.ProtoReflect.Descriptor instead.

func (*Matcher_MatcherList_Predicate_SinglePredicate) GetCustomMatch Uses

func (x *Matcher_MatcherList_Predicate_SinglePredicate) GetCustomMatch() *v4alpha1.TypedExtensionConfig

func (*Matcher_MatcherList_Predicate_SinglePredicate) GetInput Uses

func (x *Matcher_MatcherList_Predicate_SinglePredicate) GetInput() *v4alpha1.TypedExtensionConfig

func (*Matcher_MatcherList_Predicate_SinglePredicate) GetMatcher Uses

func (m *Matcher_MatcherList_Predicate_SinglePredicate) GetMatcher() isMatcher_MatcherList_Predicate_SinglePredicate_Matcher

func (*Matcher_MatcherList_Predicate_SinglePredicate) GetValueMatch Uses

func (x *Matcher_MatcherList_Predicate_SinglePredicate) GetValueMatch() *v4alpha2.StringMatcher

func (*Matcher_MatcherList_Predicate_SinglePredicate) ProtoMessage Uses

func (*Matcher_MatcherList_Predicate_SinglePredicate) ProtoMessage()

func (*Matcher_MatcherList_Predicate_SinglePredicate) ProtoReflect Uses

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

func (*Matcher_MatcherList_Predicate_SinglePredicate) Reset Uses

func (x *Matcher_MatcherList_Predicate_SinglePredicate) Reset()

func (*Matcher_MatcherList_Predicate_SinglePredicate) String Uses

func (x *Matcher_MatcherList_Predicate_SinglePredicate) String() string

func (*Matcher_MatcherList_Predicate_SinglePredicate) Validate Uses

func (m *Matcher_MatcherList_Predicate_SinglePredicate) Validate() error

Validate checks the field values on Matcher_MatcherList_Predicate_SinglePredicate with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type Matcher_MatcherList_Predicate_SinglePredicateValidationError Uses

type Matcher_MatcherList_Predicate_SinglePredicateValidationError struct {
    // contains filtered or unexported fields
}

Matcher_MatcherList_Predicate_SinglePredicateValidationError is the validation error returned by Matcher_MatcherList_Predicate_SinglePredicate.Validate if the designated constraints aren't met.

func (Matcher_MatcherList_Predicate_SinglePredicateValidationError) Cause Uses

func (e Matcher_MatcherList_Predicate_SinglePredicateValidationError) Cause() error

Cause function returns cause value.

func (Matcher_MatcherList_Predicate_SinglePredicateValidationError) Error Uses

func (e Matcher_MatcherList_Predicate_SinglePredicateValidationError) Error() string

Error satisfies the builtin error interface

func (Matcher_MatcherList_Predicate_SinglePredicateValidationError) ErrorName Uses

func (e Matcher_MatcherList_Predicate_SinglePredicateValidationError) ErrorName() string

ErrorName returns error name.

func (Matcher_MatcherList_Predicate_SinglePredicateValidationError) Field Uses

func (e Matcher_MatcherList_Predicate_SinglePredicateValidationError) Field() string

Field function returns field value.

func (Matcher_MatcherList_Predicate_SinglePredicateValidationError) Key Uses

func (e Matcher_MatcherList_Predicate_SinglePredicateValidationError) Key() bool

Key function returns key value.

func (Matcher_MatcherList_Predicate_SinglePredicateValidationError) Reason Uses

func (e Matcher_MatcherList_Predicate_SinglePredicateValidationError) Reason() string

Reason function returns reason value.

type Matcher_MatcherList_Predicate_SinglePredicate_ Uses

type Matcher_MatcherList_Predicate_SinglePredicate_ struct {
    // A single predicate to evaluate.
    SinglePredicate *Matcher_MatcherList_Predicate_SinglePredicate `protobuf:"bytes,1,opt,name=single_predicate,json=singlePredicate,proto3,oneof"`
}

type Matcher_MatcherList_Predicate_SinglePredicate_CustomMatch Uses

type Matcher_MatcherList_Predicate_SinglePredicate_CustomMatch struct {
    // Extension for custom matching logic.
    CustomMatch *v4alpha1.TypedExtensionConfig `protobuf:"bytes,3,opt,name=custom_match,json=customMatch,proto3,oneof"`
}

type Matcher_MatcherList_Predicate_SinglePredicate_ValueMatch Uses

type Matcher_MatcherList_Predicate_SinglePredicate_ValueMatch struct {
    // Built-in string matcher.
    ValueMatch *v4alpha2.StringMatcher `protobuf:"bytes,2,opt,name=value_match,json=valueMatch,proto3,oneof"`
}

type Matcher_MatcherTree Uses

type Matcher_MatcherTree struct {

    // Protocol-specific specification of input field to match on.
    Input *v4alpha1.TypedExtensionConfig `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
    // Exact or prefix match maps in which to look up the input value.
    // If the lookup succeeds, the match is considered successful, and
    // the corresponding OnMatch is used.
    //
    // Types that are assignable to TreeType:
    //	*Matcher_MatcherTree_ExactMatchMap
    //	*Matcher_MatcherTree_PrefixMatchMap
    //	*Matcher_MatcherTree_CustomMatch
    TreeType isMatcher_MatcherTree_TreeType `protobuf_oneof:"tree_type"`
    // contains filtered or unexported fields
}

func (*Matcher_MatcherTree) Descriptor Uses

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

Deprecated: Use Matcher_MatcherTree.ProtoReflect.Descriptor instead.

func (*Matcher_MatcherTree) GetCustomMatch Uses

func (x *Matcher_MatcherTree) GetCustomMatch() *v4alpha1.TypedExtensionConfig

func (*Matcher_MatcherTree) GetExactMatchMap Uses

func (x *Matcher_MatcherTree) GetExactMatchMap() *Matcher_MatcherTree_MatchMap

func (*Matcher_MatcherTree) GetInput Uses

func (x *Matcher_MatcherTree) GetInput() *v4alpha1.TypedExtensionConfig

func (*Matcher_MatcherTree) GetPrefixMatchMap Uses

func (x *Matcher_MatcherTree) GetPrefixMatchMap() *Matcher_MatcherTree_MatchMap

func (*Matcher_MatcherTree) GetTreeType Uses

func (m *Matcher_MatcherTree) GetTreeType() isMatcher_MatcherTree_TreeType

func (*Matcher_MatcherTree) ProtoMessage Uses

func (*Matcher_MatcherTree) ProtoMessage()

func (*Matcher_MatcherTree) ProtoReflect Uses

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

func (*Matcher_MatcherTree) Reset Uses

func (x *Matcher_MatcherTree) Reset()

func (*Matcher_MatcherTree) String Uses

func (x *Matcher_MatcherTree) String() string

func (*Matcher_MatcherTree) Validate Uses

func (m *Matcher_MatcherTree) Validate() error

Validate checks the field values on Matcher_MatcherTree with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type Matcher_MatcherTreeValidationError Uses

type Matcher_MatcherTreeValidationError struct {
    // contains filtered or unexported fields
}

Matcher_MatcherTreeValidationError is the validation error returned by Matcher_MatcherTree.Validate if the designated constraints aren't met.

func (Matcher_MatcherTreeValidationError) Cause Uses

func (e Matcher_MatcherTreeValidationError) Cause() error

Cause function returns cause value.

func (Matcher_MatcherTreeValidationError) Error Uses

func (e Matcher_MatcherTreeValidationError) Error() string

Error satisfies the builtin error interface

func (Matcher_MatcherTreeValidationError) ErrorName Uses

func (e Matcher_MatcherTreeValidationError) ErrorName() string

ErrorName returns error name.

func (Matcher_MatcherTreeValidationError) Field Uses

func (e Matcher_MatcherTreeValidationError) Field() string

Field function returns field value.

func (Matcher_MatcherTreeValidationError) Key Uses

func (e Matcher_MatcherTreeValidationError) Key() bool

Key function returns key value.

func (Matcher_MatcherTreeValidationError) Reason Uses

func (e Matcher_MatcherTreeValidationError) Reason() string

Reason function returns reason value.

type Matcher_MatcherTree_ Uses

type Matcher_MatcherTree_ struct {
    // A match tree to evaluate.
    MatcherTree *Matcher_MatcherTree `protobuf:"bytes,2,opt,name=matcher_tree,json=matcherTree,proto3,oneof"`
}

type Matcher_MatcherTree_CustomMatch Uses

type Matcher_MatcherTree_CustomMatch struct {
    // Extension for custom matching logic.
    CustomMatch *v4alpha1.TypedExtensionConfig `protobuf:"bytes,4,opt,name=custom_match,json=customMatch,proto3,oneof"`
}

type Matcher_MatcherTree_ExactMatchMap Uses

type Matcher_MatcherTree_ExactMatchMap struct {
    ExactMatchMap *Matcher_MatcherTree_MatchMap `protobuf:"bytes,2,opt,name=exact_match_map,json=exactMatchMap,proto3,oneof"`
}

type Matcher_MatcherTree_MatchMap Uses

type Matcher_MatcherTree_MatchMap struct {
    Map map[string]*Matcher_OnMatch `protobuf:"bytes,1,rep,name=map,proto3" json:"map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // contains filtered or unexported fields
}

A map of configured matchers. Used to allow using a map within a oneof.

func (*Matcher_MatcherTree_MatchMap) Descriptor Uses

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

Deprecated: Use Matcher_MatcherTree_MatchMap.ProtoReflect.Descriptor instead.

func (*Matcher_MatcherTree_MatchMap) GetMap Uses

func (x *Matcher_MatcherTree_MatchMap) GetMap() map[string]*Matcher_OnMatch

func (*Matcher_MatcherTree_MatchMap) ProtoMessage Uses

func (*Matcher_MatcherTree_MatchMap) ProtoMessage()

func (*Matcher_MatcherTree_MatchMap) ProtoReflect Uses

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

func (*Matcher_MatcherTree_MatchMap) Reset Uses

func (x *Matcher_MatcherTree_MatchMap) Reset()

func (*Matcher_MatcherTree_MatchMap) String Uses

func (x *Matcher_MatcherTree_MatchMap) String() string

func (*Matcher_MatcherTree_MatchMap) Validate Uses

func (m *Matcher_MatcherTree_MatchMap) Validate() error

Validate checks the field values on Matcher_MatcherTree_MatchMap with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type Matcher_MatcherTree_MatchMapValidationError Uses

type Matcher_MatcherTree_MatchMapValidationError struct {
    // contains filtered or unexported fields
}

Matcher_MatcherTree_MatchMapValidationError is the validation error returned by Matcher_MatcherTree_MatchMap.Validate if the designated constraints aren't met.

func (Matcher_MatcherTree_MatchMapValidationError) Cause Uses

func (e Matcher_MatcherTree_MatchMapValidationError) Cause() error

Cause function returns cause value.

func (Matcher_MatcherTree_MatchMapValidationError) Error Uses

func (e Matcher_MatcherTree_MatchMapValidationError) Error() string

Error satisfies the builtin error interface

func (Matcher_MatcherTree_MatchMapValidationError) ErrorName Uses

func (e Matcher_MatcherTree_MatchMapValidationError) ErrorName() string

ErrorName returns error name.

func (Matcher_MatcherTree_MatchMapValidationError) Field Uses

func (e Matcher_MatcherTree_MatchMapValidationError) Field() string

Field function returns field value.

func (Matcher_MatcherTree_MatchMapValidationError) Key Uses

func (e Matcher_MatcherTree_MatchMapValidationError) Key() bool

Key function returns key value.

func (Matcher_MatcherTree_MatchMapValidationError) Reason Uses

func (e Matcher_MatcherTree_MatchMapValidationError) Reason() string

Reason function returns reason value.

type Matcher_MatcherTree_PrefixMatchMap Uses

type Matcher_MatcherTree_PrefixMatchMap struct {
    // Longest matching prefix wins.
    PrefixMatchMap *Matcher_MatcherTree_MatchMap `protobuf:"bytes,3,opt,name=prefix_match_map,json=prefixMatchMap,proto3,oneof"`
}

type Matcher_OnMatch Uses

type Matcher_OnMatch struct {

    // Types that are assignable to OnMatch:
    //	*Matcher_OnMatch_Matcher
    //	*Matcher_OnMatch_Action
    OnMatch isMatcher_OnMatch_OnMatch `protobuf_oneof:"on_match"`
    // contains filtered or unexported fields
}

What to do if a match is successful.

func (*Matcher_OnMatch) Descriptor Uses

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

Deprecated: Use Matcher_OnMatch.ProtoReflect.Descriptor instead.

func (*Matcher_OnMatch) GetAction Uses

func (x *Matcher_OnMatch) GetAction() *v4alpha1.TypedExtensionConfig

func (*Matcher_OnMatch) GetMatcher Uses

func (x *Matcher_OnMatch) GetMatcher() *Matcher

func (*Matcher_OnMatch) GetOnMatch Uses

func (m *Matcher_OnMatch) GetOnMatch() isMatcher_OnMatch_OnMatch

func (*Matcher_OnMatch) ProtoMessage Uses

func (*Matcher_OnMatch) ProtoMessage()

func (*Matcher_OnMatch) ProtoReflect Uses

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

func (*Matcher_OnMatch) Reset Uses

func (x *Matcher_OnMatch) Reset()

func (*Matcher_OnMatch) String Uses

func (x *Matcher_OnMatch) String() string

func (*Matcher_OnMatch) Validate Uses

func (m *Matcher_OnMatch) Validate() error

Validate checks the field values on Matcher_OnMatch with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type Matcher_OnMatchValidationError Uses

type Matcher_OnMatchValidationError struct {
    // contains filtered or unexported fields
}

Matcher_OnMatchValidationError is the validation error returned by Matcher_OnMatch.Validate if the designated constraints aren't met.

func (Matcher_OnMatchValidationError) Cause Uses

func (e Matcher_OnMatchValidationError) Cause() error

Cause function returns cause value.

func (Matcher_OnMatchValidationError) Error Uses

func (e Matcher_OnMatchValidationError) Error() string

Error satisfies the builtin error interface

func (Matcher_OnMatchValidationError) ErrorName Uses

func (e Matcher_OnMatchValidationError) ErrorName() string

ErrorName returns error name.

func (Matcher_OnMatchValidationError) Field Uses

func (e Matcher_OnMatchValidationError) Field() string

Field function returns field value.

func (Matcher_OnMatchValidationError) Key Uses

func (e Matcher_OnMatchValidationError) Key() bool

Key function returns key value.

func (Matcher_OnMatchValidationError) Reason Uses

func (e Matcher_OnMatchValidationError) Reason() string

Reason function returns reason value.

type Matcher_OnMatch_Action Uses

type Matcher_OnMatch_Action struct {
    // Protocol-specific action to take.
    Action *v4alpha1.TypedExtensionConfig `protobuf:"bytes,2,opt,name=action,proto3,oneof"`
}

type Matcher_OnMatch_Matcher Uses

type Matcher_OnMatch_Matcher struct {
    // Nested matcher to evaluate.
    // If the nested matcher does not match and does not specify
    // on_no_match, then this matcher is considered not to have
    // matched, even if a predicate at this level or above returned
    // true.
    Matcher *Matcher `protobuf:"bytes,1,opt,name=matcher,proto3,oneof"`
}

Package envoy_config_common_matcher_v4alpha imports 21 packages (graph) and is imported by 7 packages. Updated 2021-01-07. Refresh now. Tools for package owners.