Documentation ¶
Index ¶
- Variables
- type DoubleMatcher
- func (*DoubleMatcher) Descriptor() ([]byte, []int)deprecated
- func (x *DoubleMatcher) GetExact() float64
- func (m *DoubleMatcher) GetMatchPattern() isDoubleMatcher_MatchPattern
- func (x *DoubleMatcher) GetRange() *v3.DoubleRange
- func (*DoubleMatcher) ProtoMessage()
- func (x *DoubleMatcher) ProtoReflect() protoreflect.Message
- func (x *DoubleMatcher) Reset()
- func (x *DoubleMatcher) String() string
- func (m *DoubleMatcher) Validate() error
- func (m *DoubleMatcher) ValidateAll() error
- type DoubleMatcherMultiError
- type DoubleMatcherValidationError
- func (e DoubleMatcherValidationError) Cause() error
- func (e DoubleMatcherValidationError) Error() string
- func (e DoubleMatcherValidationError) ErrorName() string
- func (e DoubleMatcherValidationError) Field() string
- func (e DoubleMatcherValidationError) Key() bool
- func (e DoubleMatcherValidationError) Reason() string
- type DoubleMatcher_Exact
- type DoubleMatcher_Range
- type FilterStateMatcher
- func (*FilterStateMatcher) Descriptor() ([]byte, []int)deprecated
- func (x *FilterStateMatcher) GetKey() string
- func (m *FilterStateMatcher) GetMatcher() isFilterStateMatcher_Matcher
- func (x *FilterStateMatcher) GetStringMatch() *StringMatcher
- func (*FilterStateMatcher) ProtoMessage()
- func (x *FilterStateMatcher) ProtoReflect() protoreflect.Message
- func (x *FilterStateMatcher) Reset()
- func (x *FilterStateMatcher) String() string
- func (m *FilterStateMatcher) Validate() error
- func (m *FilterStateMatcher) ValidateAll() error
- type FilterStateMatcherMultiError
- type FilterStateMatcherValidationError
- func (e FilterStateMatcherValidationError) Cause() error
- func (e FilterStateMatcherValidationError) Error() string
- func (e FilterStateMatcherValidationError) ErrorName() string
- func (e FilterStateMatcherValidationError) Field() string
- func (e FilterStateMatcherValidationError) Key() bool
- func (e FilterStateMatcherValidationError) Reason() string
- type FilterStateMatcher_StringMatch
- type HttpRequestHeaderMatchInput
- func (*HttpRequestHeaderMatchInput) Descriptor() ([]byte, []int)deprecated
- func (x *HttpRequestHeaderMatchInput) GetHeaderName() string
- func (*HttpRequestHeaderMatchInput) ProtoMessage()
- func (x *HttpRequestHeaderMatchInput) ProtoReflect() protoreflect.Message
- func (x *HttpRequestHeaderMatchInput) Reset()
- func (x *HttpRequestHeaderMatchInput) String() string
- func (m *HttpRequestHeaderMatchInput) Validate() error
- func (m *HttpRequestHeaderMatchInput) ValidateAll() error
- type HttpRequestHeaderMatchInputMultiError
- type HttpRequestHeaderMatchInputValidationError
- func (e HttpRequestHeaderMatchInputValidationError) Cause() error
- func (e HttpRequestHeaderMatchInputValidationError) Error() string
- func (e HttpRequestHeaderMatchInputValidationError) ErrorName() string
- func (e HttpRequestHeaderMatchInputValidationError) Field() string
- func (e HttpRequestHeaderMatchInputValidationError) Key() bool
- func (e HttpRequestHeaderMatchInputValidationError) Reason() string
- type HttpRequestQueryParamMatchInput
- func (*HttpRequestQueryParamMatchInput) Descriptor() ([]byte, []int)deprecated
- func (x *HttpRequestQueryParamMatchInput) GetQueryParam() string
- func (*HttpRequestQueryParamMatchInput) ProtoMessage()
- func (x *HttpRequestQueryParamMatchInput) ProtoReflect() protoreflect.Message
- func (x *HttpRequestQueryParamMatchInput) Reset()
- func (x *HttpRequestQueryParamMatchInput) String() string
- func (m *HttpRequestQueryParamMatchInput) Validate() error
- func (m *HttpRequestQueryParamMatchInput) ValidateAll() error
- type HttpRequestQueryParamMatchInputMultiError
- type HttpRequestQueryParamMatchInputValidationError
- func (e HttpRequestQueryParamMatchInputValidationError) Cause() error
- func (e HttpRequestQueryParamMatchInputValidationError) Error() string
- func (e HttpRequestQueryParamMatchInputValidationError) ErrorName() string
- func (e HttpRequestQueryParamMatchInputValidationError) Field() string
- func (e HttpRequestQueryParamMatchInputValidationError) Key() bool
- func (e HttpRequestQueryParamMatchInputValidationError) Reason() string
- type HttpRequestTrailerMatchInput
- func (*HttpRequestTrailerMatchInput) Descriptor() ([]byte, []int)deprecated
- func (x *HttpRequestTrailerMatchInput) GetHeaderName() string
- func (*HttpRequestTrailerMatchInput) ProtoMessage()
- func (x *HttpRequestTrailerMatchInput) ProtoReflect() protoreflect.Message
- func (x *HttpRequestTrailerMatchInput) Reset()
- func (x *HttpRequestTrailerMatchInput) String() string
- func (m *HttpRequestTrailerMatchInput) Validate() error
- func (m *HttpRequestTrailerMatchInput) ValidateAll() error
- type HttpRequestTrailerMatchInputMultiError
- type HttpRequestTrailerMatchInputValidationError
- func (e HttpRequestTrailerMatchInputValidationError) Cause() error
- func (e HttpRequestTrailerMatchInputValidationError) Error() string
- func (e HttpRequestTrailerMatchInputValidationError) ErrorName() string
- func (e HttpRequestTrailerMatchInputValidationError) Field() string
- func (e HttpRequestTrailerMatchInputValidationError) Key() bool
- func (e HttpRequestTrailerMatchInputValidationError) Reason() string
- type HttpResponseHeaderMatchInput
- func (*HttpResponseHeaderMatchInput) Descriptor() ([]byte, []int)deprecated
- func (x *HttpResponseHeaderMatchInput) GetHeaderName() string
- func (*HttpResponseHeaderMatchInput) ProtoMessage()
- func (x *HttpResponseHeaderMatchInput) ProtoReflect() protoreflect.Message
- func (x *HttpResponseHeaderMatchInput) Reset()
- func (x *HttpResponseHeaderMatchInput) String() string
- func (m *HttpResponseHeaderMatchInput) Validate() error
- func (m *HttpResponseHeaderMatchInput) ValidateAll() error
- type HttpResponseHeaderMatchInputMultiError
- type HttpResponseHeaderMatchInputValidationError
- func (e HttpResponseHeaderMatchInputValidationError) Cause() error
- func (e HttpResponseHeaderMatchInputValidationError) Error() string
- func (e HttpResponseHeaderMatchInputValidationError) ErrorName() string
- func (e HttpResponseHeaderMatchInputValidationError) Field() string
- func (e HttpResponseHeaderMatchInputValidationError) Key() bool
- func (e HttpResponseHeaderMatchInputValidationError) Reason() string
- type HttpResponseStatusCodeClassMatchInput
- func (*HttpResponseStatusCodeClassMatchInput) Descriptor() ([]byte, []int)deprecated
- func (*HttpResponseStatusCodeClassMatchInput) ProtoMessage()
- func (x *HttpResponseStatusCodeClassMatchInput) ProtoReflect() protoreflect.Message
- func (x *HttpResponseStatusCodeClassMatchInput) Reset()
- func (x *HttpResponseStatusCodeClassMatchInput) String() string
- func (m *HttpResponseStatusCodeClassMatchInput) Validate() error
- func (m *HttpResponseStatusCodeClassMatchInput) ValidateAll() error
- type HttpResponseStatusCodeClassMatchInputMultiError
- type HttpResponseStatusCodeClassMatchInputValidationError
- func (e HttpResponseStatusCodeClassMatchInputValidationError) Cause() error
- func (e HttpResponseStatusCodeClassMatchInputValidationError) Error() string
- func (e HttpResponseStatusCodeClassMatchInputValidationError) ErrorName() string
- func (e HttpResponseStatusCodeClassMatchInputValidationError) Field() string
- func (e HttpResponseStatusCodeClassMatchInputValidationError) Key() bool
- func (e HttpResponseStatusCodeClassMatchInputValidationError) Reason() string
- type HttpResponseStatusCodeMatchInput
- func (*HttpResponseStatusCodeMatchInput) Descriptor() ([]byte, []int)deprecated
- func (*HttpResponseStatusCodeMatchInput) ProtoMessage()
- func (x *HttpResponseStatusCodeMatchInput) ProtoReflect() protoreflect.Message
- func (x *HttpResponseStatusCodeMatchInput) Reset()
- func (x *HttpResponseStatusCodeMatchInput) String() string
- func (m *HttpResponseStatusCodeMatchInput) Validate() error
- func (m *HttpResponseStatusCodeMatchInput) ValidateAll() error
- type HttpResponseStatusCodeMatchInputMultiError
- type HttpResponseStatusCodeMatchInputValidationError
- func (e HttpResponseStatusCodeMatchInputValidationError) Cause() error
- func (e HttpResponseStatusCodeMatchInputValidationError) Error() string
- func (e HttpResponseStatusCodeMatchInputValidationError) ErrorName() string
- func (e HttpResponseStatusCodeMatchInputValidationError) Field() string
- func (e HttpResponseStatusCodeMatchInputValidationError) Key() bool
- func (e HttpResponseStatusCodeMatchInputValidationError) Reason() string
- type HttpResponseTrailerMatchInput
- func (*HttpResponseTrailerMatchInput) Descriptor() ([]byte, []int)deprecated
- func (x *HttpResponseTrailerMatchInput) GetHeaderName() string
- func (*HttpResponseTrailerMatchInput) ProtoMessage()
- func (x *HttpResponseTrailerMatchInput) ProtoReflect() protoreflect.Message
- func (x *HttpResponseTrailerMatchInput) Reset()
- func (x *HttpResponseTrailerMatchInput) String() string
- func (m *HttpResponseTrailerMatchInput) Validate() error
- func (m *HttpResponseTrailerMatchInput) ValidateAll() error
- type HttpResponseTrailerMatchInputMultiError
- type HttpResponseTrailerMatchInputValidationError
- func (e HttpResponseTrailerMatchInputValidationError) Cause() error
- func (e HttpResponseTrailerMatchInputValidationError) Error() string
- func (e HttpResponseTrailerMatchInputValidationError) ErrorName() string
- func (e HttpResponseTrailerMatchInputValidationError) Field() string
- func (e HttpResponseTrailerMatchInputValidationError) Key() bool
- func (e HttpResponseTrailerMatchInputValidationError) Reason() string
- type ListMatcher
- func (*ListMatcher) Descriptor() ([]byte, []int)deprecated
- func (m *ListMatcher) GetMatchPattern() isListMatcher_MatchPattern
- func (x *ListMatcher) GetOneOf() *ValueMatcher
- func (*ListMatcher) ProtoMessage()
- func (x *ListMatcher) ProtoReflect() protoreflect.Message
- func (x *ListMatcher) Reset()
- func (x *ListMatcher) String() string
- func (m *ListMatcher) Validate() error
- func (m *ListMatcher) ValidateAll() error
- type ListMatcherMultiError
- type ListMatcherValidationError
- func (e ListMatcherValidationError) Cause() error
- func (e ListMatcherValidationError) Error() string
- func (e ListMatcherValidationError) ErrorName() string
- func (e ListMatcherValidationError) Field() string
- func (e ListMatcherValidationError) Key() bool
- func (e ListMatcherValidationError) Reason() string
- type ListMatcher_OneOf
- type ListStringMatcher
- func (*ListStringMatcher) Descriptor() ([]byte, []int)deprecated
- func (x *ListStringMatcher) GetPatterns() []*StringMatcher
- func (*ListStringMatcher) ProtoMessage()
- func (x *ListStringMatcher) ProtoReflect() protoreflect.Message
- func (x *ListStringMatcher) Reset()
- func (x *ListStringMatcher) String() string
- func (m *ListStringMatcher) Validate() error
- func (m *ListStringMatcher) ValidateAll() error
- type ListStringMatcherMultiError
- type ListStringMatcherValidationError
- func (e ListStringMatcherValidationError) Cause() error
- func (e ListStringMatcherValidationError) Error() string
- func (e ListStringMatcherValidationError) ErrorName() string
- func (e ListStringMatcherValidationError) Field() string
- func (e ListStringMatcherValidationError) Key() bool
- func (e ListStringMatcherValidationError) Reason() string
- type MetadataMatcher
- func (*MetadataMatcher) Descriptor() ([]byte, []int)deprecated
- func (x *MetadataMatcher) GetFilter() string
- func (x *MetadataMatcher) GetInvert() bool
- func (x *MetadataMatcher) GetPath() []*MetadataMatcher_PathSegment
- func (x *MetadataMatcher) GetValue() *ValueMatcher
- func (*MetadataMatcher) ProtoMessage()
- func (x *MetadataMatcher) ProtoReflect() protoreflect.Message
- func (x *MetadataMatcher) Reset()
- func (x *MetadataMatcher) String() string
- func (m *MetadataMatcher) Validate() error
- func (m *MetadataMatcher) ValidateAll() error
- type MetadataMatcherMultiError
- type MetadataMatcherValidationError
- func (e MetadataMatcherValidationError) Cause() error
- func (e MetadataMatcherValidationError) Error() string
- func (e MetadataMatcherValidationError) ErrorName() string
- func (e MetadataMatcherValidationError) Field() string
- func (e MetadataMatcherValidationError) Key() bool
- func (e MetadataMatcherValidationError) Reason() string
- type MetadataMatcher_PathSegment
- func (*MetadataMatcher_PathSegment) Descriptor() ([]byte, []int)deprecated
- func (x *MetadataMatcher_PathSegment) GetKey() string
- func (m *MetadataMatcher_PathSegment) GetSegment() isMetadataMatcher_PathSegment_Segment
- func (*MetadataMatcher_PathSegment) ProtoMessage()
- func (x *MetadataMatcher_PathSegment) ProtoReflect() protoreflect.Message
- func (x *MetadataMatcher_PathSegment) Reset()
- func (x *MetadataMatcher_PathSegment) String() string
- func (m *MetadataMatcher_PathSegment) Validate() error
- func (m *MetadataMatcher_PathSegment) ValidateAll() error
- type MetadataMatcher_PathSegmentMultiError
- type MetadataMatcher_PathSegmentValidationError
- func (e MetadataMatcher_PathSegmentValidationError) Cause() error
- func (e MetadataMatcher_PathSegmentValidationError) Error() string
- func (e MetadataMatcher_PathSegmentValidationError) ErrorName() string
- func (e MetadataMatcher_PathSegmentValidationError) Field() string
- func (e MetadataMatcher_PathSegmentValidationError) Key() bool
- func (e MetadataMatcher_PathSegmentValidationError) Reason() string
- type MetadataMatcher_PathSegment_Key
- type NodeMatcher
- func (*NodeMatcher) Descriptor() ([]byte, []int)deprecated
- func (x *NodeMatcher) GetNodeId() *StringMatcher
- func (x *NodeMatcher) GetNodeMetadatas() []*StructMatcher
- func (*NodeMatcher) ProtoMessage()
- func (x *NodeMatcher) ProtoReflect() protoreflect.Message
- func (x *NodeMatcher) Reset()
- func (x *NodeMatcher) String() string
- func (m *NodeMatcher) Validate() error
- func (m *NodeMatcher) ValidateAll() error
- type NodeMatcherMultiError
- type NodeMatcherValidationError
- func (e NodeMatcherValidationError) Cause() error
- func (e NodeMatcherValidationError) Error() string
- func (e NodeMatcherValidationError) ErrorName() string
- func (e NodeMatcherValidationError) Field() string
- func (e NodeMatcherValidationError) Key() bool
- func (e NodeMatcherValidationError) Reason() string
- type PathMatcher
- func (*PathMatcher) Descriptor() ([]byte, []int)deprecated
- func (x *PathMatcher) GetPath() *StringMatcher
- func (m *PathMatcher) GetRule() isPathMatcher_Rule
- func (*PathMatcher) ProtoMessage()
- func (x *PathMatcher) ProtoReflect() protoreflect.Message
- func (x *PathMatcher) Reset()
- func (x *PathMatcher) String() string
- func (m *PathMatcher) Validate() error
- func (m *PathMatcher) ValidateAll() error
- type PathMatcherMultiError
- type PathMatcherValidationError
- func (e PathMatcherValidationError) Cause() error
- func (e PathMatcherValidationError) Error() string
- func (e PathMatcherValidationError) ErrorName() string
- func (e PathMatcherValidationError) Field() string
- func (e PathMatcherValidationError) Key() bool
- func (e PathMatcherValidationError) Reason() string
- type PathMatcher_Path
- type RegexMatchAndSubstitute
- func (*RegexMatchAndSubstitute) Descriptor() ([]byte, []int)deprecated
- func (x *RegexMatchAndSubstitute) GetPattern() *RegexMatcher
- func (x *RegexMatchAndSubstitute) GetSubstitution() string
- func (*RegexMatchAndSubstitute) ProtoMessage()
- func (x *RegexMatchAndSubstitute) ProtoReflect() protoreflect.Message
- func (x *RegexMatchAndSubstitute) Reset()
- func (x *RegexMatchAndSubstitute) String() string
- func (m *RegexMatchAndSubstitute) Validate() error
- func (m *RegexMatchAndSubstitute) ValidateAll() error
- type RegexMatchAndSubstituteMultiError
- type RegexMatchAndSubstituteValidationError
- func (e RegexMatchAndSubstituteValidationError) Cause() error
- func (e RegexMatchAndSubstituteValidationError) Error() string
- func (e RegexMatchAndSubstituteValidationError) ErrorName() string
- func (e RegexMatchAndSubstituteValidationError) Field() string
- func (e RegexMatchAndSubstituteValidationError) Key() bool
- func (e RegexMatchAndSubstituteValidationError) Reason() string
- type RegexMatcher
- func (*RegexMatcher) Descriptor() ([]byte, []int)deprecated
- func (m *RegexMatcher) GetEngineType() isRegexMatcher_EngineType
- func (x *RegexMatcher) GetGoogleRe2() *RegexMatcher_GoogleRE2deprecated
- func (x *RegexMatcher) GetRegex() string
- func (*RegexMatcher) ProtoMessage()
- func (x *RegexMatcher) ProtoReflect() protoreflect.Message
- func (x *RegexMatcher) Reset()
- func (x *RegexMatcher) String() string
- func (m *RegexMatcher) Validate() error
- func (m *RegexMatcher) ValidateAll() error
- type RegexMatcherMultiError
- type RegexMatcherValidationError
- func (e RegexMatcherValidationError) Cause() error
- func (e RegexMatcherValidationError) Error() string
- func (e RegexMatcherValidationError) ErrorName() string
- func (e RegexMatcherValidationError) Field() string
- func (e RegexMatcherValidationError) Key() bool
- func (e RegexMatcherValidationError) Reason() string
- type RegexMatcher_GoogleRE2
- func (*RegexMatcher_GoogleRE2) Descriptor() ([]byte, []int)deprecated
- func (x *RegexMatcher_GoogleRE2) GetMaxProgramSize() *wrappers.UInt32Valuedeprecated
- func (*RegexMatcher_GoogleRE2) ProtoMessage()
- func (x *RegexMatcher_GoogleRE2) ProtoReflect() protoreflect.Message
- func (x *RegexMatcher_GoogleRE2) Reset()
- func (x *RegexMatcher_GoogleRE2) String() string
- func (m *RegexMatcher_GoogleRE2) Validate() error
- func (m *RegexMatcher_GoogleRE2) ValidateAll() error
- type RegexMatcher_GoogleRE2MultiError
- type RegexMatcher_GoogleRE2ValidationError
- func (e RegexMatcher_GoogleRE2ValidationError) Cause() error
- func (e RegexMatcher_GoogleRE2ValidationError) Error() string
- func (e RegexMatcher_GoogleRE2ValidationError) ErrorName() string
- func (e RegexMatcher_GoogleRE2ValidationError) Field() string
- func (e RegexMatcher_GoogleRE2ValidationError) Key() bool
- func (e RegexMatcher_GoogleRE2ValidationError) Reason() string
- type RegexMatcher_GoogleRe2
- type StringMatcher
- func (*StringMatcher) Descriptor() ([]byte, []int)deprecated
- func (x *StringMatcher) GetContains() string
- func (x *StringMatcher) GetExact() string
- func (x *StringMatcher) GetIgnoreCase() bool
- func (m *StringMatcher) GetMatchPattern() isStringMatcher_MatchPattern
- func (x *StringMatcher) GetPrefix() string
- func (x *StringMatcher) GetSafeRegex() *RegexMatcher
- func (x *StringMatcher) GetSuffix() string
- func (*StringMatcher) ProtoMessage()
- func (x *StringMatcher) ProtoReflect() protoreflect.Message
- func (x *StringMatcher) Reset()
- func (x *StringMatcher) String() string
- func (m *StringMatcher) Validate() error
- func (m *StringMatcher) ValidateAll() error
- type StringMatcherMultiError
- type StringMatcherValidationError
- func (e StringMatcherValidationError) Cause() error
- func (e StringMatcherValidationError) Error() string
- func (e StringMatcherValidationError) ErrorName() string
- func (e StringMatcherValidationError) Field() string
- func (e StringMatcherValidationError) Key() bool
- func (e StringMatcherValidationError) Reason() string
- type StringMatcher_Contains
- type StringMatcher_Exact
- type StringMatcher_Prefix
- type StringMatcher_SafeRegex
- type StringMatcher_Suffix
- type StructMatcher
- func (*StructMatcher) Descriptor() ([]byte, []int)deprecated
- func (x *StructMatcher) GetPath() []*StructMatcher_PathSegment
- func (x *StructMatcher) GetValue() *ValueMatcher
- func (*StructMatcher) ProtoMessage()
- func (x *StructMatcher) ProtoReflect() protoreflect.Message
- func (x *StructMatcher) Reset()
- func (x *StructMatcher) String() string
- func (m *StructMatcher) Validate() error
- func (m *StructMatcher) ValidateAll() error
- type StructMatcherMultiError
- type StructMatcherValidationError
- func (e StructMatcherValidationError) Cause() error
- func (e StructMatcherValidationError) Error() string
- func (e StructMatcherValidationError) ErrorName() string
- func (e StructMatcherValidationError) Field() string
- func (e StructMatcherValidationError) Key() bool
- func (e StructMatcherValidationError) Reason() string
- type StructMatcher_PathSegment
- func (*StructMatcher_PathSegment) Descriptor() ([]byte, []int)deprecated
- func (x *StructMatcher_PathSegment) GetKey() string
- func (m *StructMatcher_PathSegment) GetSegment() isStructMatcher_PathSegment_Segment
- func (*StructMatcher_PathSegment) ProtoMessage()
- func (x *StructMatcher_PathSegment) ProtoReflect() protoreflect.Message
- func (x *StructMatcher_PathSegment) Reset()
- func (x *StructMatcher_PathSegment) String() string
- func (m *StructMatcher_PathSegment) Validate() error
- func (m *StructMatcher_PathSegment) ValidateAll() error
- type StructMatcher_PathSegmentMultiError
- type StructMatcher_PathSegmentValidationError
- func (e StructMatcher_PathSegmentValidationError) Cause() error
- func (e StructMatcher_PathSegmentValidationError) Error() string
- func (e StructMatcher_PathSegmentValidationError) ErrorName() string
- func (e StructMatcher_PathSegmentValidationError) Field() string
- func (e StructMatcher_PathSegmentValidationError) Key() bool
- func (e StructMatcher_PathSegmentValidationError) Reason() string
- type StructMatcher_PathSegment_Key
- type ValueMatcher
- func (*ValueMatcher) Descriptor() ([]byte, []int)deprecated
- func (x *ValueMatcher) GetBoolMatch() bool
- func (x *ValueMatcher) GetDoubleMatch() *DoubleMatcher
- func (x *ValueMatcher) GetListMatch() *ListMatcher
- func (m *ValueMatcher) GetMatchPattern() isValueMatcher_MatchPattern
- func (x *ValueMatcher) GetNullMatch() *ValueMatcher_NullMatch
- func (x *ValueMatcher) GetPresentMatch() bool
- func (x *ValueMatcher) GetStringMatch() *StringMatcher
- func (*ValueMatcher) ProtoMessage()
- func (x *ValueMatcher) ProtoReflect() protoreflect.Message
- func (x *ValueMatcher) Reset()
- func (x *ValueMatcher) String() string
- func (m *ValueMatcher) Validate() error
- func (m *ValueMatcher) ValidateAll() error
- type ValueMatcherMultiError
- type ValueMatcherValidationError
- func (e ValueMatcherValidationError) Cause() error
- func (e ValueMatcherValidationError) Error() string
- func (e ValueMatcherValidationError) ErrorName() string
- func (e ValueMatcherValidationError) Field() string
- func (e ValueMatcherValidationError) Key() bool
- func (e ValueMatcherValidationError) Reason() string
- type ValueMatcher_BoolMatch
- type ValueMatcher_DoubleMatch
- type ValueMatcher_ListMatch
- type ValueMatcher_NullMatch
- func (*ValueMatcher_NullMatch) Descriptor() ([]byte, []int)deprecated
- func (*ValueMatcher_NullMatch) ProtoMessage()
- func (x *ValueMatcher_NullMatch) ProtoReflect() protoreflect.Message
- func (x *ValueMatcher_NullMatch) Reset()
- func (x *ValueMatcher_NullMatch) String() string
- func (m *ValueMatcher_NullMatch) Validate() error
- func (m *ValueMatcher_NullMatch) ValidateAll() error
- type ValueMatcher_NullMatchMultiError
- type ValueMatcher_NullMatchValidationError
- func (e ValueMatcher_NullMatchValidationError) Cause() error
- func (e ValueMatcher_NullMatchValidationError) Error() string
- func (e ValueMatcher_NullMatchValidationError) ErrorName() string
- func (e ValueMatcher_NullMatchValidationError) Field() string
- func (e ValueMatcher_NullMatchValidationError) Key() bool
- func (e ValueMatcher_NullMatchValidationError) Reason() string
- type ValueMatcher_NullMatch_
- type ValueMatcher_PresentMatch
- type ValueMatcher_StringMatch
Constants ¶
This section is empty.
Variables ¶
var File_envoy_type_matcher_v3_filter_state_proto protoreflect.FileDescriptor
var File_envoy_type_matcher_v3_http_inputs_proto protoreflect.FileDescriptor
var File_envoy_type_matcher_v3_metadata_proto protoreflect.FileDescriptor
var File_envoy_type_matcher_v3_node_proto protoreflect.FileDescriptor
var File_envoy_type_matcher_v3_number_proto protoreflect.FileDescriptor
var File_envoy_type_matcher_v3_path_proto protoreflect.FileDescriptor
var File_envoy_type_matcher_v3_regex_proto protoreflect.FileDescriptor
var File_envoy_type_matcher_v3_status_code_input_proto protoreflect.FileDescriptor
var File_envoy_type_matcher_v3_string_proto protoreflect.FileDescriptor
var File_envoy_type_matcher_v3_struct_proto protoreflect.FileDescriptor
var File_envoy_type_matcher_v3_value_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DoubleMatcher ¶
type DoubleMatcher struct { // Types that are assignable to MatchPattern: // *DoubleMatcher_Range // *DoubleMatcher_Exact MatchPattern isDoubleMatcher_MatchPattern `protobuf_oneof:"match_pattern"` // contains filtered or unexported fields }
Specifies the way to match a double value.
func (*DoubleMatcher) Descriptor
deprecated
func (*DoubleMatcher) Descriptor() ([]byte, []int)
Deprecated: Use DoubleMatcher.ProtoReflect.Descriptor instead.
func (*DoubleMatcher) GetExact ¶
func (x *DoubleMatcher) GetExact() float64
func (*DoubleMatcher) GetMatchPattern ¶
func (m *DoubleMatcher) GetMatchPattern() isDoubleMatcher_MatchPattern
func (*DoubleMatcher) GetRange ¶
func (x *DoubleMatcher) GetRange() *v3.DoubleRange
func (*DoubleMatcher) ProtoMessage ¶
func (*DoubleMatcher) ProtoMessage()
func (*DoubleMatcher) ProtoReflect ¶ added in v0.9.6
func (x *DoubleMatcher) ProtoReflect() protoreflect.Message
func (*DoubleMatcher) Reset ¶
func (x *DoubleMatcher) Reset()
func (*DoubleMatcher) String ¶
func (x *DoubleMatcher) String() string
func (*DoubleMatcher) Validate ¶
func (m *DoubleMatcher) Validate() error
Validate checks the field values on DoubleMatcher 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 (*DoubleMatcher) ValidateAll ¶ added in v0.10.0
func (m *DoubleMatcher) ValidateAll() error
ValidateAll checks the field values on DoubleMatcher 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 DoubleMatcherMultiError, or nil if none found.
type DoubleMatcherMultiError ¶ added in v0.10.0
type DoubleMatcherMultiError []error
DoubleMatcherMultiError is an error wrapping multiple validation errors returned by DoubleMatcher.ValidateAll() if the designated constraints aren't met.
func (DoubleMatcherMultiError) AllErrors ¶ added in v0.10.0
func (m DoubleMatcherMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DoubleMatcherMultiError) Error ¶ added in v0.10.0
func (m DoubleMatcherMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DoubleMatcherValidationError ¶
type DoubleMatcherValidationError struct {
// contains filtered or unexported fields
}
DoubleMatcherValidationError is the validation error returned by DoubleMatcher.Validate if the designated constraints aren't met.
func (DoubleMatcherValidationError) Cause ¶
func (e DoubleMatcherValidationError) Cause() error
Cause function returns cause value.
func (DoubleMatcherValidationError) Error ¶
func (e DoubleMatcherValidationError) Error() string
Error satisfies the builtin error interface
func (DoubleMatcherValidationError) ErrorName ¶
func (e DoubleMatcherValidationError) ErrorName() string
ErrorName returns error name.
func (DoubleMatcherValidationError) Field ¶
func (e DoubleMatcherValidationError) Field() string
Field function returns field value.
func (DoubleMatcherValidationError) Key ¶
func (e DoubleMatcherValidationError) Key() bool
Key function returns key value.
func (DoubleMatcherValidationError) Reason ¶
func (e DoubleMatcherValidationError) Reason() string
Reason function returns reason value.
type DoubleMatcher_Exact ¶
type DoubleMatcher_Exact struct { // If specified, the input double value must be equal to the value specified here. Exact float64 `protobuf:"fixed64,2,opt,name=exact,proto3,oneof"` }
type DoubleMatcher_Range ¶
type DoubleMatcher_Range struct { // If specified, the input double value must be in the range specified here. // Note: The range is using half-open interval semantics [start, end). Range *v3.DoubleRange `protobuf:"bytes,1,opt,name=range,proto3,oneof"` }
type FilterStateMatcher ¶ added in v0.11.0
type FilterStateMatcher struct { // The filter state key to retrieve the object. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Types that are assignable to Matcher: // *FilterStateMatcher_StringMatch Matcher isFilterStateMatcher_Matcher `protobuf_oneof:"matcher"` // contains filtered or unexported fields }
FilterStateMatcher provides a general interface for matching the filter state objects.
func (*FilterStateMatcher) Descriptor
deprecated
added in
v0.11.0
func (*FilterStateMatcher) Descriptor() ([]byte, []int)
Deprecated: Use FilterStateMatcher.ProtoReflect.Descriptor instead.
func (*FilterStateMatcher) GetKey ¶ added in v0.11.0
func (x *FilterStateMatcher) GetKey() string
func (*FilterStateMatcher) GetMatcher ¶ added in v0.11.0
func (m *FilterStateMatcher) GetMatcher() isFilterStateMatcher_Matcher
func (*FilterStateMatcher) GetStringMatch ¶ added in v0.11.0
func (x *FilterStateMatcher) GetStringMatch() *StringMatcher
func (*FilterStateMatcher) ProtoMessage ¶ added in v0.11.0
func (*FilterStateMatcher) ProtoMessage()
func (*FilterStateMatcher) ProtoReflect ¶ added in v0.11.0
func (x *FilterStateMatcher) ProtoReflect() protoreflect.Message
func (*FilterStateMatcher) Reset ¶ added in v0.11.0
func (x *FilterStateMatcher) Reset()
func (*FilterStateMatcher) String ¶ added in v0.11.0
func (x *FilterStateMatcher) String() string
func (*FilterStateMatcher) Validate ¶ added in v0.11.0
func (m *FilterStateMatcher) Validate() error
Validate checks the field values on FilterStateMatcher 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 (*FilterStateMatcher) ValidateAll ¶ added in v0.11.0
func (m *FilterStateMatcher) ValidateAll() error
ValidateAll checks the field values on FilterStateMatcher 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 FilterStateMatcherMultiError, or nil if none found.
type FilterStateMatcherMultiError ¶ added in v0.11.0
type FilterStateMatcherMultiError []error
FilterStateMatcherMultiError is an error wrapping multiple validation errors returned by FilterStateMatcher.ValidateAll() if the designated constraints aren't met.
func (FilterStateMatcherMultiError) AllErrors ¶ added in v0.11.0
func (m FilterStateMatcherMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FilterStateMatcherMultiError) Error ¶ added in v0.11.0
func (m FilterStateMatcherMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FilterStateMatcherValidationError ¶ added in v0.11.0
type FilterStateMatcherValidationError struct {
// contains filtered or unexported fields
}
FilterStateMatcherValidationError is the validation error returned by FilterStateMatcher.Validate if the designated constraints aren't met.
func (FilterStateMatcherValidationError) Cause ¶ added in v0.11.0
func (e FilterStateMatcherValidationError) Cause() error
Cause function returns cause value.
func (FilterStateMatcherValidationError) Error ¶ added in v0.11.0
func (e FilterStateMatcherValidationError) Error() string
Error satisfies the builtin error interface
func (FilterStateMatcherValidationError) ErrorName ¶ added in v0.11.0
func (e FilterStateMatcherValidationError) ErrorName() string
ErrorName returns error name.
func (FilterStateMatcherValidationError) Field ¶ added in v0.11.0
func (e FilterStateMatcherValidationError) Field() string
Field function returns field value.
func (FilterStateMatcherValidationError) Key ¶ added in v0.11.0
func (e FilterStateMatcherValidationError) Key() bool
Key function returns key value.
func (FilterStateMatcherValidationError) Reason ¶ added in v0.11.0
func (e FilterStateMatcherValidationError) Reason() string
Reason function returns reason value.
type FilterStateMatcher_StringMatch ¶ added in v0.11.0
type FilterStateMatcher_StringMatch struct { // Matches the filter state object as a string value. StringMatch *StringMatcher `protobuf:"bytes,2,opt,name=string_match,json=stringMatch,proto3,oneof"` }
type HttpRequestHeaderMatchInput ¶ added in v0.9.9
type HttpRequestHeaderMatchInput struct { // The request header to match on. HeaderName string `protobuf:"bytes,1,opt,name=header_name,json=headerName,proto3" json:"header_name,omitempty"` // contains filtered or unexported fields }
Match input indicates that matching should be done on a specific request header. The resulting input string will be all headers for the given key joined by a comma, e.g. if the request contains two 'foo' headers with value 'bar' and 'baz', the input string will be 'bar,baz'. [#comment:TODO(snowp): Link to unified matching docs.] [#extension: envoy.matching.inputs.request_headers]
func (*HttpRequestHeaderMatchInput) Descriptor
deprecated
added in
v0.9.9
func (*HttpRequestHeaderMatchInput) Descriptor() ([]byte, []int)
Deprecated: Use HttpRequestHeaderMatchInput.ProtoReflect.Descriptor instead.
func (*HttpRequestHeaderMatchInput) GetHeaderName ¶ added in v0.9.9
func (x *HttpRequestHeaderMatchInput) GetHeaderName() string
func (*HttpRequestHeaderMatchInput) ProtoMessage ¶ added in v0.9.9
func (*HttpRequestHeaderMatchInput) ProtoMessage()
func (*HttpRequestHeaderMatchInput) ProtoReflect ¶ added in v0.9.9
func (x *HttpRequestHeaderMatchInput) ProtoReflect() protoreflect.Message
func (*HttpRequestHeaderMatchInput) Reset ¶ added in v0.9.9
func (x *HttpRequestHeaderMatchInput) Reset()
func (*HttpRequestHeaderMatchInput) String ¶ added in v0.9.9
func (x *HttpRequestHeaderMatchInput) String() string
func (*HttpRequestHeaderMatchInput) Validate ¶ added in v0.9.9
func (m *HttpRequestHeaderMatchInput) Validate() error
Validate checks the field values on HttpRequestHeaderMatchInput 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 (*HttpRequestHeaderMatchInput) ValidateAll ¶ added in v0.10.0
func (m *HttpRequestHeaderMatchInput) ValidateAll() error
ValidateAll checks the field values on HttpRequestHeaderMatchInput 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 HttpRequestHeaderMatchInputMultiError, or nil if none found.
type HttpRequestHeaderMatchInputMultiError ¶ added in v0.10.0
type HttpRequestHeaderMatchInputMultiError []error
HttpRequestHeaderMatchInputMultiError is an error wrapping multiple validation errors returned by HttpRequestHeaderMatchInput.ValidateAll() if the designated constraints aren't met.
func (HttpRequestHeaderMatchInputMultiError) AllErrors ¶ added in v0.10.0
func (m HttpRequestHeaderMatchInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HttpRequestHeaderMatchInputMultiError) Error ¶ added in v0.10.0
func (m HttpRequestHeaderMatchInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HttpRequestHeaderMatchInputValidationError ¶ added in v0.9.9
type HttpRequestHeaderMatchInputValidationError struct {
// contains filtered or unexported fields
}
HttpRequestHeaderMatchInputValidationError is the validation error returned by HttpRequestHeaderMatchInput.Validate if the designated constraints aren't met.
func (HttpRequestHeaderMatchInputValidationError) Cause ¶ added in v0.9.9
func (e HttpRequestHeaderMatchInputValidationError) Cause() error
Cause function returns cause value.
func (HttpRequestHeaderMatchInputValidationError) Error ¶ added in v0.9.9
func (e HttpRequestHeaderMatchInputValidationError) Error() string
Error satisfies the builtin error interface
func (HttpRequestHeaderMatchInputValidationError) ErrorName ¶ added in v0.9.9
func (e HttpRequestHeaderMatchInputValidationError) ErrorName() string
ErrorName returns error name.
func (HttpRequestHeaderMatchInputValidationError) Field ¶ added in v0.9.9
func (e HttpRequestHeaderMatchInputValidationError) Field() string
Field function returns field value.
func (HttpRequestHeaderMatchInputValidationError) Key ¶ added in v0.9.9
func (e HttpRequestHeaderMatchInputValidationError) Key() bool
Key function returns key value.
func (HttpRequestHeaderMatchInputValidationError) Reason ¶ added in v0.9.9
func (e HttpRequestHeaderMatchInputValidationError) Reason() string
Reason function returns reason value.
type HttpRequestQueryParamMatchInput ¶ added in v0.11.1
type HttpRequestQueryParamMatchInput struct { // The query parameter to match on. QueryParam string `protobuf:"bytes,1,opt,name=query_param,json=queryParam,proto3" json:"query_param,omitempty"` // contains filtered or unexported fields }
Match input indicates that matching should be done on a specific query parameter. The resulting input string will be the first query parameter for the value 'query_param'. [#extension: envoy.matching.inputs.query_params]
func (*HttpRequestQueryParamMatchInput) Descriptor
deprecated
added in
v0.11.1
func (*HttpRequestQueryParamMatchInput) Descriptor() ([]byte, []int)
Deprecated: Use HttpRequestQueryParamMatchInput.ProtoReflect.Descriptor instead.
func (*HttpRequestQueryParamMatchInput) GetQueryParam ¶ added in v0.11.1
func (x *HttpRequestQueryParamMatchInput) GetQueryParam() string
func (*HttpRequestQueryParamMatchInput) ProtoMessage ¶ added in v0.11.1
func (*HttpRequestQueryParamMatchInput) ProtoMessage()
func (*HttpRequestQueryParamMatchInput) ProtoReflect ¶ added in v0.11.1
func (x *HttpRequestQueryParamMatchInput) ProtoReflect() protoreflect.Message
func (*HttpRequestQueryParamMatchInput) Reset ¶ added in v0.11.1
func (x *HttpRequestQueryParamMatchInput) Reset()
func (*HttpRequestQueryParamMatchInput) String ¶ added in v0.11.1
func (x *HttpRequestQueryParamMatchInput) String() string
func (*HttpRequestQueryParamMatchInput) Validate ¶ added in v0.11.1
func (m *HttpRequestQueryParamMatchInput) Validate() error
Validate checks the field values on HttpRequestQueryParamMatchInput 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 (*HttpRequestQueryParamMatchInput) ValidateAll ¶ added in v0.11.1
func (m *HttpRequestQueryParamMatchInput) ValidateAll() error
ValidateAll checks the field values on HttpRequestQueryParamMatchInput 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 HttpRequestQueryParamMatchInputMultiError, or nil if none found.
type HttpRequestQueryParamMatchInputMultiError ¶ added in v0.11.1
type HttpRequestQueryParamMatchInputMultiError []error
HttpRequestQueryParamMatchInputMultiError is an error wrapping multiple validation errors returned by HttpRequestQueryParamMatchInput.ValidateAll() if the designated constraints aren't met.
func (HttpRequestQueryParamMatchInputMultiError) AllErrors ¶ added in v0.11.1
func (m HttpRequestQueryParamMatchInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HttpRequestQueryParamMatchInputMultiError) Error ¶ added in v0.11.1
func (m HttpRequestQueryParamMatchInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HttpRequestQueryParamMatchInputValidationError ¶ added in v0.11.1
type HttpRequestQueryParamMatchInputValidationError struct {
// contains filtered or unexported fields
}
HttpRequestQueryParamMatchInputValidationError is the validation error returned by HttpRequestQueryParamMatchInput.Validate if the designated constraints aren't met.
func (HttpRequestQueryParamMatchInputValidationError) Cause ¶ added in v0.11.1
func (e HttpRequestQueryParamMatchInputValidationError) Cause() error
Cause function returns cause value.
func (HttpRequestQueryParamMatchInputValidationError) Error ¶ added in v0.11.1
func (e HttpRequestQueryParamMatchInputValidationError) Error() string
Error satisfies the builtin error interface
func (HttpRequestQueryParamMatchInputValidationError) ErrorName ¶ added in v0.11.1
func (e HttpRequestQueryParamMatchInputValidationError) ErrorName() string
ErrorName returns error name.
func (HttpRequestQueryParamMatchInputValidationError) Field ¶ added in v0.11.1
func (e HttpRequestQueryParamMatchInputValidationError) Field() string
Field function returns field value.
func (HttpRequestQueryParamMatchInputValidationError) Key ¶ added in v0.11.1
func (e HttpRequestQueryParamMatchInputValidationError) Key() bool
Key function returns key value.
func (HttpRequestQueryParamMatchInputValidationError) Reason ¶ added in v0.11.1
func (e HttpRequestQueryParamMatchInputValidationError) Reason() string
Reason function returns reason value.
type HttpRequestTrailerMatchInput ¶ added in v0.9.9
type HttpRequestTrailerMatchInput struct { // The request trailer to match on. HeaderName string `protobuf:"bytes,1,opt,name=header_name,json=headerName,proto3" json:"header_name,omitempty"` // contains filtered or unexported fields }
Match input indicates that matching should be done on a specific request trailer. The resulting input string will be all headers for the given key joined by a comma, e.g. if the request contains two 'foo' headers with value 'bar' and 'baz', the input string will be 'bar,baz'. [#comment:TODO(snowp): Link to unified matching docs.] [#extension: envoy.matching.inputs.request_trailers]
func (*HttpRequestTrailerMatchInput) Descriptor
deprecated
added in
v0.9.9
func (*HttpRequestTrailerMatchInput) Descriptor() ([]byte, []int)
Deprecated: Use HttpRequestTrailerMatchInput.ProtoReflect.Descriptor instead.
func (*HttpRequestTrailerMatchInput) GetHeaderName ¶ added in v0.9.9
func (x *HttpRequestTrailerMatchInput) GetHeaderName() string
func (*HttpRequestTrailerMatchInput) ProtoMessage ¶ added in v0.9.9
func (*HttpRequestTrailerMatchInput) ProtoMessage()
func (*HttpRequestTrailerMatchInput) ProtoReflect ¶ added in v0.9.9
func (x *HttpRequestTrailerMatchInput) ProtoReflect() protoreflect.Message
func (*HttpRequestTrailerMatchInput) Reset ¶ added in v0.9.9
func (x *HttpRequestTrailerMatchInput) Reset()
func (*HttpRequestTrailerMatchInput) String ¶ added in v0.9.9
func (x *HttpRequestTrailerMatchInput) String() string
func (*HttpRequestTrailerMatchInput) Validate ¶ added in v0.9.9
func (m *HttpRequestTrailerMatchInput) Validate() error
Validate checks the field values on HttpRequestTrailerMatchInput 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 (*HttpRequestTrailerMatchInput) ValidateAll ¶ added in v0.10.0
func (m *HttpRequestTrailerMatchInput) ValidateAll() error
ValidateAll checks the field values on HttpRequestTrailerMatchInput 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 HttpRequestTrailerMatchInputMultiError, or nil if none found.
type HttpRequestTrailerMatchInputMultiError ¶ added in v0.10.0
type HttpRequestTrailerMatchInputMultiError []error
HttpRequestTrailerMatchInputMultiError is an error wrapping multiple validation errors returned by HttpRequestTrailerMatchInput.ValidateAll() if the designated constraints aren't met.
func (HttpRequestTrailerMatchInputMultiError) AllErrors ¶ added in v0.10.0
func (m HttpRequestTrailerMatchInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HttpRequestTrailerMatchInputMultiError) Error ¶ added in v0.10.0
func (m HttpRequestTrailerMatchInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HttpRequestTrailerMatchInputValidationError ¶ added in v0.9.9
type HttpRequestTrailerMatchInputValidationError struct {
// contains filtered or unexported fields
}
HttpRequestTrailerMatchInputValidationError is the validation error returned by HttpRequestTrailerMatchInput.Validate if the designated constraints aren't met.
func (HttpRequestTrailerMatchInputValidationError) Cause ¶ added in v0.9.9
func (e HttpRequestTrailerMatchInputValidationError) Cause() error
Cause function returns cause value.
func (HttpRequestTrailerMatchInputValidationError) Error ¶ added in v0.9.9
func (e HttpRequestTrailerMatchInputValidationError) Error() string
Error satisfies the builtin error interface
func (HttpRequestTrailerMatchInputValidationError) ErrorName ¶ added in v0.9.9
func (e HttpRequestTrailerMatchInputValidationError) ErrorName() string
ErrorName returns error name.
func (HttpRequestTrailerMatchInputValidationError) Field ¶ added in v0.9.9
func (e HttpRequestTrailerMatchInputValidationError) Field() string
Field function returns field value.
func (HttpRequestTrailerMatchInputValidationError) Key ¶ added in v0.9.9
func (e HttpRequestTrailerMatchInputValidationError) Key() bool
Key function returns key value.
func (HttpRequestTrailerMatchInputValidationError) Reason ¶ added in v0.9.9
func (e HttpRequestTrailerMatchInputValidationError) Reason() string
Reason function returns reason value.
type HttpResponseHeaderMatchInput ¶ added in v0.9.9
type HttpResponseHeaderMatchInput struct { // The response header to match on. HeaderName string `protobuf:"bytes,1,opt,name=header_name,json=headerName,proto3" json:"header_name,omitempty"` // contains filtered or unexported fields }
Match input indicating that matching should be done on a specific response header. The resulting input string will be all headers for the given key joined by a comma, e.g. if the response contains two 'foo' headers with value 'bar' and 'baz', the input string will be 'bar,baz'. [#comment:TODO(snowp): Link to unified matching docs.] [#extension: envoy.matching.inputs.response_headers]
func (*HttpResponseHeaderMatchInput) Descriptor
deprecated
added in
v0.9.9
func (*HttpResponseHeaderMatchInput) Descriptor() ([]byte, []int)
Deprecated: Use HttpResponseHeaderMatchInput.ProtoReflect.Descriptor instead.
func (*HttpResponseHeaderMatchInput) GetHeaderName ¶ added in v0.9.9
func (x *HttpResponseHeaderMatchInput) GetHeaderName() string
func (*HttpResponseHeaderMatchInput) ProtoMessage ¶ added in v0.9.9
func (*HttpResponseHeaderMatchInput) ProtoMessage()
func (*HttpResponseHeaderMatchInput) ProtoReflect ¶ added in v0.9.9
func (x *HttpResponseHeaderMatchInput) ProtoReflect() protoreflect.Message
func (*HttpResponseHeaderMatchInput) Reset ¶ added in v0.9.9
func (x *HttpResponseHeaderMatchInput) Reset()
func (*HttpResponseHeaderMatchInput) String ¶ added in v0.9.9
func (x *HttpResponseHeaderMatchInput) String() string
func (*HttpResponseHeaderMatchInput) Validate ¶ added in v0.9.9
func (m *HttpResponseHeaderMatchInput) Validate() error
Validate checks the field values on HttpResponseHeaderMatchInput 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 (*HttpResponseHeaderMatchInput) ValidateAll ¶ added in v0.10.0
func (m *HttpResponseHeaderMatchInput) ValidateAll() error
ValidateAll checks the field values on HttpResponseHeaderMatchInput 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 HttpResponseHeaderMatchInputMultiError, or nil if none found.
type HttpResponseHeaderMatchInputMultiError ¶ added in v0.10.0
type HttpResponseHeaderMatchInputMultiError []error
HttpResponseHeaderMatchInputMultiError is an error wrapping multiple validation errors returned by HttpResponseHeaderMatchInput.ValidateAll() if the designated constraints aren't met.
func (HttpResponseHeaderMatchInputMultiError) AllErrors ¶ added in v0.10.0
func (m HttpResponseHeaderMatchInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HttpResponseHeaderMatchInputMultiError) Error ¶ added in v0.10.0
func (m HttpResponseHeaderMatchInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HttpResponseHeaderMatchInputValidationError ¶ added in v0.9.9
type HttpResponseHeaderMatchInputValidationError struct {
// contains filtered or unexported fields
}
HttpResponseHeaderMatchInputValidationError is the validation error returned by HttpResponseHeaderMatchInput.Validate if the designated constraints aren't met.
func (HttpResponseHeaderMatchInputValidationError) Cause ¶ added in v0.9.9
func (e HttpResponseHeaderMatchInputValidationError) Cause() error
Cause function returns cause value.
func (HttpResponseHeaderMatchInputValidationError) Error ¶ added in v0.9.9
func (e HttpResponseHeaderMatchInputValidationError) Error() string
Error satisfies the builtin error interface
func (HttpResponseHeaderMatchInputValidationError) ErrorName ¶ added in v0.9.9
func (e HttpResponseHeaderMatchInputValidationError) ErrorName() string
ErrorName returns error name.
func (HttpResponseHeaderMatchInputValidationError) Field ¶ added in v0.9.9
func (e HttpResponseHeaderMatchInputValidationError) Field() string
Field function returns field value.
func (HttpResponseHeaderMatchInputValidationError) Key ¶ added in v0.9.9
func (e HttpResponseHeaderMatchInputValidationError) Key() bool
Key function returns key value.
func (HttpResponseHeaderMatchInputValidationError) Reason ¶ added in v0.9.9
func (e HttpResponseHeaderMatchInputValidationError) Reason() string
Reason function returns reason value.
type HttpResponseStatusCodeClassMatchInput ¶ added in v0.11.0
type HttpResponseStatusCodeClassMatchInput struct {
// contains filtered or unexported fields
}
Match input indicates that the matching should be done on the class of the response status code. For eg: 1xx, 2xx, 3xx, 4xx or 5xx.
func (*HttpResponseStatusCodeClassMatchInput) Descriptor
deprecated
added in
v0.11.0
func (*HttpResponseStatusCodeClassMatchInput) Descriptor() ([]byte, []int)
Deprecated: Use HttpResponseStatusCodeClassMatchInput.ProtoReflect.Descriptor instead.
func (*HttpResponseStatusCodeClassMatchInput) ProtoMessage ¶ added in v0.11.0
func (*HttpResponseStatusCodeClassMatchInput) ProtoMessage()
func (*HttpResponseStatusCodeClassMatchInput) ProtoReflect ¶ added in v0.11.0
func (x *HttpResponseStatusCodeClassMatchInput) ProtoReflect() protoreflect.Message
func (*HttpResponseStatusCodeClassMatchInput) Reset ¶ added in v0.11.0
func (x *HttpResponseStatusCodeClassMatchInput) Reset()
func (*HttpResponseStatusCodeClassMatchInput) String ¶ added in v0.11.0
func (x *HttpResponseStatusCodeClassMatchInput) String() string
func (*HttpResponseStatusCodeClassMatchInput) Validate ¶ added in v0.11.0
func (m *HttpResponseStatusCodeClassMatchInput) Validate() error
Validate checks the field values on HttpResponseStatusCodeClassMatchInput 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 (*HttpResponseStatusCodeClassMatchInput) ValidateAll ¶ added in v0.11.0
func (m *HttpResponseStatusCodeClassMatchInput) ValidateAll() error
ValidateAll checks the field values on HttpResponseStatusCodeClassMatchInput 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 HttpResponseStatusCodeClassMatchInputMultiError, or nil if none found.
type HttpResponseStatusCodeClassMatchInputMultiError ¶ added in v0.11.0
type HttpResponseStatusCodeClassMatchInputMultiError []error
HttpResponseStatusCodeClassMatchInputMultiError is an error wrapping multiple validation errors returned by HttpResponseStatusCodeClassMatchInput.ValidateAll() if the designated constraints aren't met.
func (HttpResponseStatusCodeClassMatchInputMultiError) AllErrors ¶ added in v0.11.0
func (m HttpResponseStatusCodeClassMatchInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HttpResponseStatusCodeClassMatchInputMultiError) Error ¶ added in v0.11.0
func (m HttpResponseStatusCodeClassMatchInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HttpResponseStatusCodeClassMatchInputValidationError ¶ added in v0.11.0
type HttpResponseStatusCodeClassMatchInputValidationError struct {
// contains filtered or unexported fields
}
HttpResponseStatusCodeClassMatchInputValidationError is the validation error returned by HttpResponseStatusCodeClassMatchInput.Validate if the designated constraints aren't met.
func (HttpResponseStatusCodeClassMatchInputValidationError) Cause ¶ added in v0.11.0
func (e HttpResponseStatusCodeClassMatchInputValidationError) Cause() error
Cause function returns cause value.
func (HttpResponseStatusCodeClassMatchInputValidationError) Error ¶ added in v0.11.0
func (e HttpResponseStatusCodeClassMatchInputValidationError) Error() string
Error satisfies the builtin error interface
func (HttpResponseStatusCodeClassMatchInputValidationError) ErrorName ¶ added in v0.11.0
func (e HttpResponseStatusCodeClassMatchInputValidationError) ErrorName() string
ErrorName returns error name.
func (HttpResponseStatusCodeClassMatchInputValidationError) Field ¶ added in v0.11.0
func (e HttpResponseStatusCodeClassMatchInputValidationError) Field() string
Field function returns field value.
func (HttpResponseStatusCodeClassMatchInputValidationError) Key ¶ added in v0.11.0
func (e HttpResponseStatusCodeClassMatchInputValidationError) Key() bool
Key function returns key value.
func (HttpResponseStatusCodeClassMatchInputValidationError) Reason ¶ added in v0.11.0
func (e HttpResponseStatusCodeClassMatchInputValidationError) Reason() string
Reason function returns reason value.
type HttpResponseStatusCodeMatchInput ¶ added in v0.11.0
type HttpResponseStatusCodeMatchInput struct {
// contains filtered or unexported fields
}
Match input indicates that matching should be done on the response status code.
func (*HttpResponseStatusCodeMatchInput) Descriptor
deprecated
added in
v0.11.0
func (*HttpResponseStatusCodeMatchInput) Descriptor() ([]byte, []int)
Deprecated: Use HttpResponseStatusCodeMatchInput.ProtoReflect.Descriptor instead.
func (*HttpResponseStatusCodeMatchInput) ProtoMessage ¶ added in v0.11.0
func (*HttpResponseStatusCodeMatchInput) ProtoMessage()
func (*HttpResponseStatusCodeMatchInput) ProtoReflect ¶ added in v0.11.0
func (x *HttpResponseStatusCodeMatchInput) ProtoReflect() protoreflect.Message
func (*HttpResponseStatusCodeMatchInput) Reset ¶ added in v0.11.0
func (x *HttpResponseStatusCodeMatchInput) Reset()
func (*HttpResponseStatusCodeMatchInput) String ¶ added in v0.11.0
func (x *HttpResponseStatusCodeMatchInput) String() string
func (*HttpResponseStatusCodeMatchInput) Validate ¶ added in v0.11.0
func (m *HttpResponseStatusCodeMatchInput) Validate() error
Validate checks the field values on HttpResponseStatusCodeMatchInput 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 (*HttpResponseStatusCodeMatchInput) ValidateAll ¶ added in v0.11.0
func (m *HttpResponseStatusCodeMatchInput) ValidateAll() error
ValidateAll checks the field values on HttpResponseStatusCodeMatchInput 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 HttpResponseStatusCodeMatchInputMultiError, or nil if none found.
type HttpResponseStatusCodeMatchInputMultiError ¶ added in v0.11.0
type HttpResponseStatusCodeMatchInputMultiError []error
HttpResponseStatusCodeMatchInputMultiError is an error wrapping multiple validation errors returned by HttpResponseStatusCodeMatchInput.ValidateAll() if the designated constraints aren't met.
func (HttpResponseStatusCodeMatchInputMultiError) AllErrors ¶ added in v0.11.0
func (m HttpResponseStatusCodeMatchInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HttpResponseStatusCodeMatchInputMultiError) Error ¶ added in v0.11.0
func (m HttpResponseStatusCodeMatchInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HttpResponseStatusCodeMatchInputValidationError ¶ added in v0.11.0
type HttpResponseStatusCodeMatchInputValidationError struct {
// contains filtered or unexported fields
}
HttpResponseStatusCodeMatchInputValidationError is the validation error returned by HttpResponseStatusCodeMatchInput.Validate if the designated constraints aren't met.
func (HttpResponseStatusCodeMatchInputValidationError) Cause ¶ added in v0.11.0
func (e HttpResponseStatusCodeMatchInputValidationError) Cause() error
Cause function returns cause value.
func (HttpResponseStatusCodeMatchInputValidationError) Error ¶ added in v0.11.0
func (e HttpResponseStatusCodeMatchInputValidationError) Error() string
Error satisfies the builtin error interface
func (HttpResponseStatusCodeMatchInputValidationError) ErrorName ¶ added in v0.11.0
func (e HttpResponseStatusCodeMatchInputValidationError) ErrorName() string
ErrorName returns error name.
func (HttpResponseStatusCodeMatchInputValidationError) Field ¶ added in v0.11.0
func (e HttpResponseStatusCodeMatchInputValidationError) Field() string
Field function returns field value.
func (HttpResponseStatusCodeMatchInputValidationError) Key ¶ added in v0.11.0
func (e HttpResponseStatusCodeMatchInputValidationError) Key() bool
Key function returns key value.
func (HttpResponseStatusCodeMatchInputValidationError) Reason ¶ added in v0.11.0
func (e HttpResponseStatusCodeMatchInputValidationError) Reason() string
Reason function returns reason value.
type HttpResponseTrailerMatchInput ¶ added in v0.9.9
type HttpResponseTrailerMatchInput struct { // The response trailer to match on. HeaderName string `protobuf:"bytes,1,opt,name=header_name,json=headerName,proto3" json:"header_name,omitempty"` // contains filtered or unexported fields }
Match input indicates that matching should be done on a specific response trailer. The resulting input string will be all headers for the given key joined by a comma, e.g. if the request contains two 'foo' headers with value 'bar' and 'baz', the input string will be 'bar,baz'. [#comment:TODO(snowp): Link to unified matching docs.] [#extension: envoy.matching.inputs.response_trailers]
func (*HttpResponseTrailerMatchInput) Descriptor
deprecated
added in
v0.9.9
func (*HttpResponseTrailerMatchInput) Descriptor() ([]byte, []int)
Deprecated: Use HttpResponseTrailerMatchInput.ProtoReflect.Descriptor instead.
func (*HttpResponseTrailerMatchInput) GetHeaderName ¶ added in v0.9.9
func (x *HttpResponseTrailerMatchInput) GetHeaderName() string
func (*HttpResponseTrailerMatchInput) ProtoMessage ¶ added in v0.9.9
func (*HttpResponseTrailerMatchInput) ProtoMessage()
func (*HttpResponseTrailerMatchInput) ProtoReflect ¶ added in v0.9.9
func (x *HttpResponseTrailerMatchInput) ProtoReflect() protoreflect.Message
func (*HttpResponseTrailerMatchInput) Reset ¶ added in v0.9.9
func (x *HttpResponseTrailerMatchInput) Reset()
func (*HttpResponseTrailerMatchInput) String ¶ added in v0.9.9
func (x *HttpResponseTrailerMatchInput) String() string
func (*HttpResponseTrailerMatchInput) Validate ¶ added in v0.9.9
func (m *HttpResponseTrailerMatchInput) Validate() error
Validate checks the field values on HttpResponseTrailerMatchInput 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 (*HttpResponseTrailerMatchInput) ValidateAll ¶ added in v0.10.0
func (m *HttpResponseTrailerMatchInput) ValidateAll() error
ValidateAll checks the field values on HttpResponseTrailerMatchInput 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 HttpResponseTrailerMatchInputMultiError, or nil if none found.
type HttpResponseTrailerMatchInputMultiError ¶ added in v0.10.0
type HttpResponseTrailerMatchInputMultiError []error
HttpResponseTrailerMatchInputMultiError is an error wrapping multiple validation errors returned by HttpResponseTrailerMatchInput.ValidateAll() if the designated constraints aren't met.
func (HttpResponseTrailerMatchInputMultiError) AllErrors ¶ added in v0.10.0
func (m HttpResponseTrailerMatchInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HttpResponseTrailerMatchInputMultiError) Error ¶ added in v0.10.0
func (m HttpResponseTrailerMatchInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HttpResponseTrailerMatchInputValidationError ¶ added in v0.9.9
type HttpResponseTrailerMatchInputValidationError struct {
// contains filtered or unexported fields
}
HttpResponseTrailerMatchInputValidationError is the validation error returned by HttpResponseTrailerMatchInput.Validate if the designated constraints aren't met.
func (HttpResponseTrailerMatchInputValidationError) Cause ¶ added in v0.9.9
func (e HttpResponseTrailerMatchInputValidationError) Cause() error
Cause function returns cause value.
func (HttpResponseTrailerMatchInputValidationError) Error ¶ added in v0.9.9
func (e HttpResponseTrailerMatchInputValidationError) Error() string
Error satisfies the builtin error interface
func (HttpResponseTrailerMatchInputValidationError) ErrorName ¶ added in v0.9.9
func (e HttpResponseTrailerMatchInputValidationError) ErrorName() string
ErrorName returns error name.
func (HttpResponseTrailerMatchInputValidationError) Field ¶ added in v0.9.9
func (e HttpResponseTrailerMatchInputValidationError) Field() string
Field function returns field value.
func (HttpResponseTrailerMatchInputValidationError) Key ¶ added in v0.9.9
func (e HttpResponseTrailerMatchInputValidationError) Key() bool
Key function returns key value.
func (HttpResponseTrailerMatchInputValidationError) Reason ¶ added in v0.9.9
func (e HttpResponseTrailerMatchInputValidationError) Reason() string
Reason function returns reason value.
type ListMatcher ¶
type ListMatcher struct { // Types that are assignable to MatchPattern: // *ListMatcher_OneOf MatchPattern isListMatcher_MatchPattern `protobuf_oneof:"match_pattern"` // contains filtered or unexported fields }
Specifies the way to match a list value.
func (*ListMatcher) Descriptor
deprecated
func (*ListMatcher) Descriptor() ([]byte, []int)
Deprecated: Use ListMatcher.ProtoReflect.Descriptor instead.
func (*ListMatcher) GetMatchPattern ¶
func (m *ListMatcher) GetMatchPattern() isListMatcher_MatchPattern
func (*ListMatcher) GetOneOf ¶
func (x *ListMatcher) GetOneOf() *ValueMatcher
func (*ListMatcher) ProtoMessage ¶
func (*ListMatcher) ProtoMessage()
func (*ListMatcher) ProtoReflect ¶ added in v0.9.6
func (x *ListMatcher) ProtoReflect() protoreflect.Message
func (*ListMatcher) Reset ¶
func (x *ListMatcher) Reset()
func (*ListMatcher) String ¶
func (x *ListMatcher) String() string
func (*ListMatcher) Validate ¶
func (m *ListMatcher) Validate() error
Validate checks the field values on ListMatcher 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 (*ListMatcher) ValidateAll ¶ added in v0.10.0
func (m *ListMatcher) ValidateAll() error
ValidateAll checks the field values on ListMatcher 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 ListMatcherMultiError, or nil if none found.
type ListMatcherMultiError ¶ added in v0.10.0
type ListMatcherMultiError []error
ListMatcherMultiError is an error wrapping multiple validation errors returned by ListMatcher.ValidateAll() if the designated constraints aren't met.
func (ListMatcherMultiError) AllErrors ¶ added in v0.10.0
func (m ListMatcherMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListMatcherMultiError) Error ¶ added in v0.10.0
func (m ListMatcherMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListMatcherValidationError ¶
type ListMatcherValidationError struct {
// contains filtered or unexported fields
}
ListMatcherValidationError is the validation error returned by ListMatcher.Validate if the designated constraints aren't met.
func (ListMatcherValidationError) Cause ¶
func (e ListMatcherValidationError) Cause() error
Cause function returns cause value.
func (ListMatcherValidationError) Error ¶
func (e ListMatcherValidationError) Error() string
Error satisfies the builtin error interface
func (ListMatcherValidationError) ErrorName ¶
func (e ListMatcherValidationError) ErrorName() string
ErrorName returns error name.
func (ListMatcherValidationError) Field ¶
func (e ListMatcherValidationError) Field() string
Field function returns field value.
func (ListMatcherValidationError) Key ¶
func (e ListMatcherValidationError) Key() bool
Key function returns key value.
func (ListMatcherValidationError) Reason ¶
func (e ListMatcherValidationError) Reason() string
Reason function returns reason value.
type ListMatcher_OneOf ¶
type ListMatcher_OneOf struct { // If specified, at least one of the values in the list must match the value specified. OneOf *ValueMatcher `protobuf:"bytes,1,opt,name=one_of,json=oneOf,proto3,oneof"` }
type ListStringMatcher ¶
type ListStringMatcher struct { Patterns []*StringMatcher `protobuf:"bytes,1,rep,name=patterns,proto3" json:"patterns,omitempty"` // contains filtered or unexported fields }
Specifies a list of ways to match a string.
func (*ListStringMatcher) Descriptor
deprecated
func (*ListStringMatcher) Descriptor() ([]byte, []int)
Deprecated: Use ListStringMatcher.ProtoReflect.Descriptor instead.
func (*ListStringMatcher) GetPatterns ¶
func (x *ListStringMatcher) GetPatterns() []*StringMatcher
func (*ListStringMatcher) ProtoMessage ¶
func (*ListStringMatcher) ProtoMessage()
func (*ListStringMatcher) ProtoReflect ¶ added in v0.9.6
func (x *ListStringMatcher) ProtoReflect() protoreflect.Message
func (*ListStringMatcher) Reset ¶
func (x *ListStringMatcher) Reset()
func (*ListStringMatcher) String ¶
func (x *ListStringMatcher) String() string
func (*ListStringMatcher) Validate ¶
func (m *ListStringMatcher) Validate() error
Validate checks the field values on ListStringMatcher 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 (*ListStringMatcher) ValidateAll ¶ added in v0.10.0
func (m *ListStringMatcher) ValidateAll() error
ValidateAll checks the field values on ListStringMatcher 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 ListStringMatcherMultiError, or nil if none found.
type ListStringMatcherMultiError ¶ added in v0.10.0
type ListStringMatcherMultiError []error
ListStringMatcherMultiError is an error wrapping multiple validation errors returned by ListStringMatcher.ValidateAll() if the designated constraints aren't met.
func (ListStringMatcherMultiError) AllErrors ¶ added in v0.10.0
func (m ListStringMatcherMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListStringMatcherMultiError) Error ¶ added in v0.10.0
func (m ListStringMatcherMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListStringMatcherValidationError ¶
type ListStringMatcherValidationError struct {
// contains filtered or unexported fields
}
ListStringMatcherValidationError is the validation error returned by ListStringMatcher.Validate if the designated constraints aren't met.
func (ListStringMatcherValidationError) Cause ¶
func (e ListStringMatcherValidationError) Cause() error
Cause function returns cause value.
func (ListStringMatcherValidationError) Error ¶
func (e ListStringMatcherValidationError) Error() string
Error satisfies the builtin error interface
func (ListStringMatcherValidationError) ErrorName ¶
func (e ListStringMatcherValidationError) ErrorName() string
ErrorName returns error name.
func (ListStringMatcherValidationError) Field ¶
func (e ListStringMatcherValidationError) Field() string
Field function returns field value.
func (ListStringMatcherValidationError) Key ¶
func (e ListStringMatcherValidationError) Key() bool
Key function returns key value.
func (ListStringMatcherValidationError) Reason ¶
func (e ListStringMatcherValidationError) Reason() string
Reason function returns reason value.
type MetadataMatcher ¶
type MetadataMatcher struct { // The filter name to retrieve the Struct from the Metadata. Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` // The path to retrieve the Value from the Struct. Path []*MetadataMatcher_PathSegment `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"` // The MetadataMatcher is matched if the value retrieved by path is matched to this value. Value *ValueMatcher `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // If true, the match result will be inverted. Invert bool `protobuf:"varint,4,opt,name=invert,proto3" json:"invert,omitempty"` // contains filtered or unexported fields }
[#next-major-version: MetadataMatcher should use StructMatcher]
func (*MetadataMatcher) Descriptor
deprecated
func (*MetadataMatcher) Descriptor() ([]byte, []int)
Deprecated: Use MetadataMatcher.ProtoReflect.Descriptor instead.
func (*MetadataMatcher) GetFilter ¶
func (x *MetadataMatcher) GetFilter() string
func (*MetadataMatcher) GetInvert ¶ added in v0.10.0
func (x *MetadataMatcher) GetInvert() bool
func (*MetadataMatcher) GetPath ¶
func (x *MetadataMatcher) GetPath() []*MetadataMatcher_PathSegment
func (*MetadataMatcher) GetValue ¶
func (x *MetadataMatcher) GetValue() *ValueMatcher
func (*MetadataMatcher) ProtoMessage ¶
func (*MetadataMatcher) ProtoMessage()
func (*MetadataMatcher) ProtoReflect ¶ added in v0.9.6
func (x *MetadataMatcher) ProtoReflect() protoreflect.Message
func (*MetadataMatcher) Reset ¶
func (x *MetadataMatcher) Reset()
func (*MetadataMatcher) String ¶
func (x *MetadataMatcher) String() string
func (*MetadataMatcher) Validate ¶
func (m *MetadataMatcher) Validate() error
Validate checks the field values on MetadataMatcher 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 (*MetadataMatcher) ValidateAll ¶ added in v0.10.0
func (m *MetadataMatcher) ValidateAll() error
ValidateAll checks the field values on MetadataMatcher 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 MetadataMatcherMultiError, or nil if none found.
type MetadataMatcherMultiError ¶ added in v0.10.0
type MetadataMatcherMultiError []error
MetadataMatcherMultiError is an error wrapping multiple validation errors returned by MetadataMatcher.ValidateAll() if the designated constraints aren't met.
func (MetadataMatcherMultiError) AllErrors ¶ added in v0.10.0
func (m MetadataMatcherMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MetadataMatcherMultiError) Error ¶ added in v0.10.0
func (m MetadataMatcherMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MetadataMatcherValidationError ¶
type MetadataMatcherValidationError struct {
// contains filtered or unexported fields
}
MetadataMatcherValidationError is the validation error returned by MetadataMatcher.Validate if the designated constraints aren't met.
func (MetadataMatcherValidationError) Cause ¶
func (e MetadataMatcherValidationError) Cause() error
Cause function returns cause value.
func (MetadataMatcherValidationError) Error ¶
func (e MetadataMatcherValidationError) Error() string
Error satisfies the builtin error interface
func (MetadataMatcherValidationError) ErrorName ¶
func (e MetadataMatcherValidationError) ErrorName() string
ErrorName returns error name.
func (MetadataMatcherValidationError) Field ¶
func (e MetadataMatcherValidationError) Field() string
Field function returns field value.
func (MetadataMatcherValidationError) Key ¶
func (e MetadataMatcherValidationError) Key() bool
Key function returns key value.
func (MetadataMatcherValidationError) Reason ¶
func (e MetadataMatcherValidationError) Reason() string
Reason function returns reason value.
type MetadataMatcher_PathSegment ¶
type MetadataMatcher_PathSegment struct { // Types that are assignable to Segment: // *MetadataMatcher_PathSegment_Key Segment isMetadataMatcher_PathSegment_Segment `protobuf_oneof:"segment"` // contains filtered or unexported fields }
Specifies the segment in a path to retrieve value from Metadata. Note: Currently it's not supported to retrieve a value from a list in Metadata. This means that if the segment key refers to a list, it has to be the last segment in a path.
func (*MetadataMatcher_PathSegment) Descriptor
deprecated
func (*MetadataMatcher_PathSegment) Descriptor() ([]byte, []int)
Deprecated: Use MetadataMatcher_PathSegment.ProtoReflect.Descriptor instead.
func (*MetadataMatcher_PathSegment) GetKey ¶
func (x *MetadataMatcher_PathSegment) GetKey() string
func (*MetadataMatcher_PathSegment) GetSegment ¶
func (m *MetadataMatcher_PathSegment) GetSegment() isMetadataMatcher_PathSegment_Segment
func (*MetadataMatcher_PathSegment) ProtoMessage ¶
func (*MetadataMatcher_PathSegment) ProtoMessage()
func (*MetadataMatcher_PathSegment) ProtoReflect ¶ added in v0.9.6
func (x *MetadataMatcher_PathSegment) ProtoReflect() protoreflect.Message
func (*MetadataMatcher_PathSegment) Reset ¶
func (x *MetadataMatcher_PathSegment) Reset()
func (*MetadataMatcher_PathSegment) String ¶
func (x *MetadataMatcher_PathSegment) String() string
func (*MetadataMatcher_PathSegment) Validate ¶
func (m *MetadataMatcher_PathSegment) Validate() error
Validate checks the field values on MetadataMatcher_PathSegment 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 (*MetadataMatcher_PathSegment) ValidateAll ¶ added in v0.10.0
func (m *MetadataMatcher_PathSegment) ValidateAll() error
ValidateAll checks the field values on MetadataMatcher_PathSegment 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 MetadataMatcher_PathSegmentMultiError, or nil if none found.
type MetadataMatcher_PathSegmentMultiError ¶ added in v0.10.0
type MetadataMatcher_PathSegmentMultiError []error
MetadataMatcher_PathSegmentMultiError is an error wrapping multiple validation errors returned by MetadataMatcher_PathSegment.ValidateAll() if the designated constraints aren't met.
func (MetadataMatcher_PathSegmentMultiError) AllErrors ¶ added in v0.10.0
func (m MetadataMatcher_PathSegmentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MetadataMatcher_PathSegmentMultiError) Error ¶ added in v0.10.0
func (m MetadataMatcher_PathSegmentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MetadataMatcher_PathSegmentValidationError ¶
type MetadataMatcher_PathSegmentValidationError struct {
// contains filtered or unexported fields
}
MetadataMatcher_PathSegmentValidationError is the validation error returned by MetadataMatcher_PathSegment.Validate if the designated constraints aren't met.
func (MetadataMatcher_PathSegmentValidationError) Cause ¶
func (e MetadataMatcher_PathSegmentValidationError) Cause() error
Cause function returns cause value.
func (MetadataMatcher_PathSegmentValidationError) Error ¶
func (e MetadataMatcher_PathSegmentValidationError) Error() string
Error satisfies the builtin error interface
func (MetadataMatcher_PathSegmentValidationError) ErrorName ¶
func (e MetadataMatcher_PathSegmentValidationError) ErrorName() string
ErrorName returns error name.
func (MetadataMatcher_PathSegmentValidationError) Field ¶
func (e MetadataMatcher_PathSegmentValidationError) Field() string
Field function returns field value.
func (MetadataMatcher_PathSegmentValidationError) Key ¶
func (e MetadataMatcher_PathSegmentValidationError) Key() bool
Key function returns key value.
func (MetadataMatcher_PathSegmentValidationError) Reason ¶
func (e MetadataMatcher_PathSegmentValidationError) Reason() string
Reason function returns reason value.
type MetadataMatcher_PathSegment_Key ¶
type MetadataMatcher_PathSegment_Key struct { // If specified, use the key to retrieve the value in a Struct. Key string `protobuf:"bytes,1,opt,name=key,proto3,oneof"` }
type NodeMatcher ¶
type NodeMatcher struct { // Specifies match criteria on the node id. NodeId *StringMatcher `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // Specifies match criteria on the node metadata. NodeMetadatas []*StructMatcher `protobuf:"bytes,2,rep,name=node_metadatas,json=nodeMetadatas,proto3" json:"node_metadatas,omitempty"` // contains filtered or unexported fields }
Specifies the way to match a Node. The match follows AND semantics.
func (*NodeMatcher) Descriptor
deprecated
func (*NodeMatcher) Descriptor() ([]byte, []int)
Deprecated: Use NodeMatcher.ProtoReflect.Descriptor instead.
func (*NodeMatcher) GetNodeId ¶
func (x *NodeMatcher) GetNodeId() *StringMatcher
func (*NodeMatcher) GetNodeMetadatas ¶
func (x *NodeMatcher) GetNodeMetadatas() []*StructMatcher
func (*NodeMatcher) ProtoMessage ¶
func (*NodeMatcher) ProtoMessage()
func (*NodeMatcher) ProtoReflect ¶ added in v0.9.6
func (x *NodeMatcher) ProtoReflect() protoreflect.Message
func (*NodeMatcher) Reset ¶
func (x *NodeMatcher) Reset()
func (*NodeMatcher) String ¶
func (x *NodeMatcher) String() string
func (*NodeMatcher) Validate ¶
func (m *NodeMatcher) Validate() error
Validate checks the field values on NodeMatcher 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 (*NodeMatcher) ValidateAll ¶ added in v0.10.0
func (m *NodeMatcher) ValidateAll() error
ValidateAll checks the field values on NodeMatcher 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 NodeMatcherMultiError, or nil if none found.
type NodeMatcherMultiError ¶ added in v0.10.0
type NodeMatcherMultiError []error
NodeMatcherMultiError is an error wrapping multiple validation errors returned by NodeMatcher.ValidateAll() if the designated constraints aren't met.
func (NodeMatcherMultiError) AllErrors ¶ added in v0.10.0
func (m NodeMatcherMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NodeMatcherMultiError) Error ¶ added in v0.10.0
func (m NodeMatcherMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NodeMatcherValidationError ¶
type NodeMatcherValidationError struct {
// contains filtered or unexported fields
}
NodeMatcherValidationError is the validation error returned by NodeMatcher.Validate if the designated constraints aren't met.
func (NodeMatcherValidationError) Cause ¶
func (e NodeMatcherValidationError) Cause() error
Cause function returns cause value.
func (NodeMatcherValidationError) Error ¶
func (e NodeMatcherValidationError) Error() string
Error satisfies the builtin error interface
func (NodeMatcherValidationError) ErrorName ¶
func (e NodeMatcherValidationError) ErrorName() string
ErrorName returns error name.
func (NodeMatcherValidationError) Field ¶
func (e NodeMatcherValidationError) Field() string
Field function returns field value.
func (NodeMatcherValidationError) Key ¶
func (e NodeMatcherValidationError) Key() bool
Key function returns key value.
func (NodeMatcherValidationError) Reason ¶
func (e NodeMatcherValidationError) Reason() string
Reason function returns reason value.
type PathMatcher ¶ added in v0.9.4
type PathMatcher struct { // Types that are assignable to Rule: // *PathMatcher_Path Rule isPathMatcher_Rule `protobuf_oneof:"rule"` // contains filtered or unexported fields }
Specifies the way to match a path on HTTP request.
func (*PathMatcher) Descriptor
deprecated
added in
v0.9.4
func (*PathMatcher) Descriptor() ([]byte, []int)
Deprecated: Use PathMatcher.ProtoReflect.Descriptor instead.
func (*PathMatcher) GetPath ¶ added in v0.9.4
func (x *PathMatcher) GetPath() *StringMatcher
func (*PathMatcher) GetRule ¶ added in v0.9.4
func (m *PathMatcher) GetRule() isPathMatcher_Rule
func (*PathMatcher) ProtoMessage ¶ added in v0.9.4
func (*PathMatcher) ProtoMessage()
func (*PathMatcher) ProtoReflect ¶ added in v0.9.6
func (x *PathMatcher) ProtoReflect() protoreflect.Message
func (*PathMatcher) Reset ¶ added in v0.9.4
func (x *PathMatcher) Reset()
func (*PathMatcher) String ¶ added in v0.9.4
func (x *PathMatcher) String() string
func (*PathMatcher) Validate ¶ added in v0.9.4
func (m *PathMatcher) Validate() error
Validate checks the field values on PathMatcher 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 (*PathMatcher) ValidateAll ¶ added in v0.10.0
func (m *PathMatcher) ValidateAll() error
ValidateAll checks the field values on PathMatcher 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 PathMatcherMultiError, or nil if none found.
type PathMatcherMultiError ¶ added in v0.10.0
type PathMatcherMultiError []error
PathMatcherMultiError is an error wrapping multiple validation errors returned by PathMatcher.ValidateAll() if the designated constraints aren't met.
func (PathMatcherMultiError) AllErrors ¶ added in v0.10.0
func (m PathMatcherMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PathMatcherMultiError) Error ¶ added in v0.10.0
func (m PathMatcherMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PathMatcherValidationError ¶ added in v0.9.4
type PathMatcherValidationError struct {
// contains filtered or unexported fields
}
PathMatcherValidationError is the validation error returned by PathMatcher.Validate if the designated constraints aren't met.
func (PathMatcherValidationError) Cause ¶ added in v0.9.4
func (e PathMatcherValidationError) Cause() error
Cause function returns cause value.
func (PathMatcherValidationError) Error ¶ added in v0.9.4
func (e PathMatcherValidationError) Error() string
Error satisfies the builtin error interface
func (PathMatcherValidationError) ErrorName ¶ added in v0.9.4
func (e PathMatcherValidationError) ErrorName() string
ErrorName returns error name.
func (PathMatcherValidationError) Field ¶ added in v0.9.4
func (e PathMatcherValidationError) Field() string
Field function returns field value.
func (PathMatcherValidationError) Key ¶ added in v0.9.4
func (e PathMatcherValidationError) Key() bool
Key function returns key value.
func (PathMatcherValidationError) Reason ¶ added in v0.9.4
func (e PathMatcherValidationError) Reason() string
Reason function returns reason value.
type PathMatcher_Path ¶ added in v0.9.4
type PathMatcher_Path struct { // The “path“ must match the URL path portion of the :path header. The query and fragment // string (if present) are removed in the URL path portion. // For example, the path “/data“ will match the “:path“ header “/data#fragment?param=value“. Path *StringMatcher `protobuf:"bytes,1,opt,name=path,proto3,oneof"` }
type RegexMatchAndSubstitute ¶ added in v0.9.5
type RegexMatchAndSubstitute struct { // The regular expression used to find portions of a string (hereafter called // the "subject string") that should be replaced. When a new string is // produced during the substitution operation, the new string is initially // the same as the subject string, but then all matches in the subject string // are replaced by the substitution string. If replacing all matches isn't // desired, regular expression anchors can be used to ensure a single match, // so as to replace just one occurrence of a pattern. Capture groups can be // used in the pattern to extract portions of the subject string, and then // referenced in the substitution string. Pattern *RegexMatcher `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"` // The string that should be substituted into matching portions of the // subject string during a substitution operation to produce a new string. // Capture groups in the pattern can be referenced in the substitution // string. Note, however, that the syntax for referring to capture groups is // defined by the chosen regular expression engine. Google's `RE2 // <https://github.com/google/re2>`_ regular expression engine uses a // backslash followed by the capture group number to denote a numbered // capture group. E.g., “\1“ refers to capture group 1, and “\2“ refers // to capture group 2. Substitution string `protobuf:"bytes,2,opt,name=substitution,proto3" json:"substitution,omitempty"` // contains filtered or unexported fields }
Describes how to match a string and then produce a new string using a regular expression and a substitution string.
func (*RegexMatchAndSubstitute) Descriptor
deprecated
added in
v0.9.5
func (*RegexMatchAndSubstitute) Descriptor() ([]byte, []int)
Deprecated: Use RegexMatchAndSubstitute.ProtoReflect.Descriptor instead.
func (*RegexMatchAndSubstitute) GetPattern ¶ added in v0.9.5
func (x *RegexMatchAndSubstitute) GetPattern() *RegexMatcher
func (*RegexMatchAndSubstitute) GetSubstitution ¶ added in v0.9.5
func (x *RegexMatchAndSubstitute) GetSubstitution() string
func (*RegexMatchAndSubstitute) ProtoMessage ¶ added in v0.9.5
func (*RegexMatchAndSubstitute) ProtoMessage()
func (*RegexMatchAndSubstitute) ProtoReflect ¶ added in v0.9.6
func (x *RegexMatchAndSubstitute) ProtoReflect() protoreflect.Message
func (*RegexMatchAndSubstitute) Reset ¶ added in v0.9.5
func (x *RegexMatchAndSubstitute) Reset()
func (*RegexMatchAndSubstitute) String ¶ added in v0.9.5
func (x *RegexMatchAndSubstitute) String() string
func (*RegexMatchAndSubstitute) Validate ¶ added in v0.9.5
func (m *RegexMatchAndSubstitute) Validate() error
Validate checks the field values on RegexMatchAndSubstitute 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 (*RegexMatchAndSubstitute) ValidateAll ¶ added in v0.10.0
func (m *RegexMatchAndSubstitute) ValidateAll() error
ValidateAll checks the field values on RegexMatchAndSubstitute 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 RegexMatchAndSubstituteMultiError, or nil if none found.
type RegexMatchAndSubstituteMultiError ¶ added in v0.10.0
type RegexMatchAndSubstituteMultiError []error
RegexMatchAndSubstituteMultiError is an error wrapping multiple validation errors returned by RegexMatchAndSubstitute.ValidateAll() if the designated constraints aren't met.
func (RegexMatchAndSubstituteMultiError) AllErrors ¶ added in v0.10.0
func (m RegexMatchAndSubstituteMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegexMatchAndSubstituteMultiError) Error ¶ added in v0.10.0
func (m RegexMatchAndSubstituteMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegexMatchAndSubstituteValidationError ¶ added in v0.9.5
type RegexMatchAndSubstituteValidationError struct {
// contains filtered or unexported fields
}
RegexMatchAndSubstituteValidationError is the validation error returned by RegexMatchAndSubstitute.Validate if the designated constraints aren't met.
func (RegexMatchAndSubstituteValidationError) Cause ¶ added in v0.9.5
func (e RegexMatchAndSubstituteValidationError) Cause() error
Cause function returns cause value.
func (RegexMatchAndSubstituteValidationError) Error ¶ added in v0.9.5
func (e RegexMatchAndSubstituteValidationError) Error() string
Error satisfies the builtin error interface
func (RegexMatchAndSubstituteValidationError) ErrorName ¶ added in v0.9.5
func (e RegexMatchAndSubstituteValidationError) ErrorName() string
ErrorName returns error name.
func (RegexMatchAndSubstituteValidationError) Field ¶ added in v0.9.5
func (e RegexMatchAndSubstituteValidationError) Field() string
Field function returns field value.
func (RegexMatchAndSubstituteValidationError) Key ¶ added in v0.9.5
func (e RegexMatchAndSubstituteValidationError) Key() bool
Key function returns key value.
func (RegexMatchAndSubstituteValidationError) Reason ¶ added in v0.9.5
func (e RegexMatchAndSubstituteValidationError) Reason() string
Reason function returns reason value.
type RegexMatcher ¶
type RegexMatcher struct { // Types that are assignable to EngineType: // *RegexMatcher_GoogleRe2 EngineType isRegexMatcher_EngineType `protobuf_oneof:"engine_type"` // The regex match string. The string must be supported by the configured engine. The regex is matched // against the full string, not as a partial match. Regex string `protobuf:"bytes,2,opt,name=regex,proto3" json:"regex,omitempty"` // contains filtered or unexported fields }
A regex matcher designed for safety when used with untrusted input.
func (*RegexMatcher) Descriptor
deprecated
func (*RegexMatcher) Descriptor() ([]byte, []int)
Deprecated: Use RegexMatcher.ProtoReflect.Descriptor instead.
func (*RegexMatcher) GetEngineType ¶
func (m *RegexMatcher) GetEngineType() isRegexMatcher_EngineType
func (*RegexMatcher) GetGoogleRe2
deprecated
func (x *RegexMatcher) GetGoogleRe2() *RegexMatcher_GoogleRE2
Deprecated: Do not use.
func (*RegexMatcher) GetRegex ¶
func (x *RegexMatcher) GetRegex() string
func (*RegexMatcher) ProtoMessage ¶
func (*RegexMatcher) ProtoMessage()
func (*RegexMatcher) ProtoReflect ¶ added in v0.9.6
func (x *RegexMatcher) ProtoReflect() protoreflect.Message
func (*RegexMatcher) Reset ¶
func (x *RegexMatcher) Reset()
func (*RegexMatcher) String ¶
func (x *RegexMatcher) String() string
func (*RegexMatcher) Validate ¶
func (m *RegexMatcher) Validate() error
Validate checks the field values on RegexMatcher 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 (*RegexMatcher) ValidateAll ¶ added in v0.10.0
func (m *RegexMatcher) ValidateAll() error
ValidateAll checks the field values on RegexMatcher 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 RegexMatcherMultiError, or nil if none found.
type RegexMatcherMultiError ¶ added in v0.10.0
type RegexMatcherMultiError []error
RegexMatcherMultiError is an error wrapping multiple validation errors returned by RegexMatcher.ValidateAll() if the designated constraints aren't met.
func (RegexMatcherMultiError) AllErrors ¶ added in v0.10.0
func (m RegexMatcherMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegexMatcherMultiError) Error ¶ added in v0.10.0
func (m RegexMatcherMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegexMatcherValidationError ¶
type RegexMatcherValidationError struct {
// contains filtered or unexported fields
}
RegexMatcherValidationError is the validation error returned by RegexMatcher.Validate if the designated constraints aren't met.
func (RegexMatcherValidationError) Cause ¶
func (e RegexMatcherValidationError) Cause() error
Cause function returns cause value.
func (RegexMatcherValidationError) Error ¶
func (e RegexMatcherValidationError) Error() string
Error satisfies the builtin error interface
func (RegexMatcherValidationError) ErrorName ¶
func (e RegexMatcherValidationError) ErrorName() string
ErrorName returns error name.
func (RegexMatcherValidationError) Field ¶
func (e RegexMatcherValidationError) Field() string
Field function returns field value.
func (RegexMatcherValidationError) Key ¶
func (e RegexMatcherValidationError) Key() bool
Key function returns key value.
func (RegexMatcherValidationError) Reason ¶
func (e RegexMatcherValidationError) Reason() string
Reason function returns reason value.
type RegexMatcher_GoogleRE2 ¶
type RegexMatcher_GoogleRE2 struct { // This field controls the RE2 "program size" which is a rough estimate of how complex a // compiled regex is to evaluate. A regex that has a program size greater than the configured // value will fail to compile. In this case, the configured max program size can be increased // or the regex can be simplified. If not specified, the default is 100. // // This field is deprecated; regexp validation should be performed on the management server // instead of being done by each individual client. // // .. note:: // // Although this field is deprecated, the program size will still be checked against the // global “re2.max_program_size.error_level“ runtime value. // // // Deprecated: Do not use. MaxProgramSize *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=max_program_size,json=maxProgramSize,proto3" json:"max_program_size,omitempty"` // contains filtered or unexported fields }
Google's `RE2 <https://github.com/google/re2>`_ regex engine. The regex string must adhere to the documented `syntax <https://github.com/google/re2/wiki/Syntax>`_. The engine is designed to complete execution in linear time as well as limit the amount of memory used.
Envoy supports program size checking via runtime. The runtime keys “re2.max_program_size.error_level“ and “re2.max_program_size.warn_level“ can be set to integers as the maximum program size or complexity that a compiled regex can have before an exception is thrown or a warning is logged, respectively. “re2.max_program_size.error_level“ defaults to 100, and “re2.max_program_size.warn_level“ has no default if unset (will not check/log a warning).
Envoy emits two stats for tracking the program size of regexes: the histogram “re2.program_size“, which records the program size, and the counter “re2.exceeded_warn_level“, which is incremented each time the program size exceeds the warn level threshold.
func (*RegexMatcher_GoogleRE2) Descriptor
deprecated
func (*RegexMatcher_GoogleRE2) Descriptor() ([]byte, []int)
Deprecated: Use RegexMatcher_GoogleRE2.ProtoReflect.Descriptor instead.
func (*RegexMatcher_GoogleRE2) GetMaxProgramSize
deprecated
func (x *RegexMatcher_GoogleRE2) GetMaxProgramSize() *wrappers.UInt32Value
Deprecated: Do not use.
func (*RegexMatcher_GoogleRE2) ProtoMessage ¶
func (*RegexMatcher_GoogleRE2) ProtoMessage()
func (*RegexMatcher_GoogleRE2) ProtoReflect ¶ added in v0.9.6
func (x *RegexMatcher_GoogleRE2) ProtoReflect() protoreflect.Message
func (*RegexMatcher_GoogleRE2) Reset ¶
func (x *RegexMatcher_GoogleRE2) Reset()
func (*RegexMatcher_GoogleRE2) String ¶
func (x *RegexMatcher_GoogleRE2) String() string
func (*RegexMatcher_GoogleRE2) Validate ¶
func (m *RegexMatcher_GoogleRE2) Validate() error
Validate checks the field values on RegexMatcher_GoogleRE2 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 (*RegexMatcher_GoogleRE2) ValidateAll ¶ added in v0.10.0
func (m *RegexMatcher_GoogleRE2) ValidateAll() error
ValidateAll checks the field values on RegexMatcher_GoogleRE2 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 RegexMatcher_GoogleRE2MultiError, or nil if none found.
type RegexMatcher_GoogleRE2MultiError ¶ added in v0.10.0
type RegexMatcher_GoogleRE2MultiError []error
RegexMatcher_GoogleRE2MultiError is an error wrapping multiple validation errors returned by RegexMatcher_GoogleRE2.ValidateAll() if the designated constraints aren't met.
func (RegexMatcher_GoogleRE2MultiError) AllErrors ¶ added in v0.10.0
func (m RegexMatcher_GoogleRE2MultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegexMatcher_GoogleRE2MultiError) Error ¶ added in v0.10.0
func (m RegexMatcher_GoogleRE2MultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegexMatcher_GoogleRE2ValidationError ¶
type RegexMatcher_GoogleRE2ValidationError struct {
// contains filtered or unexported fields
}
RegexMatcher_GoogleRE2ValidationError is the validation error returned by RegexMatcher_GoogleRE2.Validate if the designated constraints aren't met.
func (RegexMatcher_GoogleRE2ValidationError) Cause ¶
func (e RegexMatcher_GoogleRE2ValidationError) Cause() error
Cause function returns cause value.
func (RegexMatcher_GoogleRE2ValidationError) Error ¶
func (e RegexMatcher_GoogleRE2ValidationError) Error() string
Error satisfies the builtin error interface
func (RegexMatcher_GoogleRE2ValidationError) ErrorName ¶
func (e RegexMatcher_GoogleRE2ValidationError) ErrorName() string
ErrorName returns error name.
func (RegexMatcher_GoogleRE2ValidationError) Field ¶
func (e RegexMatcher_GoogleRE2ValidationError) Field() string
Field function returns field value.
func (RegexMatcher_GoogleRE2ValidationError) Key ¶
func (e RegexMatcher_GoogleRE2ValidationError) Key() bool
Key function returns key value.
func (RegexMatcher_GoogleRE2ValidationError) Reason ¶
func (e RegexMatcher_GoogleRE2ValidationError) Reason() string
Reason function returns reason value.
type RegexMatcher_GoogleRe2 ¶
type RegexMatcher_GoogleRe2 struct { // Google's RE2 regex engine. // // Deprecated: Do not use. GoogleRe2 *RegexMatcher_GoogleRE2 `protobuf:"bytes,1,opt,name=google_re2,json=googleRe2,proto3,oneof"` }
type StringMatcher ¶
type StringMatcher struct { // Types that are assignable to MatchPattern: // *StringMatcher_Exact // *StringMatcher_Prefix // *StringMatcher_Suffix // *StringMatcher_SafeRegex // *StringMatcher_Contains MatchPattern isStringMatcher_MatchPattern `protobuf_oneof:"match_pattern"` // If true, indicates the exact/prefix/suffix/contains matching should be case insensitive. This // has no effect for the safe_regex match. // For example, the matcher “data“ will match both input string “Data“ and “data“ if set to true. IgnoreCase bool `protobuf:"varint,6,opt,name=ignore_case,json=ignoreCase,proto3" json:"ignore_case,omitempty"` // contains filtered or unexported fields }
Specifies the way to match a string. [#next-free-field: 8]
func (*StringMatcher) Descriptor
deprecated
func (*StringMatcher) Descriptor() ([]byte, []int)
Deprecated: Use StringMatcher.ProtoReflect.Descriptor instead.
func (*StringMatcher) GetContains ¶ added in v0.9.7
func (x *StringMatcher) GetContains() string
func (*StringMatcher) GetExact ¶
func (x *StringMatcher) GetExact() string
func (*StringMatcher) GetIgnoreCase ¶
func (x *StringMatcher) GetIgnoreCase() bool
func (*StringMatcher) GetMatchPattern ¶
func (m *StringMatcher) GetMatchPattern() isStringMatcher_MatchPattern
func (*StringMatcher) GetPrefix ¶
func (x *StringMatcher) GetPrefix() string
func (*StringMatcher) GetSafeRegex ¶
func (x *StringMatcher) GetSafeRegex() *RegexMatcher
func (*StringMatcher) GetSuffix ¶
func (x *StringMatcher) GetSuffix() string
func (*StringMatcher) ProtoMessage ¶
func (*StringMatcher) ProtoMessage()
func (*StringMatcher) ProtoReflect ¶ added in v0.9.6
func (x *StringMatcher) ProtoReflect() protoreflect.Message
func (*StringMatcher) Reset ¶
func (x *StringMatcher) Reset()
func (*StringMatcher) String ¶
func (x *StringMatcher) String() string
func (*StringMatcher) Validate ¶
func (m *StringMatcher) Validate() error
Validate checks the field values on StringMatcher 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 (*StringMatcher) ValidateAll ¶ added in v0.10.0
func (m *StringMatcher) ValidateAll() error
ValidateAll checks the field values on StringMatcher 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 StringMatcherMultiError, or nil if none found.
type StringMatcherMultiError ¶ added in v0.10.0
type StringMatcherMultiError []error
StringMatcherMultiError is an error wrapping multiple validation errors returned by StringMatcher.ValidateAll() if the designated constraints aren't met.
func (StringMatcherMultiError) AllErrors ¶ added in v0.10.0
func (m StringMatcherMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StringMatcherMultiError) Error ¶ added in v0.10.0
func (m StringMatcherMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StringMatcherValidationError ¶
type StringMatcherValidationError struct {
// contains filtered or unexported fields
}
StringMatcherValidationError is the validation error returned by StringMatcher.Validate if the designated constraints aren't met.
func (StringMatcherValidationError) Cause ¶
func (e StringMatcherValidationError) Cause() error
Cause function returns cause value.
func (StringMatcherValidationError) Error ¶
func (e StringMatcherValidationError) Error() string
Error satisfies the builtin error interface
func (StringMatcherValidationError) ErrorName ¶
func (e StringMatcherValidationError) ErrorName() string
ErrorName returns error name.
func (StringMatcherValidationError) Field ¶
func (e StringMatcherValidationError) Field() string
Field function returns field value.
func (StringMatcherValidationError) Key ¶
func (e StringMatcherValidationError) Key() bool
Key function returns key value.
func (StringMatcherValidationError) Reason ¶
func (e StringMatcherValidationError) Reason() string
Reason function returns reason value.
type StringMatcher_Contains ¶ added in v0.9.7
type StringMatcher_Contains struct { // The input string must have the substring specified here. // Note: empty contains match is not allowed, please use regex instead. // // Examples: // // * “abc“ matches the value “xyz.abc.def“ Contains string `protobuf:"bytes,7,opt,name=contains,proto3,oneof"` }
type StringMatcher_Exact ¶
type StringMatcher_Exact struct { // The input string must match exactly the string specified here. // // Examples: // // * “abc“ only matches the value “abc“. Exact string `protobuf:"bytes,1,opt,name=exact,proto3,oneof"` }
type StringMatcher_Prefix ¶
type StringMatcher_Prefix struct { // The input string must have the prefix specified here. // Note: empty prefix is not allowed, please use regex instead. // // Examples: // // * “abc“ matches the value “abc.xyz“ Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3,oneof"` }
type StringMatcher_SafeRegex ¶
type StringMatcher_SafeRegex struct { // The input string must match the regular expression specified here. SafeRegex *RegexMatcher `protobuf:"bytes,5,opt,name=safe_regex,json=safeRegex,proto3,oneof"` }
type StringMatcher_Suffix ¶
type StringMatcher_Suffix struct { // The input string must have the suffix specified here. // Note: empty prefix is not allowed, please use regex instead. // // Examples: // // * “abc“ matches the value “xyz.abc“ Suffix string `protobuf:"bytes,3,opt,name=suffix,proto3,oneof"` }
type StructMatcher ¶
type StructMatcher struct { // The path to retrieve the Value from the Struct. Path []*StructMatcher_PathSegment `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"` // The StructMatcher is matched if the value retrieved by path is matched to this value. Value *ValueMatcher `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
StructMatcher provides a general interface to check if a given value is matched in google.protobuf.Struct. It uses “path“ to retrieve the value from the struct and then check if it's matched to the specified value.
For example, for the following Struct:
.. code-block:: yaml
fields: a: struct_value: fields: b: struct_value: fields: c: string_value: pro t: list_value: values: - string_value: m - string_value: n
The following MetadataMatcher is matched as the path [a, b, c] will retrieve a string value "pro" from the Metadata which is matched to the specified prefix match.
.. code-block:: yaml
path: - key: a - key: b - key: c value: string_match: prefix: pr
The following StructMatcher is matched as the code will match one of the string values in the list at the path [a, t].
.. code-block:: yaml
path: - key: a - key: t value: list_match: one_of: string_match: exact: m
An example use of StructMatcher is to match metadata in envoy.v*.core.Node.
func (*StructMatcher) Descriptor
deprecated
func (*StructMatcher) Descriptor() ([]byte, []int)
Deprecated: Use StructMatcher.ProtoReflect.Descriptor instead.
func (*StructMatcher) GetPath ¶
func (x *StructMatcher) GetPath() []*StructMatcher_PathSegment
func (*StructMatcher) GetValue ¶
func (x *StructMatcher) GetValue() *ValueMatcher
func (*StructMatcher) ProtoMessage ¶
func (*StructMatcher) ProtoMessage()
func (*StructMatcher) ProtoReflect ¶ added in v0.9.6
func (x *StructMatcher) ProtoReflect() protoreflect.Message
func (*StructMatcher) Reset ¶
func (x *StructMatcher) Reset()
func (*StructMatcher) String ¶
func (x *StructMatcher) String() string
func (*StructMatcher) Validate ¶
func (m *StructMatcher) Validate() error
Validate checks the field values on StructMatcher 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 (*StructMatcher) ValidateAll ¶ added in v0.10.0
func (m *StructMatcher) ValidateAll() error
ValidateAll checks the field values on StructMatcher 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 StructMatcherMultiError, or nil if none found.
type StructMatcherMultiError ¶ added in v0.10.0
type StructMatcherMultiError []error
StructMatcherMultiError is an error wrapping multiple validation errors returned by StructMatcher.ValidateAll() if the designated constraints aren't met.
func (StructMatcherMultiError) AllErrors ¶ added in v0.10.0
func (m StructMatcherMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StructMatcherMultiError) Error ¶ added in v0.10.0
func (m StructMatcherMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StructMatcherValidationError ¶
type StructMatcherValidationError struct {
// contains filtered or unexported fields
}
StructMatcherValidationError is the validation error returned by StructMatcher.Validate if the designated constraints aren't met.
func (StructMatcherValidationError) Cause ¶
func (e StructMatcherValidationError) Cause() error
Cause function returns cause value.
func (StructMatcherValidationError) Error ¶
func (e StructMatcherValidationError) Error() string
Error satisfies the builtin error interface
func (StructMatcherValidationError) ErrorName ¶
func (e StructMatcherValidationError) ErrorName() string
ErrorName returns error name.
func (StructMatcherValidationError) Field ¶
func (e StructMatcherValidationError) Field() string
Field function returns field value.
func (StructMatcherValidationError) Key ¶
func (e StructMatcherValidationError) Key() bool
Key function returns key value.
func (StructMatcherValidationError) Reason ¶
func (e StructMatcherValidationError) Reason() string
Reason function returns reason value.
type StructMatcher_PathSegment ¶
type StructMatcher_PathSegment struct { // Types that are assignable to Segment: // *StructMatcher_PathSegment_Key Segment isStructMatcher_PathSegment_Segment `protobuf_oneof:"segment"` // contains filtered or unexported fields }
Specifies the segment in a path to retrieve value from Struct.
func (*StructMatcher_PathSegment) Descriptor
deprecated
func (*StructMatcher_PathSegment) Descriptor() ([]byte, []int)
Deprecated: Use StructMatcher_PathSegment.ProtoReflect.Descriptor instead.
func (*StructMatcher_PathSegment) GetKey ¶
func (x *StructMatcher_PathSegment) GetKey() string
func (*StructMatcher_PathSegment) GetSegment ¶
func (m *StructMatcher_PathSegment) GetSegment() isStructMatcher_PathSegment_Segment
func (*StructMatcher_PathSegment) ProtoMessage ¶
func (*StructMatcher_PathSegment) ProtoMessage()
func (*StructMatcher_PathSegment) ProtoReflect ¶ added in v0.9.6
func (x *StructMatcher_PathSegment) ProtoReflect() protoreflect.Message
func (*StructMatcher_PathSegment) Reset ¶
func (x *StructMatcher_PathSegment) Reset()
func (*StructMatcher_PathSegment) String ¶
func (x *StructMatcher_PathSegment) String() string
func (*StructMatcher_PathSegment) Validate ¶
func (m *StructMatcher_PathSegment) Validate() error
Validate checks the field values on StructMatcher_PathSegment 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 (*StructMatcher_PathSegment) ValidateAll ¶ added in v0.10.0
func (m *StructMatcher_PathSegment) ValidateAll() error
ValidateAll checks the field values on StructMatcher_PathSegment 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 StructMatcher_PathSegmentMultiError, or nil if none found.
type StructMatcher_PathSegmentMultiError ¶ added in v0.10.0
type StructMatcher_PathSegmentMultiError []error
StructMatcher_PathSegmentMultiError is an error wrapping multiple validation errors returned by StructMatcher_PathSegment.ValidateAll() if the designated constraints aren't met.
func (StructMatcher_PathSegmentMultiError) AllErrors ¶ added in v0.10.0
func (m StructMatcher_PathSegmentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StructMatcher_PathSegmentMultiError) Error ¶ added in v0.10.0
func (m StructMatcher_PathSegmentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StructMatcher_PathSegmentValidationError ¶
type StructMatcher_PathSegmentValidationError struct {
// contains filtered or unexported fields
}
StructMatcher_PathSegmentValidationError is the validation error returned by StructMatcher_PathSegment.Validate if the designated constraints aren't met.
func (StructMatcher_PathSegmentValidationError) Cause ¶
func (e StructMatcher_PathSegmentValidationError) Cause() error
Cause function returns cause value.
func (StructMatcher_PathSegmentValidationError) Error ¶
func (e StructMatcher_PathSegmentValidationError) Error() string
Error satisfies the builtin error interface
func (StructMatcher_PathSegmentValidationError) ErrorName ¶
func (e StructMatcher_PathSegmentValidationError) ErrorName() string
ErrorName returns error name.
func (StructMatcher_PathSegmentValidationError) Field ¶
func (e StructMatcher_PathSegmentValidationError) Field() string
Field function returns field value.
func (StructMatcher_PathSegmentValidationError) Key ¶
func (e StructMatcher_PathSegmentValidationError) Key() bool
Key function returns key value.
func (StructMatcher_PathSegmentValidationError) Reason ¶
func (e StructMatcher_PathSegmentValidationError) Reason() string
Reason function returns reason value.
type StructMatcher_PathSegment_Key ¶
type StructMatcher_PathSegment_Key struct { // If specified, use the key to retrieve the value in a Struct. Key string `protobuf:"bytes,1,opt,name=key,proto3,oneof"` }
type ValueMatcher ¶
type ValueMatcher struct { // Specifies how to match a value. // // Types that are assignable to MatchPattern: // *ValueMatcher_NullMatch_ // *ValueMatcher_DoubleMatch // *ValueMatcher_StringMatch // *ValueMatcher_BoolMatch // *ValueMatcher_PresentMatch // *ValueMatcher_ListMatch MatchPattern isValueMatcher_MatchPattern `protobuf_oneof:"match_pattern"` // contains filtered or unexported fields }
Specifies the way to match a ProtobufWkt::Value. Primitive values and ListValue are supported. StructValue is not supported and is always not matched. [#next-free-field: 7]
func (*ValueMatcher) Descriptor
deprecated
func (*ValueMatcher) Descriptor() ([]byte, []int)
Deprecated: Use ValueMatcher.ProtoReflect.Descriptor instead.
func (*ValueMatcher) GetBoolMatch ¶
func (x *ValueMatcher) GetBoolMatch() bool
func (*ValueMatcher) GetDoubleMatch ¶
func (x *ValueMatcher) GetDoubleMatch() *DoubleMatcher
func (*ValueMatcher) GetListMatch ¶
func (x *ValueMatcher) GetListMatch() *ListMatcher
func (*ValueMatcher) GetMatchPattern ¶
func (m *ValueMatcher) GetMatchPattern() isValueMatcher_MatchPattern
func (*ValueMatcher) GetNullMatch ¶
func (x *ValueMatcher) GetNullMatch() *ValueMatcher_NullMatch
func (*ValueMatcher) GetPresentMatch ¶
func (x *ValueMatcher) GetPresentMatch() bool
func (*ValueMatcher) GetStringMatch ¶
func (x *ValueMatcher) GetStringMatch() *StringMatcher
func (*ValueMatcher) ProtoMessage ¶
func (*ValueMatcher) ProtoMessage()
func (*ValueMatcher) ProtoReflect ¶ added in v0.9.6
func (x *ValueMatcher) ProtoReflect() protoreflect.Message
func (*ValueMatcher) Reset ¶
func (x *ValueMatcher) Reset()
func (*ValueMatcher) String ¶
func (x *ValueMatcher) String() string
func (*ValueMatcher) Validate ¶
func (m *ValueMatcher) Validate() error
Validate checks the field values on ValueMatcher 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 (*ValueMatcher) ValidateAll ¶ added in v0.10.0
func (m *ValueMatcher) ValidateAll() error
ValidateAll checks the field values on ValueMatcher 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 ValueMatcherMultiError, or nil if none found.
type ValueMatcherMultiError ¶ added in v0.10.0
type ValueMatcherMultiError []error
ValueMatcherMultiError is an error wrapping multiple validation errors returned by ValueMatcher.ValidateAll() if the designated constraints aren't met.
func (ValueMatcherMultiError) AllErrors ¶ added in v0.10.0
func (m ValueMatcherMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ValueMatcherMultiError) Error ¶ added in v0.10.0
func (m ValueMatcherMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ValueMatcherValidationError ¶
type ValueMatcherValidationError struct {
// contains filtered or unexported fields
}
ValueMatcherValidationError is the validation error returned by ValueMatcher.Validate if the designated constraints aren't met.
func (ValueMatcherValidationError) Cause ¶
func (e ValueMatcherValidationError) Cause() error
Cause function returns cause value.
func (ValueMatcherValidationError) Error ¶
func (e ValueMatcherValidationError) Error() string
Error satisfies the builtin error interface
func (ValueMatcherValidationError) ErrorName ¶
func (e ValueMatcherValidationError) ErrorName() string
ErrorName returns error name.
func (ValueMatcherValidationError) Field ¶
func (e ValueMatcherValidationError) Field() string
Field function returns field value.
func (ValueMatcherValidationError) Key ¶
func (e ValueMatcherValidationError) Key() bool
Key function returns key value.
func (ValueMatcherValidationError) Reason ¶
func (e ValueMatcherValidationError) Reason() string
Reason function returns reason value.
type ValueMatcher_BoolMatch ¶
type ValueMatcher_BoolMatch struct { // If specified, a match occurs if and only if the target value is a bool value and is equal // to this field. BoolMatch bool `protobuf:"varint,4,opt,name=bool_match,json=boolMatch,proto3,oneof"` }
type ValueMatcher_DoubleMatch ¶
type ValueMatcher_DoubleMatch struct { // If specified, a match occurs if and only if the target value is a double value and is // matched to this field. DoubleMatch *DoubleMatcher `protobuf:"bytes,2,opt,name=double_match,json=doubleMatch,proto3,oneof"` }
type ValueMatcher_ListMatch ¶
type ValueMatcher_ListMatch struct { // If specified, a match occurs if and only if the target value is a list value and // is matched to this field. ListMatch *ListMatcher `protobuf:"bytes,6,opt,name=list_match,json=listMatch,proto3,oneof"` }
type ValueMatcher_NullMatch ¶
type ValueMatcher_NullMatch struct {
// contains filtered or unexported fields
}
NullMatch is an empty message to specify a null value.
func (*ValueMatcher_NullMatch) Descriptor
deprecated
func (*ValueMatcher_NullMatch) Descriptor() ([]byte, []int)
Deprecated: Use ValueMatcher_NullMatch.ProtoReflect.Descriptor instead.
func (*ValueMatcher_NullMatch) ProtoMessage ¶
func (*ValueMatcher_NullMatch) ProtoMessage()
func (*ValueMatcher_NullMatch) ProtoReflect ¶ added in v0.9.6
func (x *ValueMatcher_NullMatch) ProtoReflect() protoreflect.Message
func (*ValueMatcher_NullMatch) Reset ¶
func (x *ValueMatcher_NullMatch) Reset()
func (*ValueMatcher_NullMatch) String ¶
func (x *ValueMatcher_NullMatch) String() string
func (*ValueMatcher_NullMatch) Validate ¶
func (m *ValueMatcher_NullMatch) Validate() error
Validate checks the field values on ValueMatcher_NullMatch 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 (*ValueMatcher_NullMatch) ValidateAll ¶ added in v0.10.0
func (m *ValueMatcher_NullMatch) ValidateAll() error
ValidateAll checks the field values on ValueMatcher_NullMatch 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 ValueMatcher_NullMatchMultiError, or nil if none found.
type ValueMatcher_NullMatchMultiError ¶ added in v0.10.0
type ValueMatcher_NullMatchMultiError []error
ValueMatcher_NullMatchMultiError is an error wrapping multiple validation errors returned by ValueMatcher_NullMatch.ValidateAll() if the designated constraints aren't met.
func (ValueMatcher_NullMatchMultiError) AllErrors ¶ added in v0.10.0
func (m ValueMatcher_NullMatchMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ValueMatcher_NullMatchMultiError) Error ¶ added in v0.10.0
func (m ValueMatcher_NullMatchMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ValueMatcher_NullMatchValidationError ¶
type ValueMatcher_NullMatchValidationError struct {
// contains filtered or unexported fields
}
ValueMatcher_NullMatchValidationError is the validation error returned by ValueMatcher_NullMatch.Validate if the designated constraints aren't met.
func (ValueMatcher_NullMatchValidationError) Cause ¶
func (e ValueMatcher_NullMatchValidationError) Cause() error
Cause function returns cause value.
func (ValueMatcher_NullMatchValidationError) Error ¶
func (e ValueMatcher_NullMatchValidationError) Error() string
Error satisfies the builtin error interface
func (ValueMatcher_NullMatchValidationError) ErrorName ¶
func (e ValueMatcher_NullMatchValidationError) ErrorName() string
ErrorName returns error name.
func (ValueMatcher_NullMatchValidationError) Field ¶
func (e ValueMatcher_NullMatchValidationError) Field() string
Field function returns field value.
func (ValueMatcher_NullMatchValidationError) Key ¶
func (e ValueMatcher_NullMatchValidationError) Key() bool
Key function returns key value.
func (ValueMatcher_NullMatchValidationError) Reason ¶
func (e ValueMatcher_NullMatchValidationError) Reason() string
Reason function returns reason value.
type ValueMatcher_NullMatch_ ¶
type ValueMatcher_NullMatch_ struct { // If specified, a match occurs if and only if the target value is a NullValue. NullMatch *ValueMatcher_NullMatch `protobuf:"bytes,1,opt,name=null_match,json=nullMatch,proto3,oneof"` }
type ValueMatcher_PresentMatch ¶
type ValueMatcher_PresentMatch struct { // If specified, value match will be performed based on whether the path is referring to a // valid primitive value in the metadata. If the path is referring to a non-primitive value, // the result is always not matched. PresentMatch bool `protobuf:"varint,5,opt,name=present_match,json=presentMatch,proto3,oneof"` }
type ValueMatcher_StringMatch ¶
type ValueMatcher_StringMatch struct { // If specified, a match occurs if and only if the target value is a string value and is // matched to this field. StringMatch *StringMatcher `protobuf:"bytes,3,opt,name=string_match,json=stringMatch,proto3,oneof"` }
Source Files ¶
- filter_state.pb.go
- filter_state.pb.validate.go
- http_inputs.pb.go
- http_inputs.pb.validate.go
- metadata.pb.go
- metadata.pb.validate.go
- node.pb.go
- node.pb.validate.go
- number.pb.go
- number.pb.validate.go
- path.pb.go
- path.pb.validate.go
- regex.pb.go
- regex.pb.validate.go
- status_code_input.pb.go
- status_code_input.pb.validate.go
- string.pb.go
- string.pb.validate.go
- struct.pb.go
- struct.pb.validate.go
- value.pb.go
- value.pb.validate.go