Documentation
¶
Index ¶
- type DoubleMatcher
- func (*DoubleMatcher) Descriptor() ([]byte, []int)
- func (m *DoubleMatcher) GetExact() float64
- func (m *DoubleMatcher) GetMatchPattern() isDoubleMatcher_MatchPattern
- func (m *DoubleMatcher) GetRange() *_type.DoubleRange
- func (*DoubleMatcher) ProtoMessage()
- func (m *DoubleMatcher) Reset()
- func (m *DoubleMatcher) String() string
- 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 DoubleMatcher_Exact
- type DoubleMatcher_Range
- type ListMatcher
- func (*ListMatcher) Descriptor() ([]byte, []int)
- func (m *ListMatcher) GetMatchPattern() isListMatcher_MatchPattern
- func (m *ListMatcher) GetOneOf() *ValueMatcher
- func (*ListMatcher) ProtoMessage()
- func (m *ListMatcher) Reset()
- func (m *ListMatcher) String() string
- 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 ListMatcher_OneOf
- type ListStringMatcher
- func (*ListStringMatcher) Descriptor() ([]byte, []int)
- func (m *ListStringMatcher) GetPatterns() []*StringMatcher
- func (*ListStringMatcher) ProtoMessage()
- func (m *ListStringMatcher) Reset()
- func (m *ListStringMatcher) String() string
- 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 MetadataMatcher
- func (*MetadataMatcher) Descriptor() ([]byte, []int)
- func (m *MetadataMatcher) GetFilter() string
- func (m *MetadataMatcher) GetPath() []*MetadataMatcher_PathSegment
- func (m *MetadataMatcher) GetValue() *ValueMatcher
- func (*MetadataMatcher) ProtoMessage()
- func (m *MetadataMatcher) Reset()
- func (m *MetadataMatcher) String() string
- 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 MetadataMatcher_PathSegment
- func (*MetadataMatcher_PathSegment) Descriptor() ([]byte, []int)
- func (m *MetadataMatcher_PathSegment) GetKey() string
- func (m *MetadataMatcher_PathSegment) GetSegment() isMetadataMatcher_PathSegment_Segment
- func (*MetadataMatcher_PathSegment) ProtoMessage()
- func (m *MetadataMatcher_PathSegment) Reset()
- func (m *MetadataMatcher_PathSegment) String() string
- 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_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 (*RegexMatcher) ProtoMessage()
- func (m *RegexMatcher) Reset()
- func (m *RegexMatcher) String() string
- 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 RegexMatcher_GoogleRE2
- func (*RegexMatcher_GoogleRE2) Descriptor() ([]byte, []int)
- func (m *RegexMatcher_GoogleRE2) GetMaxProgramSize() *types.UInt32Value
- func (*RegexMatcher_GoogleRE2) ProtoMessage()
- func (m *RegexMatcher_GoogleRE2) Reset()
- func (m *RegexMatcher_GoogleRE2) String() string
- 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_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) GetRegex() stringdeprecated
- func (m *StringMatcher) GetSafeRegex() *RegexMatcher
- func (m *StringMatcher) GetSuffix() string
- func (*StringMatcher) ProtoMessage()
- func (m *StringMatcher) Reset()
- func (m *StringMatcher) String() string
- 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 StringMatcher_Exact
- type StringMatcher_Prefix
- type StringMatcher_Regex
- 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 (*ValueMatcher) ProtoMessage()
- func (m *ValueMatcher) Reset()
- func (m *ValueMatcher) String() string
- 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 ValueMatcher_BoolMatch
- type ValueMatcher_DoubleMatch
- type ValueMatcher_ListMatch
- type ValueMatcher_NullMatch
- func (*ValueMatcher_NullMatch) Descriptor() ([]byte, []int)
- func (*ValueMatcher_NullMatch) ProtoMessage()
- func (m *ValueMatcher_NullMatch) Reset()
- func (m *ValueMatcher_NullMatch) String() string
- 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_NullMatch_
- type ValueMatcher_PresentMatch
- type ValueMatcher_StringMatch
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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() *_type.DoubleRange
func (*DoubleMatcher) ProtoMessage ¶
func (*DoubleMatcher) ProtoMessage()
func (*DoubleMatcher) Reset ¶
func (m *DoubleMatcher) Reset()
func (*DoubleMatcher) String ¶
func (m *DoubleMatcher) String() string
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 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 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) ProtoMessage ¶
func (*ListMatcher) ProtoMessage()
func (*ListMatcher) Reset ¶
func (m *ListMatcher) Reset()
func (*ListMatcher) String ¶
func (m *ListMatcher) String() string
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 ListMatcher_OneOf ¶
type ListMatcher_OneOf struct {
OneOf *ValueMatcher `protobuf:"bytes,1,opt,name=one_of,json=oneOf,proto3,oneof"`
}
type ListStringMatcher ¶
type ListStringMatcher struct { Patterns []*StringMatcher `protobuf:"bytes,1,rep,name=patterns,proto3" json:"patterns,omitempty"` 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) ProtoMessage ¶
func (*ListStringMatcher) ProtoMessage()
func (*ListStringMatcher) Reset ¶
func (m *ListStringMatcher) Reset()
func (*ListStringMatcher) String ¶
func (m *ListStringMatcher) String() string
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 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_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.v2.Permission>` and :ref:`Principal <envoy_api_msg_config.rbac.v2.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) ProtoMessage ¶
func (*MetadataMatcher) ProtoMessage()
func (*MetadataMatcher) Reset ¶
func (m *MetadataMatcher) Reset()
func (*MetadataMatcher) String ¶
func (m *MetadataMatcher) String() string
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 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) ProtoMessage ¶
func (*MetadataMatcher_PathSegment) ProtoMessage()
func (*MetadataMatcher_PathSegment) Reset ¶
func (m *MetadataMatcher_PathSegment) Reset()
func (*MetadataMatcher_PathSegment) String ¶
func (m *MetadataMatcher_PathSegment) String() string
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_PathSegment_Key ¶
type MetadataMatcher_PathSegment_Key struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3,oneof"`
}
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) ProtoMessage ¶
func (*RegexMatcher) ProtoMessage()
func (*RegexMatcher) Reset ¶
func (m *RegexMatcher) Reset()
func (*RegexMatcher) String ¶
func (m *RegexMatcher) String() string
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 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) ProtoMessage ¶
func (*RegexMatcher_GoogleRE2) ProtoMessage()
func (*RegexMatcher_GoogleRE2) Reset ¶
func (m *RegexMatcher_GoogleRE2) Reset()
func (*RegexMatcher_GoogleRE2) String ¶
func (m *RegexMatcher_GoogleRE2) String() string
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_GoogleRe2 ¶
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 valid to be assigned to MatchPattern: // *StringMatcher_Exact // *StringMatcher_Prefix // *StringMatcher_Suffix // *StringMatcher_Regex // *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) GetRegex
deprecated
func (m *StringMatcher) GetRegex() string
Deprecated: Do not use.
func (*StringMatcher) GetSafeRegex ¶
func (m *StringMatcher) GetSafeRegex() *RegexMatcher
func (*StringMatcher) GetSuffix ¶
func (m *StringMatcher) GetSuffix() string
func (*StringMatcher) ProtoMessage ¶
func (*StringMatcher) ProtoMessage()
func (*StringMatcher) Reset ¶
func (m *StringMatcher) Reset()
func (*StringMatcher) String ¶
func (m *StringMatcher) String() string
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 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 {
Regex string `protobuf:"bytes,4,opt,name=regex,proto3,oneof"`
}
type StringMatcher_SafeRegex ¶
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 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) ProtoMessage ¶
func (*ValueMatcher) ProtoMessage()
func (*ValueMatcher) Reset ¶
func (m *ValueMatcher) Reset()
func (*ValueMatcher) String ¶
func (m *ValueMatcher) String() string
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 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 { 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) ProtoMessage ¶
func (*ValueMatcher_NullMatch) ProtoMessage()
func (*ValueMatcher_NullMatch) Reset ¶
func (m *ValueMatcher_NullMatch) Reset()
func (*ValueMatcher_NullMatch) String ¶
func (m *ValueMatcher_NullMatch) String() string
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_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"`
}