Documentation ¶
Index ¶
- Variables
- type CollectionMatchOp
- func (CollectionMatchOp) Descriptor() protoreflect.EnumDescriptor
- func (x CollectionMatchOp) Enum() *CollectionMatchOp
- func (CollectionMatchOp) EnumDescriptor() ([]byte, []int)deprecated
- func (x CollectionMatchOp) Number() protoreflect.EnumNumber
- func (x CollectionMatchOp) String() string
- func (CollectionMatchOp) Type() protoreflect.EnumType
- type CollectionQuery
- func (*CollectionQuery) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionQuery) GetMatchOp() CollectionMatchOp
- func (x *CollectionQuery) GetValues() []string
- func (q *CollectionQuery) Matches(c []string) (bool, error)
- func (*CollectionQuery) ProtoMessage()
- func (x *CollectionQuery) ProtoReflect() protoreflect.Message
- func (x *CollectionQuery) Reset()
- func (x *CollectionQuery) String() string
- type NamespacedName
- func (*NamespacedName) Descriptor() ([]byte, []int)deprecated
- func (x *NamespacedName) GetName() string
- func (x *NamespacedName) GetNamespace() string
- func (*NamespacedName) ProtoMessage()
- func (x *NamespacedName) ProtoReflect() protoreflect.Message
- func (x *NamespacedName) Reset()
- func (x *NamespacedName) String() string
- type StringMatchOp
- func (StringMatchOp) Descriptor() protoreflect.EnumDescriptor
- func (x StringMatchOp) Enum() *StringMatchOp
- func (StringMatchOp) EnumDescriptor() ([]byte, []int)deprecated
- func (x StringMatchOp) Number() protoreflect.EnumNumber
- func (x StringMatchOp) String() string
- func (StringMatchOp) Type() protoreflect.EnumType
- type StringQuery
- func (*StringQuery) Descriptor() ([]byte, []int)deprecated
- func (x *StringQuery) GetMatchOp() StringMatchOp
- func (x *StringQuery) GetValue() string
- func (q *StringQuery) Matches(s string) (bool, error)
- func (*StringQuery) ProtoMessage()
- func (x *StringQuery) ProtoReflect() protoreflect.Message
- func (x *StringQuery) Reset()
- func (x *StringQuery) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StringMatchOp_name = map[int32]string{ 0: "Equal", 1: "NotEqual", 2: "RegexMatch", 3: "RegexNotMatch", } StringMatchOp_value = map[string]int32{ "Equal": 0, "NotEqual": 1, "RegexMatch": 2, "RegexNotMatch": 3, } )
Enum value maps for StringMatchOp.
View Source
var ( CollectionMatchOp_name = map[int32]string{ 0: "ContainsAllOf", 1: "ContainsAnyOf", } CollectionMatchOp_value = map[string]int32{ "ContainsAllOf": 0, "ContainsAnyOf": 1, } )
Enum value maps for CollectionMatchOp.
View Source
var File_pkg_apis_core_core_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CollectionMatchOp ¶
type CollectionMatchOp int32
const ( // ContainsAllOf matches collections which contain all of the values specified in the query. CollectionMatchOp_ContainsAllOf CollectionMatchOp = 0 // ContainsAllOf matches collections which contain any of the values specified in the query. CollectionMatchOp_ContainsAnyOf CollectionMatchOp = 1 )
func (CollectionMatchOp) Descriptor ¶
func (CollectionMatchOp) Descriptor() protoreflect.EnumDescriptor
func (CollectionMatchOp) Enum ¶
func (x CollectionMatchOp) Enum() *CollectionMatchOp
func (CollectionMatchOp) EnumDescriptor
deprecated
func (CollectionMatchOp) EnumDescriptor() ([]byte, []int)
Deprecated: Use CollectionMatchOp.Descriptor instead.
func (CollectionMatchOp) Number ¶
func (x CollectionMatchOp) Number() protoreflect.EnumNumber
func (CollectionMatchOp) String ¶
func (x CollectionMatchOp) String() string
func (CollectionMatchOp) Type ¶
func (CollectionMatchOp) Type() protoreflect.EnumType
type CollectionQuery ¶
type CollectionQuery struct { Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` MatchOp CollectionMatchOp `protobuf:"varint,2,opt,name=match_op,json=matchOp,proto3,enum=core.CollectionMatchOp" json:"match_op,omitempty"` // contains filtered or unexported fields }
func (*CollectionQuery) Descriptor
deprecated
func (*CollectionQuery) Descriptor() ([]byte, []int)
Deprecated: Use CollectionQuery.ProtoReflect.Descriptor instead.
func (*CollectionQuery) GetMatchOp ¶
func (x *CollectionQuery) GetMatchOp() CollectionMatchOp
func (*CollectionQuery) GetValues ¶
func (x *CollectionQuery) GetValues() []string
func (*CollectionQuery) ProtoMessage ¶
func (*CollectionQuery) ProtoMessage()
func (*CollectionQuery) ProtoReflect ¶
func (x *CollectionQuery) ProtoReflect() protoreflect.Message
func (*CollectionQuery) Reset ¶
func (x *CollectionQuery) Reset()
func (*CollectionQuery) String ¶
func (x *CollectionQuery) String() string
type NamespacedName ¶
type NamespacedName struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*NamespacedName) Descriptor
deprecated
func (*NamespacedName) Descriptor() ([]byte, []int)
Deprecated: Use NamespacedName.ProtoReflect.Descriptor instead.
func (*NamespacedName) GetName ¶
func (x *NamespacedName) GetName() string
func (*NamespacedName) GetNamespace ¶
func (x *NamespacedName) GetNamespace() string
func (*NamespacedName) ProtoMessage ¶
func (*NamespacedName) ProtoMessage()
func (*NamespacedName) ProtoReflect ¶
func (x *NamespacedName) ProtoReflect() protoreflect.Message
func (*NamespacedName) Reset ¶
func (x *NamespacedName) Reset()
func (*NamespacedName) String ¶
func (x *NamespacedName) String() string
type StringMatchOp ¶
type StringMatchOp int32
const ( StringMatchOp_Equal StringMatchOp = 0 StringMatchOp_NotEqual StringMatchOp = 1 StringMatchOp_RegexMatch StringMatchOp = 2 StringMatchOp_RegexNotMatch StringMatchOp = 3 )
func (StringMatchOp) Descriptor ¶
func (StringMatchOp) Descriptor() protoreflect.EnumDescriptor
func (StringMatchOp) Enum ¶
func (x StringMatchOp) Enum() *StringMatchOp
func (StringMatchOp) EnumDescriptor
deprecated
func (StringMatchOp) EnumDescriptor() ([]byte, []int)
Deprecated: Use StringMatchOp.Descriptor instead.
func (StringMatchOp) Number ¶
func (x StringMatchOp) Number() protoreflect.EnumNumber
func (StringMatchOp) String ¶
func (x StringMatchOp) String() string
func (StringMatchOp) Type ¶
func (StringMatchOp) Type() protoreflect.EnumType
type StringQuery ¶
type StringQuery struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` MatchOp StringMatchOp `protobuf:"varint,2,opt,name=match_op,json=matchOp,proto3,enum=core.StringMatchOp" json:"match_op,omitempty"` // contains filtered or unexported fields }
func (*StringQuery) Descriptor
deprecated
func (*StringQuery) Descriptor() ([]byte, []int)
Deprecated: Use StringQuery.ProtoReflect.Descriptor instead.
func (*StringQuery) GetMatchOp ¶
func (x *StringQuery) GetMatchOp() StringMatchOp
func (*StringQuery) GetValue ¶
func (x *StringQuery) GetValue() string
func (*StringQuery) ProtoMessage ¶
func (*StringQuery) ProtoMessage()
func (*StringQuery) ProtoReflect ¶
func (x *StringQuery) ProtoReflect() protoreflect.Message
func (*StringQuery) Reset ¶
func (x *StringQuery) Reset()
func (*StringQuery) String ¶
func (x *StringQuery) String() string
Click to show internal directories.
Click to hide internal directories.