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() *_type.DoubleRange
- func (*DoubleMatcher) ProtoMessage()
- func (x *DoubleMatcher) ProtoReflect() protoreflect.Message
- func (x *DoubleMatcher) Reset()
- func (x *DoubleMatcher) String() string
- func (m *DoubleMatcher) Validate() error
- 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 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
- 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
- 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) 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
- 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
- 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
- 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
- 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
- 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_GoogleRE2
- 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
- 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
- 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) GetExact() string
- func (x *StringMatcher) GetIgnoreCase() bool
- func (m *StringMatcher) GetMatchPattern() isStringMatcher_MatchPattern
- func (x *StringMatcher) GetPrefix() string
- func (x *StringMatcher) GetRegex() stringdeprecated
- 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
- 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_Exact
- type StringMatcher_Prefix
- type StringMatcher_Regex
- 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
- 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
- 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
- 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
- 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_metadata_proto protoreflect.FileDescriptor
var File_envoy_type_matcher_node_proto protoreflect.FileDescriptor
var File_envoy_type_matcher_number_proto protoreflect.FileDescriptor
var File_envoy_type_matcher_path_proto protoreflect.FileDescriptor
var File_envoy_type_matcher_regex_proto protoreflect.FileDescriptor
var File_envoy_type_matcher_string_proto protoreflect.FileDescriptor
var File_envoy_type_matcher_struct_proto protoreflect.FileDescriptor
var File_envoy_type_matcher_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 }
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() *_type.DoubleRange
func (*DoubleMatcher) ProtoMessage ¶
func (*DoubleMatcher) ProtoMessage()
func (*DoubleMatcher) ProtoReflect ¶ added in v0.9.7
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, an error is returned.
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 ¶ added in v0.7.0
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 {
Exact float64 `protobuf:"fixed64,2,opt,name=exact,proto3,oneof"`
}
type DoubleMatcher_Range ¶
type DoubleMatcher_Range struct {
Range *_type.DoubleRange `protobuf:"bytes,1,opt,name=range,proto3,oneof"`
}
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 }
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.7
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, an error is returned.
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 ¶ added in v0.7.0
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 {
OneOf *ValueMatcher `protobuf:"bytes,1,opt,name=one_of,json=oneOf,proto3,oneof"`
}
type ListStringMatcher ¶ added in v0.6.1
type ListStringMatcher struct { Patterns []*StringMatcher `protobuf:"bytes,1,rep,name=patterns,proto3" json:"patterns,omitempty"` // contains filtered or unexported fields }
func (*ListStringMatcher) Descriptor
deprecated
added in
v0.6.1
func (*ListStringMatcher) Descriptor() ([]byte, []int)
Deprecated: Use ListStringMatcher.ProtoReflect.Descriptor instead.
func (*ListStringMatcher) GetPatterns ¶ added in v0.6.1
func (x *ListStringMatcher) GetPatterns() []*StringMatcher
func (*ListStringMatcher) ProtoMessage ¶ added in v0.6.1
func (*ListStringMatcher) ProtoMessage()
func (*ListStringMatcher) ProtoReflect ¶ added in v0.9.7
func (x *ListStringMatcher) ProtoReflect() protoreflect.Message
func (*ListStringMatcher) Reset ¶ added in v0.6.1
func (x *ListStringMatcher) Reset()
func (*ListStringMatcher) String ¶ added in v0.6.1
func (x *ListStringMatcher) String() string
func (*ListStringMatcher) Validate ¶ added in v0.6.1
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, an error is returned.
type ListStringMatcherValidationError ¶ added in v0.6.1
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 ¶ added in v0.6.1
func (e ListStringMatcherValidationError) Cause() error
Cause function returns cause value.
func (ListStringMatcherValidationError) Error ¶ added in v0.6.1
func (e ListStringMatcherValidationError) Error() string
Error satisfies the builtin error interface
func (ListStringMatcherValidationError) ErrorName ¶ added in v0.7.0
func (e ListStringMatcherValidationError) ErrorName() string
ErrorName returns error name.
func (ListStringMatcherValidationError) Field ¶ added in v0.6.1
func (e ListStringMatcherValidationError) Field() string
Field function returns field value.
func (ListStringMatcherValidationError) Key ¶ added in v0.6.1
func (e ListStringMatcherValidationError) Key() bool
Key function returns key value.
func (ListStringMatcherValidationError) Reason ¶ added in v0.6.1
func (e ListStringMatcherValidationError) Reason() string
Reason function returns reason value.
type MetadataMatcher ¶
type MetadataMatcher struct { Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` Path []*MetadataMatcher_PathSegment `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"` Value *ValueMatcher `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
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) 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.7
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, an error is returned.
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 ¶ added in v0.7.0
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 }
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.7
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, an error is returned.
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 ¶ added in v0.7.0
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 {
Key string `protobuf:"bytes,1,opt,name=key,proto3,oneof"`
}
type NodeMatcher ¶ added in v0.9.6
type NodeMatcher struct { NodeId *StringMatcher `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` NodeMetadatas []*StructMatcher `protobuf:"bytes,2,rep,name=node_metadatas,json=nodeMetadatas,proto3" json:"node_metadatas,omitempty"` // contains filtered or unexported fields }
func (*NodeMatcher) Descriptor
deprecated
added in
v0.9.6
func (*NodeMatcher) Descriptor() ([]byte, []int)
Deprecated: Use NodeMatcher.ProtoReflect.Descriptor instead.
func (*NodeMatcher) GetNodeId ¶ added in v0.9.6
func (x *NodeMatcher) GetNodeId() *StringMatcher
func (*NodeMatcher) GetNodeMetadatas ¶ added in v0.9.6
func (x *NodeMatcher) GetNodeMetadatas() []*StructMatcher
func (*NodeMatcher) ProtoMessage ¶ added in v0.9.6
func (*NodeMatcher) ProtoMessage()
func (*NodeMatcher) ProtoReflect ¶ added in v0.9.7
func (x *NodeMatcher) ProtoReflect() protoreflect.Message
func (*NodeMatcher) Reset ¶ added in v0.9.6
func (x *NodeMatcher) Reset()
func (*NodeMatcher) String ¶ added in v0.9.6
func (x *NodeMatcher) String() string
func (*NodeMatcher) Validate ¶ added in v0.9.6
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, an error is returned.
type NodeMatcherValidationError ¶ added in v0.9.6
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 ¶ added in v0.9.6
func (e NodeMatcherValidationError) Cause() error
Cause function returns cause value.
func (NodeMatcherValidationError) Error ¶ added in v0.9.6
func (e NodeMatcherValidationError) Error() string
Error satisfies the builtin error interface
func (NodeMatcherValidationError) ErrorName ¶ added in v0.9.6
func (e NodeMatcherValidationError) ErrorName() string
ErrorName returns error name.
func (NodeMatcherValidationError) Field ¶ added in v0.9.6
func (e NodeMatcherValidationError) Field() string
Field function returns field value.
func (NodeMatcherValidationError) Key ¶ added in v0.9.6
func (e NodeMatcherValidationError) Key() bool
Key function returns key value.
func (NodeMatcherValidationError) Reason ¶ added in v0.9.6
func (e NodeMatcherValidationError) Reason() string
Reason function returns reason value.
type PathMatcher ¶ added in v0.9.6
type PathMatcher struct { // Types that are assignable to Rule: // *PathMatcher_Path Rule isPathMatcher_Rule `protobuf_oneof:"rule"` // contains filtered or unexported fields }
func (*PathMatcher) Descriptor
deprecated
added in
v0.9.6
func (*PathMatcher) Descriptor() ([]byte, []int)
Deprecated: Use PathMatcher.ProtoReflect.Descriptor instead.
func (*PathMatcher) GetPath ¶ added in v0.9.6
func (x *PathMatcher) GetPath() *StringMatcher
func (*PathMatcher) GetRule ¶ added in v0.9.6
func (m *PathMatcher) GetRule() isPathMatcher_Rule
func (*PathMatcher) ProtoMessage ¶ added in v0.9.6
func (*PathMatcher) ProtoMessage()
func (*PathMatcher) ProtoReflect ¶ added in v0.9.7
func (x *PathMatcher) ProtoReflect() protoreflect.Message
func (*PathMatcher) Reset ¶ added in v0.9.6
func (x *PathMatcher) Reset()
func (*PathMatcher) String ¶ added in v0.9.6
func (x *PathMatcher) String() string
func (*PathMatcher) Validate ¶ added in v0.9.6
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, an error is returned.
type PathMatcherValidationError ¶ added in v0.9.6
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.6
func (e PathMatcherValidationError) Cause() error
Cause function returns cause value.
func (PathMatcherValidationError) Error ¶ added in v0.9.6
func (e PathMatcherValidationError) Error() string
Error satisfies the builtin error interface
func (PathMatcherValidationError) ErrorName ¶ added in v0.9.6
func (e PathMatcherValidationError) ErrorName() string
ErrorName returns error name.
func (PathMatcherValidationError) Field ¶ added in v0.9.6
func (e PathMatcherValidationError) Field() string
Field function returns field value.
func (PathMatcherValidationError) Key ¶ added in v0.9.6
func (e PathMatcherValidationError) Key() bool
Key function returns key value.
func (PathMatcherValidationError) Reason ¶ added in v0.9.6
func (e PathMatcherValidationError) Reason() string
Reason function returns reason value.
type PathMatcher_Path ¶ added in v0.9.6
type PathMatcher_Path struct {
Path *StringMatcher `protobuf:"bytes,1,opt,name=path,proto3,oneof"`
}
type RegexMatchAndSubstitute ¶ added in v0.9.6
type RegexMatchAndSubstitute struct { Pattern *RegexMatcher `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"` Substitution string `protobuf:"bytes,2,opt,name=substitution,proto3" json:"substitution,omitempty"` // contains filtered or unexported fields }
func (*RegexMatchAndSubstitute) Descriptor
deprecated
added in
v0.9.6
func (*RegexMatchAndSubstitute) Descriptor() ([]byte, []int)
Deprecated: Use RegexMatchAndSubstitute.ProtoReflect.Descriptor instead.
func (*RegexMatchAndSubstitute) GetPattern ¶ added in v0.9.6
func (x *RegexMatchAndSubstitute) GetPattern() *RegexMatcher
func (*RegexMatchAndSubstitute) GetSubstitution ¶ added in v0.9.6
func (x *RegexMatchAndSubstitute) GetSubstitution() string
func (*RegexMatchAndSubstitute) ProtoMessage ¶ added in v0.9.6
func (*RegexMatchAndSubstitute) ProtoMessage()
func (*RegexMatchAndSubstitute) ProtoReflect ¶ added in v0.9.7
func (x *RegexMatchAndSubstitute) ProtoReflect() protoreflect.Message
func (*RegexMatchAndSubstitute) Reset ¶ added in v0.9.6
func (x *RegexMatchAndSubstitute) Reset()
func (*RegexMatchAndSubstitute) String ¶ added in v0.9.6
func (x *RegexMatchAndSubstitute) String() string
func (*RegexMatchAndSubstitute) Validate ¶ added in v0.9.6
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, an error is returned.
type RegexMatchAndSubstituteValidationError ¶ added in v0.9.6
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.6
func (e RegexMatchAndSubstituteValidationError) Cause() error
Cause function returns cause value.
func (RegexMatchAndSubstituteValidationError) Error ¶ added in v0.9.6
func (e RegexMatchAndSubstituteValidationError) Error() string
Error satisfies the builtin error interface
func (RegexMatchAndSubstituteValidationError) ErrorName ¶ added in v0.9.6
func (e RegexMatchAndSubstituteValidationError) ErrorName() string
ErrorName returns error name.
func (RegexMatchAndSubstituteValidationError) Field ¶ added in v0.9.6
func (e RegexMatchAndSubstituteValidationError) Field() string
Field function returns field value.
func (RegexMatchAndSubstituteValidationError) Key ¶ added in v0.9.6
func (e RegexMatchAndSubstituteValidationError) Key() bool
Key function returns key value.
func (RegexMatchAndSubstituteValidationError) Reason ¶ added in v0.9.6
func (e RegexMatchAndSubstituteValidationError) Reason() string
Reason function returns reason value.
type RegexMatcher ¶ added in v0.9.6
type RegexMatcher struct { // Types that are assignable to EngineType: // *RegexMatcher_GoogleRe2 EngineType isRegexMatcher_EngineType `protobuf_oneof:"engine_type"` Regex string `protobuf:"bytes,2,opt,name=regex,proto3" json:"regex,omitempty"` // contains filtered or unexported fields }
func (*RegexMatcher) Descriptor
deprecated
added in
v0.9.6
func (*RegexMatcher) Descriptor() ([]byte, []int)
Deprecated: Use RegexMatcher.ProtoReflect.Descriptor instead.
func (*RegexMatcher) GetEngineType ¶ added in v0.9.6
func (m *RegexMatcher) GetEngineType() isRegexMatcher_EngineType
func (*RegexMatcher) GetGoogleRe2 ¶ added in v0.9.6
func (x *RegexMatcher) GetGoogleRe2() *RegexMatcher_GoogleRE2
func (*RegexMatcher) GetRegex ¶ added in v0.9.6
func (x *RegexMatcher) GetRegex() string
func (*RegexMatcher) ProtoMessage ¶ added in v0.9.6
func (*RegexMatcher) ProtoMessage()
func (*RegexMatcher) ProtoReflect ¶ added in v0.9.7
func (x *RegexMatcher) ProtoReflect() protoreflect.Message
func (*RegexMatcher) Reset ¶ added in v0.9.6
func (x *RegexMatcher) Reset()
func (*RegexMatcher) String ¶ added in v0.9.6
func (x *RegexMatcher) String() string
func (*RegexMatcher) Validate ¶ added in v0.9.6
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, an error is returned.
type RegexMatcherValidationError ¶ added in v0.9.6
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 ¶ added in v0.9.6
func (e RegexMatcherValidationError) Cause() error
Cause function returns cause value.
func (RegexMatcherValidationError) Error ¶ added in v0.9.6
func (e RegexMatcherValidationError) Error() string
Error satisfies the builtin error interface
func (RegexMatcherValidationError) ErrorName ¶ added in v0.9.6
func (e RegexMatcherValidationError) ErrorName() string
ErrorName returns error name.
func (RegexMatcherValidationError) Field ¶ added in v0.9.6
func (e RegexMatcherValidationError) Field() string
Field function returns field value.
func (RegexMatcherValidationError) Key ¶ added in v0.9.6
func (e RegexMatcherValidationError) Key() bool
Key function returns key value.
func (RegexMatcherValidationError) Reason ¶ added in v0.9.6
func (e RegexMatcherValidationError) Reason() string
Reason function returns reason value.
type RegexMatcher_GoogleRE2 ¶ added in v0.9.6
type RegexMatcher_GoogleRE2 struct { // 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 }
func (*RegexMatcher_GoogleRE2) Descriptor
deprecated
added in
v0.9.6
func (*RegexMatcher_GoogleRE2) Descriptor() ([]byte, []int)
Deprecated: Use RegexMatcher_GoogleRE2.ProtoReflect.Descriptor instead.
func (*RegexMatcher_GoogleRE2) GetMaxProgramSize
deprecated
added in
v0.9.6
func (x *RegexMatcher_GoogleRE2) GetMaxProgramSize() *wrappers.UInt32Value
Deprecated: Do not use.
func (*RegexMatcher_GoogleRE2) ProtoMessage ¶ added in v0.9.6
func (*RegexMatcher_GoogleRE2) ProtoMessage()
func (*RegexMatcher_GoogleRE2) ProtoReflect ¶ added in v0.9.7
func (x *RegexMatcher_GoogleRE2) ProtoReflect() protoreflect.Message
func (*RegexMatcher_GoogleRE2) Reset ¶ added in v0.9.6
func (x *RegexMatcher_GoogleRE2) Reset()
func (*RegexMatcher_GoogleRE2) String ¶ added in v0.9.6
func (x *RegexMatcher_GoogleRE2) String() string
func (*RegexMatcher_GoogleRE2) Validate ¶ added in v0.9.6
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, an error is returned.
type RegexMatcher_GoogleRE2ValidationError ¶ added in v0.9.6
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 ¶ added in v0.9.6
func (e RegexMatcher_GoogleRE2ValidationError) Cause() error
Cause function returns cause value.
func (RegexMatcher_GoogleRE2ValidationError) Error ¶ added in v0.9.6
func (e RegexMatcher_GoogleRE2ValidationError) Error() string
Error satisfies the builtin error interface
func (RegexMatcher_GoogleRE2ValidationError) ErrorName ¶ added in v0.9.6
func (e RegexMatcher_GoogleRE2ValidationError) ErrorName() string
ErrorName returns error name.
func (RegexMatcher_GoogleRE2ValidationError) Field ¶ added in v0.9.6
func (e RegexMatcher_GoogleRE2ValidationError) Field() string
Field function returns field value.
func (RegexMatcher_GoogleRE2ValidationError) Key ¶ added in v0.9.6
func (e RegexMatcher_GoogleRE2ValidationError) Key() bool
Key function returns key value.
func (RegexMatcher_GoogleRE2ValidationError) Reason ¶ added in v0.9.6
func (e RegexMatcher_GoogleRE2ValidationError) Reason() string
Reason function returns reason value.
type RegexMatcher_GoogleRe2 ¶ added in v0.9.6
type RegexMatcher_GoogleRe2 struct {
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_Regex // *StringMatcher_SafeRegex MatchPattern isStringMatcher_MatchPattern `protobuf_oneof:"match_pattern"` IgnoreCase bool `protobuf:"varint,6,opt,name=ignore_case,json=ignoreCase,proto3" json:"ignore_case,omitempty"` // contains filtered or unexported fields }
func (*StringMatcher) Descriptor
deprecated
func (*StringMatcher) Descriptor() ([]byte, []int)
Deprecated: Use StringMatcher.ProtoReflect.Descriptor instead.
func (*StringMatcher) GetExact ¶
func (x *StringMatcher) GetExact() string
func (*StringMatcher) GetIgnoreCase ¶ added in v0.9.6
func (x *StringMatcher) GetIgnoreCase() bool
func (*StringMatcher) GetMatchPattern ¶
func (m *StringMatcher) GetMatchPattern() isStringMatcher_MatchPattern
func (*StringMatcher) GetPrefix ¶
func (x *StringMatcher) GetPrefix() string
func (*StringMatcher) GetRegex
deprecated
func (x *StringMatcher) GetRegex() string
Deprecated: Do not use.
func (*StringMatcher) GetSafeRegex ¶ added in v0.9.6
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.7
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, an error is returned.
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 ¶ added in v0.7.0
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_Exact ¶
type StringMatcher_Exact struct {
Exact string `protobuf:"bytes,1,opt,name=exact,proto3,oneof"`
}
type StringMatcher_Prefix ¶
type StringMatcher_Prefix struct {
Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3,oneof"`
}
type StringMatcher_Regex ¶
type StringMatcher_Regex struct { // Deprecated: Do not use. Regex string `protobuf:"bytes,4,opt,name=regex,proto3,oneof"` }
type StringMatcher_SafeRegex ¶ added in v0.9.6
type StringMatcher_SafeRegex struct {
SafeRegex *RegexMatcher `protobuf:"bytes,5,opt,name=safe_regex,json=safeRegex,proto3,oneof"`
}
type StringMatcher_Suffix ¶
type StringMatcher_Suffix struct {
Suffix string `protobuf:"bytes,3,opt,name=suffix,proto3,oneof"`
}
type StructMatcher ¶ added in v0.9.6
type StructMatcher struct { Path []*StructMatcher_PathSegment `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"` Value *ValueMatcher `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*StructMatcher) Descriptor
deprecated
added in
v0.9.6
func (*StructMatcher) Descriptor() ([]byte, []int)
Deprecated: Use StructMatcher.ProtoReflect.Descriptor instead.
func (*StructMatcher) GetPath ¶ added in v0.9.6
func (x *StructMatcher) GetPath() []*StructMatcher_PathSegment
func (*StructMatcher) GetValue ¶ added in v0.9.6
func (x *StructMatcher) GetValue() *ValueMatcher
func (*StructMatcher) ProtoMessage ¶ added in v0.9.6
func (*StructMatcher) ProtoMessage()
func (*StructMatcher) ProtoReflect ¶ added in v0.9.7
func (x *StructMatcher) ProtoReflect() protoreflect.Message
func (*StructMatcher) Reset ¶ added in v0.9.6
func (x *StructMatcher) Reset()
func (*StructMatcher) String ¶ added in v0.9.6
func (x *StructMatcher) String() string
func (*StructMatcher) Validate ¶ added in v0.9.6
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, an error is returned.
type StructMatcherValidationError ¶ added in v0.9.6
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 ¶ added in v0.9.6
func (e StructMatcherValidationError) Cause() error
Cause function returns cause value.
func (StructMatcherValidationError) Error ¶ added in v0.9.6
func (e StructMatcherValidationError) Error() string
Error satisfies the builtin error interface
func (StructMatcherValidationError) ErrorName ¶ added in v0.9.6
func (e StructMatcherValidationError) ErrorName() string
ErrorName returns error name.
func (StructMatcherValidationError) Field ¶ added in v0.9.6
func (e StructMatcherValidationError) Field() string
Field function returns field value.
func (StructMatcherValidationError) Key ¶ added in v0.9.6
func (e StructMatcherValidationError) Key() bool
Key function returns key value.
func (StructMatcherValidationError) Reason ¶ added in v0.9.6
func (e StructMatcherValidationError) Reason() string
Reason function returns reason value.
type StructMatcher_PathSegment ¶ added in v0.9.6
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 }
func (*StructMatcher_PathSegment) Descriptor
deprecated
added in
v0.9.6
func (*StructMatcher_PathSegment) Descriptor() ([]byte, []int)
Deprecated: Use StructMatcher_PathSegment.ProtoReflect.Descriptor instead.
func (*StructMatcher_PathSegment) GetKey ¶ added in v0.9.6
func (x *StructMatcher_PathSegment) GetKey() string
func (*StructMatcher_PathSegment) GetSegment ¶ added in v0.9.6
func (m *StructMatcher_PathSegment) GetSegment() isStructMatcher_PathSegment_Segment
func (*StructMatcher_PathSegment) ProtoMessage ¶ added in v0.9.6
func (*StructMatcher_PathSegment) ProtoMessage()
func (*StructMatcher_PathSegment) ProtoReflect ¶ added in v0.9.7
func (x *StructMatcher_PathSegment) ProtoReflect() protoreflect.Message
func (*StructMatcher_PathSegment) Reset ¶ added in v0.9.6
func (x *StructMatcher_PathSegment) Reset()
func (*StructMatcher_PathSegment) String ¶ added in v0.9.6
func (x *StructMatcher_PathSegment) String() string
func (*StructMatcher_PathSegment) Validate ¶ added in v0.9.6
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, an error is returned.
type StructMatcher_PathSegmentValidationError ¶ added in v0.9.6
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 ¶ added in v0.9.6
func (e StructMatcher_PathSegmentValidationError) Cause() error
Cause function returns cause value.
func (StructMatcher_PathSegmentValidationError) Error ¶ added in v0.9.6
func (e StructMatcher_PathSegmentValidationError) Error() string
Error satisfies the builtin error interface
func (StructMatcher_PathSegmentValidationError) ErrorName ¶ added in v0.9.6
func (e StructMatcher_PathSegmentValidationError) ErrorName() string
ErrorName returns error name.
func (StructMatcher_PathSegmentValidationError) Field ¶ added in v0.9.6
func (e StructMatcher_PathSegmentValidationError) Field() string
Field function returns field value.
func (StructMatcher_PathSegmentValidationError) Key ¶ added in v0.9.6
func (e StructMatcher_PathSegmentValidationError) Key() bool
Key function returns key value.
func (StructMatcher_PathSegmentValidationError) Reason ¶ added in v0.9.6
func (e StructMatcher_PathSegmentValidationError) Reason() string
Reason function returns reason value.
type StructMatcher_PathSegment_Key ¶ added in v0.9.6
type StructMatcher_PathSegment_Key struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3,oneof"`
}
type ValueMatcher ¶
type ValueMatcher struct { // 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 }
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.7
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, an error is returned.
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 ¶ added in v0.7.0
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 {
BoolMatch bool `protobuf:"varint,4,opt,name=bool_match,json=boolMatch,proto3,oneof"`
}
type ValueMatcher_DoubleMatch ¶
type ValueMatcher_DoubleMatch struct {
DoubleMatch *DoubleMatcher `protobuf:"bytes,2,opt,name=double_match,json=doubleMatch,proto3,oneof"`
}
type ValueMatcher_ListMatch ¶
type ValueMatcher_ListMatch struct {
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
}
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.7
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, an error is returned.
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 ¶ added in v0.7.0
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 {
NullMatch *ValueMatcher_NullMatch `protobuf:"bytes,1,opt,name=null_match,json=nullMatch,proto3,oneof"`
}
type ValueMatcher_PresentMatch ¶
type ValueMatcher_PresentMatch struct {
PresentMatch bool `protobuf:"varint,5,opt,name=present_match,json=presentMatch,proto3,oneof"`
}
type ValueMatcher_StringMatch ¶
type ValueMatcher_StringMatch struct {
StringMatch *StringMatcher `protobuf:"bytes,3,opt,name=string_match,json=stringMatch,proto3,oneof"`
}