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() *_type.DoubleRange
 - func (m *DoubleMatcher) Marshal() (dAtA []byte, err error)
 - func (m *DoubleMatcher) MarshalTo(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 (dst *DoubleMatcher) XXX_Merge(src proto.Message)
 - func (*DoubleMatcher) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
 - func (m *DoubleMatcher) XXX_Size() int
 - func (m *DoubleMatcher) XXX_Unmarshal(b []byte) error
 
- type DoubleMatcherValidationError
 - 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 (*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 (dst *ListMatcher) XXX_Merge(src proto.Message)
 - func (*ListMatcher) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
 - func (m *ListMatcher) XXX_Size() int
 - func (m *ListMatcher) XXX_Unmarshal(b []byte) error
 
- type ListMatcherValidationError
 - 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 (*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 (dst *ListStringMatcher) XXX_Merge(src proto.Message)
 - func (m *ListStringMatcher) XXX_Size() int
 - func (m *ListStringMatcher) XXX_Unmarshal(b []byte) error
 
- type ListStringMatcherValidationError
 - 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 (*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 (dst *MetadataMatcher) XXX_Merge(src proto.Message)
 - func (m *MetadataMatcher) XXX_Size() int
 - func (m *MetadataMatcher) XXX_Unmarshal(b []byte) error
 
- type MetadataMatcherValidationError
 - 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 (*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 (dst *MetadataMatcher_PathSegment) XXX_Merge(src proto.Message)
 - func (*MetadataMatcher_PathSegment) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
 - func (m *MetadataMatcher_PathSegment) XXX_Size() int
 - func (m *MetadataMatcher_PathSegment) XXX_Unmarshal(b []byte) error
 
- type MetadataMatcher_PathSegmentValidationError
 - type MetadataMatcher_PathSegment_Key
 - 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() string
 - func (m *StringMatcher) GetSuffix() string
 - func (m *StringMatcher) Marshal() (dAtA []byte, err error)
 - func (m *StringMatcher) MarshalTo(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 (dst *StringMatcher) XXX_Merge(src proto.Message)
 - func (*StringMatcher) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
 - func (m *StringMatcher) XXX_Size() int
 - func (m *StringMatcher) XXX_Unmarshal(b []byte) error
 
- type StringMatcherValidationError
 - type StringMatcher_Exact
 - type StringMatcher_Prefix
 - type StringMatcher_Regex
 - 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 (*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 (dst *ValueMatcher) XXX_Merge(src proto.Message)
 - func (*ValueMatcher) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
 - func (m *ValueMatcher) XXX_Size() int
 - func (m *ValueMatcher) XXX_Unmarshal(b []byte) error
 
- type ValueMatcherValidationError
 - 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 (*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 (dst *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
 - 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 ( 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() *_type.DoubleRange
func (*DoubleMatcher) Marshal ¶
func (m *DoubleMatcher) Marshal() (dAtA []byte, err 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 (dst *DoubleMatcher) XXX_Merge(src proto.Message)
func (*DoubleMatcher) XXX_OneofFuncs ¶
func (*DoubleMatcher) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs 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 ¶
DoubleMatcherValidationError is the validation error returned by DoubleMatcher.Validate if the designated constraints aren't met.
func (DoubleMatcherValidationError) Error ¶
func (e DoubleMatcherValidationError) Error() string
Error satisfies the builtin error interface
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) Size ¶
func (m *DoubleMatcher_Exact) Size() (n int)
type DoubleMatcher_Range ¶
type DoubleMatcher_Range struct {
	Range *_type.DoubleRange `protobuf:"bytes,1,opt,name=range,oneof"`
}
    func (*DoubleMatcher_Range) MarshalTo ¶
func (m *DoubleMatcher_Range) MarshalTo(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) 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 (dst *ListMatcher) XXX_Merge(src proto.Message)
func (*ListMatcher) XXX_OneofFuncs ¶
func (*ListMatcher) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs 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 ¶
ListMatcherValidationError is the validation error returned by ListMatcher.Validate if the designated constraints aren't met.
func (ListMatcherValidationError) Error ¶
func (e ListMatcherValidationError) Error() string
Error satisfies the builtin error interface
type ListMatcher_OneOf ¶
type ListMatcher_OneOf struct {
	OneOf *ValueMatcher `protobuf:"bytes,1,opt,name=one_of,json=oneOf,oneof"`
}
    func (*ListMatcher_OneOf) MarshalTo ¶
func (m *ListMatcher_OneOf) MarshalTo(dAtA []byte) (int, error)
func (*ListMatcher_OneOf) Size ¶
func (m *ListMatcher_OneOf) Size() (n int)
type ListStringMatcher ¶ added in v0.6.1
type ListStringMatcher struct {
	Patterns             []*StringMatcher `protobuf:"bytes,1,rep,name=patterns" 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 ¶ added in v0.6.1
func (*ListStringMatcher) Descriptor() ([]byte, []int)
func (*ListStringMatcher) GetPatterns ¶ added in v0.6.1
func (m *ListStringMatcher) GetPatterns() []*StringMatcher
func (*ListStringMatcher) Marshal ¶ added in v0.6.1
func (m *ListStringMatcher) Marshal() (dAtA []byte, err error)
func (*ListStringMatcher) MarshalTo ¶ added in v0.6.1
func (m *ListStringMatcher) MarshalTo(dAtA []byte) (int, error)
func (*ListStringMatcher) ProtoMessage ¶ added in v0.6.1
func (*ListStringMatcher) ProtoMessage()
func (*ListStringMatcher) Reset ¶ added in v0.6.1
func (m *ListStringMatcher) Reset()
func (*ListStringMatcher) Size ¶ added in v0.6.1
func (m *ListStringMatcher) Size() (n int)
func (*ListStringMatcher) String ¶ added in v0.6.1
func (m *ListStringMatcher) String() string
func (*ListStringMatcher) Unmarshal ¶ added in v0.6.1
func (m *ListStringMatcher) Unmarshal(dAtA []byte) error
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.
func (*ListStringMatcher) XXX_DiscardUnknown ¶ added in v0.6.1
func (m *ListStringMatcher) XXX_DiscardUnknown()
func (*ListStringMatcher) XXX_Marshal ¶ added in v0.6.1
func (m *ListStringMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListStringMatcher) XXX_Merge ¶ added in v0.6.1
func (dst *ListStringMatcher) XXX_Merge(src proto.Message)
func (*ListStringMatcher) XXX_Size ¶ added in v0.6.1
func (m *ListStringMatcher) XXX_Size() int
func (*ListStringMatcher) XXX_Unmarshal ¶ added in v0.6.1
func (m *ListStringMatcher) XXX_Unmarshal(b []byte) error
type ListStringMatcherValidationError ¶ added in v0.6.1
ListStringMatcherValidationError is the validation error returned by ListStringMatcher.Validate if the designated constraints aren't met.
func (ListStringMatcherValidationError) Error ¶ added in v0.6.1
func (e ListStringMatcherValidationError) Error() string
Error satisfies the builtin error interface
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" 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" 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.v2alpha.Permission>` and :ref:`Principal <envoy_api_msg_config.rbac.v2alpha.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) 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 (dst *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 ¶
MetadataMatcherValidationError is the validation error returned by MetadataMatcher.Validate if the designated constraints aren't met.
func (MetadataMatcherValidationError) Error ¶
func (e MetadataMatcherValidationError) Error() string
Error satisfies the builtin error interface
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) 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 (dst *MetadataMatcher_PathSegment) XXX_Merge(src proto.Message)
func (*MetadataMatcher_PathSegment) XXX_OneofFuncs ¶
func (*MetadataMatcher_PathSegment) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs 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 {
	Field  string
	Reason string
	Cause  error
	Key    bool
}
    MetadataMatcher_PathSegmentValidationError is the validation error returned by MetadataMatcher_PathSegment.Validate if the designated constraints aren't met.
func (MetadataMatcher_PathSegmentValidationError) Error ¶
func (e MetadataMatcher_PathSegmentValidationError) Error() string
Error satisfies the builtin error interface
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) Size ¶
func (m *MetadataMatcher_PathSegment_Key) Size() (n int)
type StringMatcher ¶
type StringMatcher struct {
	// Types that are valid to be assigned to MatchPattern:
	//	*StringMatcher_Exact
	//	*StringMatcher_Prefix
	//	*StringMatcher_Suffix
	//	*StringMatcher_Regex
	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.
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 ¶
func (m *StringMatcher) GetRegex() string
func (*StringMatcher) GetSuffix ¶
func (m *StringMatcher) GetSuffix() string
func (*StringMatcher) Marshal ¶
func (m *StringMatcher) Marshal() (dAtA []byte, err 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 (dst *StringMatcher) XXX_Merge(src proto.Message)
func (*StringMatcher) XXX_OneofFuncs ¶
func (*StringMatcher) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs 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 ¶
StringMatcherValidationError is the validation error returned by StringMatcher.Validate if the designated constraints aren't met.
func (StringMatcherValidationError) Error ¶
func (e StringMatcherValidationError) Error() string
Error satisfies the builtin error interface
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) 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) Size ¶
func (m *StringMatcher_Prefix) Size() (n int)
type StringMatcher_Regex ¶
type StringMatcher_Regex struct {
	Regex string `protobuf:"bytes,4,opt,name=regex,proto3,oneof"`
}
    func (*StringMatcher_Regex) MarshalTo ¶
func (m *StringMatcher_Regex) MarshalTo(dAtA []byte) (int, error)
func (*StringMatcher_Regex) Size ¶
func (m *StringMatcher_Regex) 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) 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.
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) 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 (dst *ValueMatcher) XXX_Merge(src proto.Message)
func (*ValueMatcher) XXX_OneofFuncs ¶
func (*ValueMatcher) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs 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 ¶
ValueMatcherValidationError is the validation error returned by ValueMatcher.Validate if the designated constraints aren't met.
func (ValueMatcherValidationError) Error ¶
func (e ValueMatcherValidationError) Error() string
Error satisfies the builtin error interface
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) 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,oneof"`
}
    func (*ValueMatcher_DoubleMatch) MarshalTo ¶
func (m *ValueMatcher_DoubleMatch) MarshalTo(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,oneof"`
}
    func (*ValueMatcher_ListMatch) MarshalTo ¶
func (m *ValueMatcher_ListMatch) MarshalTo(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) 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 (dst *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 {
	Field  string
	Reason string
	Cause  error
	Key    bool
}
    ValueMatcher_NullMatchValidationError is the validation error returned by ValueMatcher_NullMatch.Validate if the designated constraints aren't met.
func (ValueMatcher_NullMatchValidationError) Error ¶
func (e ValueMatcher_NullMatchValidationError) Error() string
Error satisfies the builtin error interface
type ValueMatcher_NullMatch_ ¶
type ValueMatcher_NullMatch_ struct {
	NullMatch *ValueMatcher_NullMatch `protobuf:"bytes,1,opt,name=null_match,json=nullMatch,oneof"`
}
    func (*ValueMatcher_NullMatch_) MarshalTo ¶
func (m *ValueMatcher_NullMatch_) MarshalTo(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) 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,oneof"`
}
    func (*ValueMatcher_StringMatch) MarshalTo ¶
func (m *ValueMatcher_StringMatch) MarshalTo(dAtA []byte) (int, error)
func (*ValueMatcher_StringMatch) Size ¶
func (m *ValueMatcher_StringMatch) Size() (n int)