Documentation ¶
Index ¶
- Variables
- type DoubleMatcher
- func (*DoubleMatcher) Descriptor() ([]byte, []int)
- func (m *DoubleMatcher) GetExact() float64
- func (m *DoubleMatcher) GetMatchPattern() isDoubleMatcher_MatchPattern
- func (m *DoubleMatcher) GetRange() *v3alpha.DoubleRange
- func (m *DoubleMatcher) Marshal() (dAtA []byte, err error)
- func (m *DoubleMatcher) MarshalTo(dAtA []byte) (int, error)
- func (m *DoubleMatcher) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DoubleMatcher) ProtoMessage()
- func (m *DoubleMatcher) Reset()
- func (m *DoubleMatcher) Size() (n int)
- func (m *DoubleMatcher) String() string
- func (m *DoubleMatcher) Unmarshal(dAtA []byte) error
- func (m *DoubleMatcher) Validate() error
- func (m *DoubleMatcher) XXX_DiscardUnknown()
- func (m *DoubleMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DoubleMatcher) XXX_Merge(src proto.Message)
- func (*DoubleMatcher) XXX_OneofWrappers() []interface{}
- func (m *DoubleMatcher) XXX_Size() int
- func (m *DoubleMatcher) XXX_Unmarshal(b []byte) 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)
- func (m *ListMatcher) GetMatchPattern() isListMatcher_MatchPattern
- func (m *ListMatcher) GetOneOf() *ValueMatcher
- func (m *ListMatcher) Marshal() (dAtA []byte, err error)
- func (m *ListMatcher) MarshalTo(dAtA []byte) (int, error)
- func (m *ListMatcher) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListMatcher) ProtoMessage()
- func (m *ListMatcher) Reset()
- func (m *ListMatcher) Size() (n int)
- func (m *ListMatcher) String() string
- func (m *ListMatcher) Unmarshal(dAtA []byte) error
- func (m *ListMatcher) Validate() error
- func (m *ListMatcher) XXX_DiscardUnknown()
- func (m *ListMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListMatcher) XXX_Merge(src proto.Message)
- func (*ListMatcher) XXX_OneofWrappers() []interface{}
- func (m *ListMatcher) XXX_Size() int
- func (m *ListMatcher) XXX_Unmarshal(b []byte) 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)
- func (m *ListStringMatcher) GetPatterns() []*StringMatcher
- func (m *ListStringMatcher) Marshal() (dAtA []byte, err error)
- func (m *ListStringMatcher) MarshalTo(dAtA []byte) (int, error)
- func (m *ListStringMatcher) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListStringMatcher) ProtoMessage()
- func (m *ListStringMatcher) Reset()
- func (m *ListStringMatcher) Size() (n int)
- func (m *ListStringMatcher) String() string
- func (m *ListStringMatcher) Unmarshal(dAtA []byte) error
- func (m *ListStringMatcher) Validate() error
- func (m *ListStringMatcher) XXX_DiscardUnknown()
- func (m *ListStringMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListStringMatcher) XXX_Merge(src proto.Message)
- func (m *ListStringMatcher) XXX_Size() int
- func (m *ListStringMatcher) XXX_Unmarshal(b []byte) 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)
- func (m *MetadataMatcher) GetFilter() string
- func (m *MetadataMatcher) GetPath() []*MetadataMatcher_PathSegment
- func (m *MetadataMatcher) GetValue() *ValueMatcher
- func (m *MetadataMatcher) Marshal() (dAtA []byte, err error)
- func (m *MetadataMatcher) MarshalTo(dAtA []byte) (int, error)
- func (m *MetadataMatcher) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MetadataMatcher) ProtoMessage()
- func (m *MetadataMatcher) Reset()
- func (m *MetadataMatcher) Size() (n int)
- func (m *MetadataMatcher) String() string
- func (m *MetadataMatcher) Unmarshal(dAtA []byte) error
- func (m *MetadataMatcher) Validate() error
- func (m *MetadataMatcher) XXX_DiscardUnknown()
- func (m *MetadataMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MetadataMatcher) XXX_Merge(src proto.Message)
- func (m *MetadataMatcher) XXX_Size() int
- func (m *MetadataMatcher) XXX_Unmarshal(b []byte) 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)
- func (m *MetadataMatcher_PathSegment) GetKey() string
- func (m *MetadataMatcher_PathSegment) GetSegment() isMetadataMatcher_PathSegment_Segment
- func (m *MetadataMatcher_PathSegment) Marshal() (dAtA []byte, err error)
- func (m *MetadataMatcher_PathSegment) MarshalTo(dAtA []byte) (int, error)
- func (m *MetadataMatcher_PathSegment) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MetadataMatcher_PathSegment) ProtoMessage()
- func (m *MetadataMatcher_PathSegment) Reset()
- func (m *MetadataMatcher_PathSegment) Size() (n int)
- func (m *MetadataMatcher_PathSegment) String() string
- func (m *MetadataMatcher_PathSegment) Unmarshal(dAtA []byte) error
- func (m *MetadataMatcher_PathSegment) Validate() error
- func (m *MetadataMatcher_PathSegment) XXX_DiscardUnknown()
- func (m *MetadataMatcher_PathSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MetadataMatcher_PathSegment) XXX_Merge(src proto.Message)
- func (*MetadataMatcher_PathSegment) XXX_OneofWrappers() []interface{}
- func (m *MetadataMatcher_PathSegment) XXX_Size() int
- func (m *MetadataMatcher_PathSegment) XXX_Unmarshal(b []byte) 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 RegexMatcher
- func (*RegexMatcher) Descriptor() ([]byte, []int)
- func (m *RegexMatcher) GetEngineType() isRegexMatcher_EngineType
- func (m *RegexMatcher) GetGoogleRe2() *RegexMatcher_GoogleRE2
- func (m *RegexMatcher) GetRegex() string
- func (m *RegexMatcher) Marshal() (dAtA []byte, err error)
- func (m *RegexMatcher) MarshalTo(dAtA []byte) (int, error)
- func (m *RegexMatcher) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RegexMatcher) ProtoMessage()
- func (m *RegexMatcher) Reset()
- func (m *RegexMatcher) Size() (n int)
- func (m *RegexMatcher) String() string
- func (m *RegexMatcher) Unmarshal(dAtA []byte) error
- func (m *RegexMatcher) Validate() error
- func (m *RegexMatcher) XXX_DiscardUnknown()
- func (m *RegexMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegexMatcher) XXX_Merge(src proto.Message)
- func (*RegexMatcher) XXX_OneofWrappers() []interface{}
- func (m *RegexMatcher) XXX_Size() int
- func (m *RegexMatcher) XXX_Unmarshal(b []byte) 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)
- func (m *RegexMatcher_GoogleRE2) GetMaxProgramSize() *types.UInt32Value
- func (m *RegexMatcher_GoogleRE2) Marshal() (dAtA []byte, err error)
- func (m *RegexMatcher_GoogleRE2) MarshalTo(dAtA []byte) (int, error)
- func (m *RegexMatcher_GoogleRE2) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RegexMatcher_GoogleRE2) ProtoMessage()
- func (m *RegexMatcher_GoogleRE2) Reset()
- func (m *RegexMatcher_GoogleRE2) Size() (n int)
- func (m *RegexMatcher_GoogleRE2) String() string
- func (m *RegexMatcher_GoogleRE2) Unmarshal(dAtA []byte) error
- func (m *RegexMatcher_GoogleRE2) Validate() error
- func (m *RegexMatcher_GoogleRE2) XXX_DiscardUnknown()
- func (m *RegexMatcher_GoogleRE2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegexMatcher_GoogleRE2) XXX_Merge(src proto.Message)
- func (m *RegexMatcher_GoogleRE2) XXX_Size() int
- func (m *RegexMatcher_GoogleRE2) XXX_Unmarshal(b []byte) 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)
- func (m *StringMatcher) GetExact() string
- func (m *StringMatcher) GetMatchPattern() isStringMatcher_MatchPattern
- func (m *StringMatcher) GetPrefix() string
- func (m *StringMatcher) GetSafeRegex() *RegexMatcher
- func (m *StringMatcher) GetSuffix() string
- func (m *StringMatcher) Marshal() (dAtA []byte, err error)
- func (m *StringMatcher) MarshalTo(dAtA []byte) (int, error)
- func (m *StringMatcher) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StringMatcher) ProtoMessage()
- func (m *StringMatcher) Reset()
- func (m *StringMatcher) Size() (n int)
- func (m *StringMatcher) String() string
- func (m *StringMatcher) Unmarshal(dAtA []byte) error
- func (m *StringMatcher) Validate() error
- func (m *StringMatcher) XXX_DiscardUnknown()
- func (m *StringMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StringMatcher) XXX_Merge(src proto.Message)
- func (*StringMatcher) XXX_OneofWrappers() []interface{}
- func (m *StringMatcher) XXX_Size() int
- func (m *StringMatcher) XXX_Unmarshal(b []byte) 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_SafeRegex
- type StringMatcher_Suffix
- type ValueMatcher
- func (*ValueMatcher) Descriptor() ([]byte, []int)
- func (m *ValueMatcher) GetBoolMatch() bool
- func (m *ValueMatcher) GetDoubleMatch() *DoubleMatcher
- func (m *ValueMatcher) GetListMatch() *ListMatcher
- func (m *ValueMatcher) GetMatchPattern() isValueMatcher_MatchPattern
- func (m *ValueMatcher) GetNullMatch() *ValueMatcher_NullMatch
- func (m *ValueMatcher) GetPresentMatch() bool
- func (m *ValueMatcher) GetStringMatch() *StringMatcher
- func (m *ValueMatcher) Marshal() (dAtA []byte, err error)
- func (m *ValueMatcher) MarshalTo(dAtA []byte) (int, error)
- func (m *ValueMatcher) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValueMatcher) ProtoMessage()
- func (m *ValueMatcher) Reset()
- func (m *ValueMatcher) Size() (n int)
- func (m *ValueMatcher) String() string
- func (m *ValueMatcher) Unmarshal(dAtA []byte) error
- func (m *ValueMatcher) Validate() error
- func (m *ValueMatcher) XXX_DiscardUnknown()
- func (m *ValueMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValueMatcher) XXX_Merge(src proto.Message)
- func (*ValueMatcher) XXX_OneofWrappers() []interface{}
- func (m *ValueMatcher) XXX_Size() int
- func (m *ValueMatcher) XXX_Unmarshal(b []byte) 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)
- func (m *ValueMatcher_NullMatch) Marshal() (dAtA []byte, err error)
- func (m *ValueMatcher_NullMatch) MarshalTo(dAtA []byte) (int, error)
- func (m *ValueMatcher_NullMatch) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValueMatcher_NullMatch) ProtoMessage()
- func (m *ValueMatcher_NullMatch) Reset()
- func (m *ValueMatcher_NullMatch) Size() (n int)
- func (m *ValueMatcher_NullMatch) String() string
- func (m *ValueMatcher_NullMatch) Unmarshal(dAtA []byte) error
- func (m *ValueMatcher_NullMatch) Validate() error
- func (m *ValueMatcher_NullMatch) XXX_DiscardUnknown()
- func (m *ValueMatcher_NullMatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValueMatcher_NullMatch) XXX_Merge(src proto.Message)
- func (m *ValueMatcher_NullMatch) XXX_Size() int
- func (m *ValueMatcher_NullMatch) XXX_Unmarshal(b []byte) 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 ( ErrInvalidLengthMetadata = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMetadata = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthNumber = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowNumber = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthRegex = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRegex = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthString = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowString = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthValue = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowValue = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type DoubleMatcher ¶
type DoubleMatcher struct { // Types that are valid to be assigned to MatchPattern: // *DoubleMatcher_Range // *DoubleMatcher_Exact MatchPattern isDoubleMatcher_MatchPattern `protobuf_oneof:"match_pattern"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Specifies the way to match a double value.
func (*DoubleMatcher) Descriptor ¶
func (*DoubleMatcher) Descriptor() ([]byte, []int)
func (*DoubleMatcher) GetExact ¶
func (m *DoubleMatcher) GetExact() float64
func (*DoubleMatcher) GetMatchPattern ¶
func (m *DoubleMatcher) GetMatchPattern() isDoubleMatcher_MatchPattern
func (*DoubleMatcher) GetRange ¶
func (m *DoubleMatcher) GetRange() *v3alpha.DoubleRange
func (*DoubleMatcher) Marshal ¶
func (m *DoubleMatcher) Marshal() (dAtA []byte, err error)
func (*DoubleMatcher) MarshalToSizedBuffer ¶
func (m *DoubleMatcher) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DoubleMatcher) ProtoMessage ¶
func (*DoubleMatcher) ProtoMessage()
func (*DoubleMatcher) Reset ¶
func (m *DoubleMatcher) Reset()
func (*DoubleMatcher) Size ¶
func (m *DoubleMatcher) Size() (n int)
func (*DoubleMatcher) String ¶
func (m *DoubleMatcher) String() string
func (*DoubleMatcher) Unmarshal ¶
func (m *DoubleMatcher) Unmarshal(dAtA []byte) error
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.
func (*DoubleMatcher) XXX_DiscardUnknown ¶
func (m *DoubleMatcher) XXX_DiscardUnknown()
func (*DoubleMatcher) XXX_Marshal ¶
func (m *DoubleMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DoubleMatcher) XXX_Merge ¶
func (m *DoubleMatcher) XXX_Merge(src proto.Message)
func (*DoubleMatcher) XXX_OneofWrappers ¶
func (*DoubleMatcher) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*DoubleMatcher) XXX_Size ¶
func (m *DoubleMatcher) XXX_Size() int
func (*DoubleMatcher) XXX_Unmarshal ¶
func (m *DoubleMatcher) XXX_Unmarshal(b []byte) error
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 {
Exact float64 `protobuf:"fixed64,2,opt,name=exact,proto3,oneof"`
}
func (*DoubleMatcher_Exact) MarshalTo ¶
func (m *DoubleMatcher_Exact) MarshalTo(dAtA []byte) (int, error)
func (*DoubleMatcher_Exact) MarshalToSizedBuffer ¶
func (m *DoubleMatcher_Exact) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DoubleMatcher_Exact) Size ¶
func (m *DoubleMatcher_Exact) Size() (n int)
type DoubleMatcher_Range ¶
type DoubleMatcher_Range struct {
Range *v3alpha.DoubleRange `protobuf:"bytes,1,opt,name=range,proto3,oneof"`
}
func (*DoubleMatcher_Range) MarshalTo ¶
func (m *DoubleMatcher_Range) MarshalTo(dAtA []byte) (int, error)
func (*DoubleMatcher_Range) MarshalToSizedBuffer ¶
func (m *DoubleMatcher_Range) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DoubleMatcher_Range) Size ¶
func (m *DoubleMatcher_Range) Size() (n int)
type ListMatcher ¶
type ListMatcher struct { // Types that are valid to be assigned to MatchPattern: // *ListMatcher_OneOf MatchPattern isListMatcher_MatchPattern `protobuf_oneof:"match_pattern"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Specifies the way to match a list value.
func (*ListMatcher) Descriptor ¶
func (*ListMatcher) Descriptor() ([]byte, []int)
func (*ListMatcher) GetMatchPattern ¶
func (m *ListMatcher) GetMatchPattern() isListMatcher_MatchPattern
func (*ListMatcher) GetOneOf ¶
func (m *ListMatcher) GetOneOf() *ValueMatcher
func (*ListMatcher) Marshal ¶
func (m *ListMatcher) Marshal() (dAtA []byte, err error)
func (*ListMatcher) MarshalToSizedBuffer ¶
func (m *ListMatcher) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListMatcher) ProtoMessage ¶
func (*ListMatcher) ProtoMessage()
func (*ListMatcher) Reset ¶
func (m *ListMatcher) Reset()
func (*ListMatcher) Size ¶
func (m *ListMatcher) Size() (n int)
func (*ListMatcher) String ¶
func (m *ListMatcher) String() string
func (*ListMatcher) Unmarshal ¶
func (m *ListMatcher) Unmarshal(dAtA []byte) error
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.
func (*ListMatcher) XXX_DiscardUnknown ¶
func (m *ListMatcher) XXX_DiscardUnknown()
func (*ListMatcher) XXX_Marshal ¶
func (m *ListMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListMatcher) XXX_Merge ¶
func (m *ListMatcher) XXX_Merge(src proto.Message)
func (*ListMatcher) XXX_OneofWrappers ¶
func (*ListMatcher) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ListMatcher) XXX_Size ¶
func (m *ListMatcher) XXX_Size() int
func (*ListMatcher) XXX_Unmarshal ¶
func (m *ListMatcher) XXX_Unmarshal(b []byte) error
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 {
OneOf *ValueMatcher `protobuf:"bytes,1,opt,name=one_of,json=oneOf,proto3,oneof"`
}
func (*ListMatcher_OneOf) MarshalTo ¶
func (m *ListMatcher_OneOf) MarshalTo(dAtA []byte) (int, error)
func (*ListMatcher_OneOf) MarshalToSizedBuffer ¶
func (m *ListMatcher_OneOf) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListMatcher_OneOf) Size ¶
func (m *ListMatcher_OneOf) Size() (n int)
type ListStringMatcher ¶
type ListStringMatcher struct { Patterns []*StringMatcher `protobuf:"bytes,1,rep,name=patterns,proto3" json:"patterns,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Specifies a list of ways to match a string.
func (*ListStringMatcher) Descriptor ¶
func (*ListStringMatcher) Descriptor() ([]byte, []int)
func (*ListStringMatcher) GetPatterns ¶
func (m *ListStringMatcher) GetPatterns() []*StringMatcher
func (*ListStringMatcher) Marshal ¶
func (m *ListStringMatcher) Marshal() (dAtA []byte, err error)
func (*ListStringMatcher) MarshalTo ¶
func (m *ListStringMatcher) MarshalTo(dAtA []byte) (int, error)
func (*ListStringMatcher) MarshalToSizedBuffer ¶
func (m *ListStringMatcher) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListStringMatcher) ProtoMessage ¶
func (*ListStringMatcher) ProtoMessage()
func (*ListStringMatcher) Reset ¶
func (m *ListStringMatcher) Reset()
func (*ListStringMatcher) Size ¶
func (m *ListStringMatcher) Size() (n int)
func (*ListStringMatcher) String ¶
func (m *ListStringMatcher) String() string
func (*ListStringMatcher) Unmarshal ¶
func (m *ListStringMatcher) Unmarshal(dAtA []byte) error
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, an error is returned.
func (*ListStringMatcher) XXX_DiscardUnknown ¶
func (m *ListStringMatcher) XXX_DiscardUnknown()
func (*ListStringMatcher) XXX_Marshal ¶
func (m *ListStringMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListStringMatcher) XXX_Merge ¶
func (m *ListStringMatcher) XXX_Merge(src proto.Message)
func (*ListStringMatcher) XXX_Size ¶
func (m *ListStringMatcher) XXX_Size() int
func (*ListStringMatcher) XXX_Unmarshal ¶
func (m *ListStringMatcher) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
MetadataMatcher provides a general interface to check if a given value is matched in :ref:`Metadata <envoy_api_msg_api.v3alpha.core.Metadata>`. It uses `filter` and `path` to retrieve the value from the Metadata and then check if it's matched to the specified value.
For example, for the following Metadata:
.. code-block:: yaml
filter_metadata: envoy.filters.http.rbac: 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
filter: envoy.filters.http.rbac path: - key: a - key: b - key: c value: string_match: prefix: pr
The following MetadataMatcher is matched as the code will match one of the string values in the list at the path [a, t].
.. code-block:: yaml
filter: envoy.filters.http.rbac path: - key: a - key: t value: list_match: one_of: string_match: exact: m
An example use of MetadataMatcher is specifying additional metadata in envoy.filters.http.rbac to enforce access control based on dynamic metadata in a request. See :ref:`Permission <envoy_api_msg_config.rbac.v3alpha.Permission>` and :ref:`Principal <envoy_api_msg_config.rbac.v3alpha.Principal>`.
func (*MetadataMatcher) Descriptor ¶
func (*MetadataMatcher) Descriptor() ([]byte, []int)
func (*MetadataMatcher) GetFilter ¶
func (m *MetadataMatcher) GetFilter() string
func (*MetadataMatcher) GetPath ¶
func (m *MetadataMatcher) GetPath() []*MetadataMatcher_PathSegment
func (*MetadataMatcher) GetValue ¶
func (m *MetadataMatcher) GetValue() *ValueMatcher
func (*MetadataMatcher) Marshal ¶
func (m *MetadataMatcher) Marshal() (dAtA []byte, err error)
func (*MetadataMatcher) MarshalToSizedBuffer ¶
func (m *MetadataMatcher) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MetadataMatcher) ProtoMessage ¶
func (*MetadataMatcher) ProtoMessage()
func (*MetadataMatcher) Reset ¶
func (m *MetadataMatcher) Reset()
func (*MetadataMatcher) Size ¶
func (m *MetadataMatcher) Size() (n int)
func (*MetadataMatcher) String ¶
func (m *MetadataMatcher) String() string
func (*MetadataMatcher) Unmarshal ¶
func (m *MetadataMatcher) Unmarshal(dAtA []byte) error
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.
func (*MetadataMatcher) XXX_DiscardUnknown ¶
func (m *MetadataMatcher) XXX_DiscardUnknown()
func (*MetadataMatcher) XXX_Marshal ¶
func (m *MetadataMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MetadataMatcher) XXX_Merge ¶
func (m *MetadataMatcher) XXX_Merge(src proto.Message)
func (*MetadataMatcher) XXX_Size ¶
func (m *MetadataMatcher) XXX_Size() int
func (*MetadataMatcher) XXX_Unmarshal ¶
func (m *MetadataMatcher) XXX_Unmarshal(b []byte) error
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 valid to be assigned to Segment: // *MetadataMatcher_PathSegment_Key Segment isMetadataMatcher_PathSegment_Segment `protobuf_oneof:"segment"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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 ¶
func (*MetadataMatcher_PathSegment) Descriptor() ([]byte, []int)
func (*MetadataMatcher_PathSegment) GetKey ¶
func (m *MetadataMatcher_PathSegment) GetKey() string
func (*MetadataMatcher_PathSegment) GetSegment ¶
func (m *MetadataMatcher_PathSegment) GetSegment() isMetadataMatcher_PathSegment_Segment
func (*MetadataMatcher_PathSegment) Marshal ¶
func (m *MetadataMatcher_PathSegment) Marshal() (dAtA []byte, err error)
func (*MetadataMatcher_PathSegment) MarshalTo ¶
func (m *MetadataMatcher_PathSegment) MarshalTo(dAtA []byte) (int, error)
func (*MetadataMatcher_PathSegment) MarshalToSizedBuffer ¶
func (m *MetadataMatcher_PathSegment) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MetadataMatcher_PathSegment) ProtoMessage ¶
func (*MetadataMatcher_PathSegment) ProtoMessage()
func (*MetadataMatcher_PathSegment) Reset ¶
func (m *MetadataMatcher_PathSegment) Reset()
func (*MetadataMatcher_PathSegment) Size ¶
func (m *MetadataMatcher_PathSegment) Size() (n int)
func (*MetadataMatcher_PathSegment) String ¶
func (m *MetadataMatcher_PathSegment) String() string
func (*MetadataMatcher_PathSegment) Unmarshal ¶
func (m *MetadataMatcher_PathSegment) Unmarshal(dAtA []byte) error
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.
func (*MetadataMatcher_PathSegment) XXX_DiscardUnknown ¶
func (m *MetadataMatcher_PathSegment) XXX_DiscardUnknown()
func (*MetadataMatcher_PathSegment) XXX_Marshal ¶
func (m *MetadataMatcher_PathSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MetadataMatcher_PathSegment) XXX_Merge ¶
func (m *MetadataMatcher_PathSegment) XXX_Merge(src proto.Message)
func (*MetadataMatcher_PathSegment) XXX_OneofWrappers ¶
func (*MetadataMatcher_PathSegment) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*MetadataMatcher_PathSegment) XXX_Size ¶
func (m *MetadataMatcher_PathSegment) XXX_Size() int
func (*MetadataMatcher_PathSegment) XXX_Unmarshal ¶
func (m *MetadataMatcher_PathSegment) XXX_Unmarshal(b []byte) error
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 {
Key string `protobuf:"bytes,1,opt,name=key,proto3,oneof"`
}
func (*MetadataMatcher_PathSegment_Key) MarshalTo ¶
func (m *MetadataMatcher_PathSegment_Key) MarshalTo(dAtA []byte) (int, error)
func (*MetadataMatcher_PathSegment_Key) MarshalToSizedBuffer ¶
func (m *MetadataMatcher_PathSegment_Key) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MetadataMatcher_PathSegment_Key) Size ¶
func (m *MetadataMatcher_PathSegment_Key) Size() (n int)
type RegexMatcher ¶
type RegexMatcher struct { // Types that are valid to be assigned to EngineType: // *RegexMatcher_GoogleRe2 EngineType isRegexMatcher_EngineType `protobuf_oneof:"engine_type"` // The regex match string. The string must be supported by the configured engine. Regex string `protobuf:"bytes,2,opt,name=regex,proto3" json:"regex,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A regex matcher designed for safety when used with untrusted input.
func (*RegexMatcher) Descriptor ¶
func (*RegexMatcher) Descriptor() ([]byte, []int)
func (*RegexMatcher) GetEngineType ¶
func (m *RegexMatcher) GetEngineType() isRegexMatcher_EngineType
func (*RegexMatcher) GetGoogleRe2 ¶
func (m *RegexMatcher) GetGoogleRe2() *RegexMatcher_GoogleRE2
func (*RegexMatcher) GetRegex ¶
func (m *RegexMatcher) GetRegex() string
func (*RegexMatcher) Marshal ¶
func (m *RegexMatcher) Marshal() (dAtA []byte, err error)
func (*RegexMatcher) MarshalToSizedBuffer ¶
func (m *RegexMatcher) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RegexMatcher) ProtoMessage ¶
func (*RegexMatcher) ProtoMessage()
func (*RegexMatcher) Reset ¶
func (m *RegexMatcher) Reset()
func (*RegexMatcher) Size ¶
func (m *RegexMatcher) Size() (n int)
func (*RegexMatcher) String ¶
func (m *RegexMatcher) String() string
func (*RegexMatcher) Unmarshal ¶
func (m *RegexMatcher) Unmarshal(dAtA []byte) error
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, an error is returned.
func (*RegexMatcher) XXX_DiscardUnknown ¶
func (m *RegexMatcher) XXX_DiscardUnknown()
func (*RegexMatcher) XXX_Marshal ¶
func (m *RegexMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegexMatcher) XXX_Merge ¶
func (m *RegexMatcher) XXX_Merge(src proto.Message)
func (*RegexMatcher) XXX_OneofWrappers ¶
func (*RegexMatcher) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*RegexMatcher) XXX_Size ¶
func (m *RegexMatcher) XXX_Size() int
func (*RegexMatcher) XXX_Unmarshal ¶
func (m *RegexMatcher) XXX_Unmarshal(b []byte) error
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. MaxProgramSize *types.UInt32Value `protobuf:"bytes,1,opt,name=max_program_size,json=maxProgramSize,proto3" json:"max_program_size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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.
func (*RegexMatcher_GoogleRE2) Descriptor ¶
func (*RegexMatcher_GoogleRE2) Descriptor() ([]byte, []int)
func (*RegexMatcher_GoogleRE2) GetMaxProgramSize ¶
func (m *RegexMatcher_GoogleRE2) GetMaxProgramSize() *types.UInt32Value
func (*RegexMatcher_GoogleRE2) Marshal ¶
func (m *RegexMatcher_GoogleRE2) Marshal() (dAtA []byte, err error)
func (*RegexMatcher_GoogleRE2) MarshalTo ¶
func (m *RegexMatcher_GoogleRE2) MarshalTo(dAtA []byte) (int, error)
func (*RegexMatcher_GoogleRE2) MarshalToSizedBuffer ¶
func (m *RegexMatcher_GoogleRE2) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RegexMatcher_GoogleRE2) ProtoMessage ¶
func (*RegexMatcher_GoogleRE2) ProtoMessage()
func (*RegexMatcher_GoogleRE2) Reset ¶
func (m *RegexMatcher_GoogleRE2) Reset()
func (*RegexMatcher_GoogleRE2) Size ¶
func (m *RegexMatcher_GoogleRE2) Size() (n int)
func (*RegexMatcher_GoogleRE2) String ¶
func (m *RegexMatcher_GoogleRE2) String() string
func (*RegexMatcher_GoogleRE2) Unmarshal ¶
func (m *RegexMatcher_GoogleRE2) Unmarshal(dAtA []byte) error
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, an error is returned.
func (*RegexMatcher_GoogleRE2) XXX_DiscardUnknown ¶
func (m *RegexMatcher_GoogleRE2) XXX_DiscardUnknown()
func (*RegexMatcher_GoogleRE2) XXX_Marshal ¶
func (m *RegexMatcher_GoogleRE2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegexMatcher_GoogleRE2) XXX_Merge ¶
func (m *RegexMatcher_GoogleRE2) XXX_Merge(src proto.Message)
func (*RegexMatcher_GoogleRE2) XXX_Size ¶
func (m *RegexMatcher_GoogleRE2) XXX_Size() int
func (*RegexMatcher_GoogleRE2) XXX_Unmarshal ¶
func (m *RegexMatcher_GoogleRE2) XXX_Unmarshal(b []byte) error
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 {
GoogleRe2 *RegexMatcher_GoogleRE2 `protobuf:"bytes,1,opt,name=google_re2,json=googleRe2,proto3,oneof"`
}
func (*RegexMatcher_GoogleRe2) MarshalTo ¶
func (m *RegexMatcher_GoogleRe2) MarshalTo(dAtA []byte) (int, error)
func (*RegexMatcher_GoogleRe2) MarshalToSizedBuffer ¶
func (m *RegexMatcher_GoogleRe2) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RegexMatcher_GoogleRe2) Size ¶
func (m *RegexMatcher_GoogleRe2) Size() (n int)
type StringMatcher ¶
type StringMatcher struct { // Types that are valid to be assigned to MatchPattern: // *StringMatcher_Exact // *StringMatcher_Prefix // *StringMatcher_Suffix // *StringMatcher_SafeRegex MatchPattern isStringMatcher_MatchPattern `protobuf_oneof:"match_pattern"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Specifies the way to match a string. [#next-free-field: 6]
func (*StringMatcher) Descriptor ¶
func (*StringMatcher) Descriptor() ([]byte, []int)
func (*StringMatcher) GetExact ¶
func (m *StringMatcher) GetExact() string
func (*StringMatcher) GetMatchPattern ¶
func (m *StringMatcher) GetMatchPattern() isStringMatcher_MatchPattern
func (*StringMatcher) GetPrefix ¶
func (m *StringMatcher) GetPrefix() string
func (*StringMatcher) GetSafeRegex ¶
func (m *StringMatcher) GetSafeRegex() *RegexMatcher
func (*StringMatcher) GetSuffix ¶
func (m *StringMatcher) GetSuffix() string
func (*StringMatcher) Marshal ¶
func (m *StringMatcher) Marshal() (dAtA []byte, err error)
func (*StringMatcher) MarshalToSizedBuffer ¶
func (m *StringMatcher) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StringMatcher) ProtoMessage ¶
func (*StringMatcher) ProtoMessage()
func (*StringMatcher) Reset ¶
func (m *StringMatcher) Reset()
func (*StringMatcher) Size ¶
func (m *StringMatcher) Size() (n int)
func (*StringMatcher) String ¶
func (m *StringMatcher) String() string
func (*StringMatcher) Unmarshal ¶
func (m *StringMatcher) Unmarshal(dAtA []byte) error
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.
func (*StringMatcher) XXX_DiscardUnknown ¶
func (m *StringMatcher) XXX_DiscardUnknown()
func (*StringMatcher) XXX_Marshal ¶
func (m *StringMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StringMatcher) XXX_Merge ¶
func (m *StringMatcher) XXX_Merge(src proto.Message)
func (*StringMatcher) XXX_OneofWrappers ¶
func (*StringMatcher) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*StringMatcher) XXX_Size ¶
func (m *StringMatcher) XXX_Size() int
func (*StringMatcher) XXX_Unmarshal ¶
func (m *StringMatcher) XXX_Unmarshal(b []byte) error
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_Exact ¶
type StringMatcher_Exact struct {
Exact string `protobuf:"bytes,1,opt,name=exact,proto3,oneof"`
}
func (*StringMatcher_Exact) MarshalTo ¶
func (m *StringMatcher_Exact) MarshalTo(dAtA []byte) (int, error)
func (*StringMatcher_Exact) MarshalToSizedBuffer ¶
func (m *StringMatcher_Exact) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StringMatcher_Exact) Size ¶
func (m *StringMatcher_Exact) Size() (n int)
type StringMatcher_Prefix ¶
type StringMatcher_Prefix struct {
Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3,oneof"`
}
func (*StringMatcher_Prefix) MarshalTo ¶
func (m *StringMatcher_Prefix) MarshalTo(dAtA []byte) (int, error)
func (*StringMatcher_Prefix) MarshalToSizedBuffer ¶
func (m *StringMatcher_Prefix) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StringMatcher_Prefix) Size ¶
func (m *StringMatcher_Prefix) Size() (n int)
type StringMatcher_SafeRegex ¶
type StringMatcher_SafeRegex struct {
SafeRegex *RegexMatcher `protobuf:"bytes,5,opt,name=safe_regex,json=safeRegex,proto3,oneof"`
}
func (*StringMatcher_SafeRegex) MarshalTo ¶
func (m *StringMatcher_SafeRegex) MarshalTo(dAtA []byte) (int, error)
func (*StringMatcher_SafeRegex) MarshalToSizedBuffer ¶
func (m *StringMatcher_SafeRegex) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StringMatcher_SafeRegex) Size ¶
func (m *StringMatcher_SafeRegex) Size() (n int)
type StringMatcher_Suffix ¶
type StringMatcher_Suffix struct {
Suffix string `protobuf:"bytes,3,opt,name=suffix,proto3,oneof"`
}
func (*StringMatcher_Suffix) MarshalTo ¶
func (m *StringMatcher_Suffix) MarshalTo(dAtA []byte) (int, error)
func (*StringMatcher_Suffix) MarshalToSizedBuffer ¶
func (m *StringMatcher_Suffix) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StringMatcher_Suffix) Size ¶
func (m *StringMatcher_Suffix) Size() (n int)
type ValueMatcher ¶
type ValueMatcher struct { // Specifies how to match a value. // // Types that are valid to be assigned to MatchPattern: // *ValueMatcher_NullMatch_ // *ValueMatcher_DoubleMatch // *ValueMatcher_StringMatch // *ValueMatcher_BoolMatch // *ValueMatcher_PresentMatch // *ValueMatcher_ListMatch MatchPattern isValueMatcher_MatchPattern `protobuf_oneof:"match_pattern"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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 ¶
func (*ValueMatcher) Descriptor() ([]byte, []int)
func (*ValueMatcher) GetBoolMatch ¶
func (m *ValueMatcher) GetBoolMatch() bool
func (*ValueMatcher) GetDoubleMatch ¶
func (m *ValueMatcher) GetDoubleMatch() *DoubleMatcher
func (*ValueMatcher) GetListMatch ¶
func (m *ValueMatcher) GetListMatch() *ListMatcher
func (*ValueMatcher) GetMatchPattern ¶
func (m *ValueMatcher) GetMatchPattern() isValueMatcher_MatchPattern
func (*ValueMatcher) GetNullMatch ¶
func (m *ValueMatcher) GetNullMatch() *ValueMatcher_NullMatch
func (*ValueMatcher) GetPresentMatch ¶
func (m *ValueMatcher) GetPresentMatch() bool
func (*ValueMatcher) GetStringMatch ¶
func (m *ValueMatcher) GetStringMatch() *StringMatcher
func (*ValueMatcher) Marshal ¶
func (m *ValueMatcher) Marshal() (dAtA []byte, err error)
func (*ValueMatcher) MarshalToSizedBuffer ¶
func (m *ValueMatcher) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValueMatcher) ProtoMessage ¶
func (*ValueMatcher) ProtoMessage()
func (*ValueMatcher) Reset ¶
func (m *ValueMatcher) Reset()
func (*ValueMatcher) Size ¶
func (m *ValueMatcher) Size() (n int)
func (*ValueMatcher) String ¶
func (m *ValueMatcher) String() string
func (*ValueMatcher) Unmarshal ¶
func (m *ValueMatcher) Unmarshal(dAtA []byte) error
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.
func (*ValueMatcher) XXX_DiscardUnknown ¶
func (m *ValueMatcher) XXX_DiscardUnknown()
func (*ValueMatcher) XXX_Marshal ¶
func (m *ValueMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValueMatcher) XXX_Merge ¶
func (m *ValueMatcher) XXX_Merge(src proto.Message)
func (*ValueMatcher) XXX_OneofWrappers ¶
func (*ValueMatcher) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ValueMatcher) XXX_Size ¶
func (m *ValueMatcher) XXX_Size() int
func (*ValueMatcher) XXX_Unmarshal ¶
func (m *ValueMatcher) XXX_Unmarshal(b []byte) error
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 {
BoolMatch bool `protobuf:"varint,4,opt,name=bool_match,json=boolMatch,proto3,oneof"`
}
func (*ValueMatcher_BoolMatch) MarshalTo ¶
func (m *ValueMatcher_BoolMatch) MarshalTo(dAtA []byte) (int, error)
func (*ValueMatcher_BoolMatch) MarshalToSizedBuffer ¶
func (m *ValueMatcher_BoolMatch) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValueMatcher_BoolMatch) Size ¶
func (m *ValueMatcher_BoolMatch) Size() (n int)
type ValueMatcher_DoubleMatch ¶
type ValueMatcher_DoubleMatch struct {
DoubleMatch *DoubleMatcher `protobuf:"bytes,2,opt,name=double_match,json=doubleMatch,proto3,oneof"`
}
func (*ValueMatcher_DoubleMatch) MarshalTo ¶
func (m *ValueMatcher_DoubleMatch) MarshalTo(dAtA []byte) (int, error)
func (*ValueMatcher_DoubleMatch) MarshalToSizedBuffer ¶
func (m *ValueMatcher_DoubleMatch) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValueMatcher_DoubleMatch) Size ¶
func (m *ValueMatcher_DoubleMatch) Size() (n int)
type ValueMatcher_ListMatch ¶
type ValueMatcher_ListMatch struct {
ListMatch *ListMatcher `protobuf:"bytes,6,opt,name=list_match,json=listMatch,proto3,oneof"`
}
func (*ValueMatcher_ListMatch) MarshalTo ¶
func (m *ValueMatcher_ListMatch) MarshalTo(dAtA []byte) (int, error)
func (*ValueMatcher_ListMatch) MarshalToSizedBuffer ¶
func (m *ValueMatcher_ListMatch) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValueMatcher_ListMatch) Size ¶
func (m *ValueMatcher_ListMatch) Size() (n int)
type ValueMatcher_NullMatch ¶
type ValueMatcher_NullMatch struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
NullMatch is an empty message to specify a null value.
func (*ValueMatcher_NullMatch) Descriptor ¶
func (*ValueMatcher_NullMatch) Descriptor() ([]byte, []int)
func (*ValueMatcher_NullMatch) Marshal ¶
func (m *ValueMatcher_NullMatch) Marshal() (dAtA []byte, err error)
func (*ValueMatcher_NullMatch) MarshalTo ¶
func (m *ValueMatcher_NullMatch) MarshalTo(dAtA []byte) (int, error)
func (*ValueMatcher_NullMatch) MarshalToSizedBuffer ¶
func (m *ValueMatcher_NullMatch) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValueMatcher_NullMatch) ProtoMessage ¶
func (*ValueMatcher_NullMatch) ProtoMessage()
func (*ValueMatcher_NullMatch) Reset ¶
func (m *ValueMatcher_NullMatch) Reset()
func (*ValueMatcher_NullMatch) Size ¶
func (m *ValueMatcher_NullMatch) Size() (n int)
func (*ValueMatcher_NullMatch) String ¶
func (m *ValueMatcher_NullMatch) String() string
func (*ValueMatcher_NullMatch) Unmarshal ¶
func (m *ValueMatcher_NullMatch) Unmarshal(dAtA []byte) error
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.
func (*ValueMatcher_NullMatch) XXX_DiscardUnknown ¶
func (m *ValueMatcher_NullMatch) XXX_DiscardUnknown()
func (*ValueMatcher_NullMatch) XXX_Marshal ¶
func (m *ValueMatcher_NullMatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValueMatcher_NullMatch) XXX_Merge ¶
func (m *ValueMatcher_NullMatch) XXX_Merge(src proto.Message)
func (*ValueMatcher_NullMatch) XXX_Size ¶
func (m *ValueMatcher_NullMatch) XXX_Size() int
func (*ValueMatcher_NullMatch) XXX_Unmarshal ¶
func (m *ValueMatcher_NullMatch) XXX_Unmarshal(b []byte) error
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 {
NullMatch *ValueMatcher_NullMatch `protobuf:"bytes,1,opt,name=null_match,json=nullMatch,proto3,oneof"`
}
func (*ValueMatcher_NullMatch_) MarshalTo ¶
func (m *ValueMatcher_NullMatch_) MarshalTo(dAtA []byte) (int, error)
func (*ValueMatcher_NullMatch_) MarshalToSizedBuffer ¶
func (m *ValueMatcher_NullMatch_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValueMatcher_NullMatch_) Size ¶
func (m *ValueMatcher_NullMatch_) Size() (n int)
type ValueMatcher_PresentMatch ¶
type ValueMatcher_PresentMatch struct {
PresentMatch bool `protobuf:"varint,5,opt,name=present_match,json=presentMatch,proto3,oneof"`
}
func (*ValueMatcher_PresentMatch) MarshalTo ¶
func (m *ValueMatcher_PresentMatch) MarshalTo(dAtA []byte) (int, error)
func (*ValueMatcher_PresentMatch) MarshalToSizedBuffer ¶
func (m *ValueMatcher_PresentMatch) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValueMatcher_PresentMatch) Size ¶
func (m *ValueMatcher_PresentMatch) Size() (n int)
type ValueMatcher_StringMatch ¶
type ValueMatcher_StringMatch struct {
StringMatch *StringMatcher `protobuf:"bytes,3,opt,name=string_match,json=stringMatch,proto3,oneof"`
}
func (*ValueMatcher_StringMatch) MarshalTo ¶
func (m *ValueMatcher_StringMatch) MarshalTo(dAtA []byte) (int, error)
func (*ValueMatcher_StringMatch) MarshalToSizedBuffer ¶
func (m *ValueMatcher_StringMatch) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValueMatcher_StringMatch) Size ¶
func (m *ValueMatcher_StringMatch) Size() (n int)