Documentation ¶
Index ¶
- Variables
- type BoolFilter
- func (*BoolFilter) Descriptor() ([]byte, []int)
- func (b *BoolFilter) Eval(g common.Getter) bool
- func (m *BoolFilter) GetFilters() []*Filter
- func (m *BoolFilter) GetOp() BoolFilterOp
- func (m *BoolFilter) Marshal() (dAtA []byte, err error)
- func (m *BoolFilter) MarshalTo(dAtA []byte) (int, error)
- func (m *BoolFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BoolFilter) ProtoMessage()
- func (m *BoolFilter) ProtoSize() (n int)
- func (m *BoolFilter) Reset()
- func (m *BoolFilter) String() string
- func (m *BoolFilter) Unmarshal(dAtA []byte) error
- func (m *BoolFilter) XXX_DiscardUnknown()
- func (m *BoolFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BoolFilter) XXX_Merge(src proto.Message)
- func (m *BoolFilter) XXX_Size() int
- func (m *BoolFilter) XXX_Unmarshal(b []byte) error
- type BoolFilterOp
- type Filter
- func NewAndFilter(filters ...*Filter) *Filter
- func NewBoolFilter(op BoolFilterOp, filters ...*Filter) *Filter
- func NewFilterActiveIn(fr Range, prefix string) *Filter
- func NewFilterIncludedIn(fr Range, prefix string) *Filter
- func NewGtInt64Filter(key string, value int64) *Filter
- func NewGteInt64Filter(key string, value int64) *Filter
- func NewLtInt64Filter(key string, value int64) *Filter
- func NewLteInt64Filter(key string, value int64) *Filter
- func NewNotFilter(filter *Filter) *Filter
- func NewNotNullFilter(key string) *Filter
- func NewNullFilter(key string) *Filter
- func NewOrFilter(filters ...*Filter) *Filter
- func NewOrTermStringFilter(values []string, attrs ...string) *Filter
- func NewTermBoolFilter(key string, value bool) *Filter
- func NewTermInt64Filter(key string, value int64) *Filter
- func NewTermStringFilter(key string, value string) *Filter
- func (*Filter) Descriptor() ([]byte, []int)
- func (f *Filter) Eval(g common.Getter) bool
- func (m *Filter) GetBoolFilter() *BoolFilter
- func (m *Filter) GetGtInt64Filter() *GtInt64Filter
- func (m *Filter) GetGteInt64Filter() *GteInt64Filter
- func (m *Filter) GetIPV4RangeFilter() *IPV4RangeFilter
- func (m *Filter) GetLtInt64Filter() *LtInt64Filter
- func (m *Filter) GetLteInt64Filter() *LteInt64Filter
- func (m *Filter) GetNullFilter() *NullFilter
- func (m *Filter) GetRegexFilter() *RegexFilter
- func (m *Filter) GetTermBoolFilter() *TermBoolFilter
- func (m *Filter) GetTermInt64Filter() *TermInt64Filter
- func (m *Filter) GetTermStringFilter() *TermStringFilter
- func (m *Filter) Marshal() (dAtA []byte, err error)
- func (m *Filter) MarshalTo(dAtA []byte) (int, error)
- func (m *Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Filter) ProtoMessage()
- func (m *Filter) ProtoSize() (n int)
- func (m *Filter) Reset()
- func (m *Filter) String() string
- func (m *Filter) Unmarshal(dAtA []byte) error
- func (m *Filter) XXX_DiscardUnknown()
- func (m *Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Filter) XXX_Merge(src proto.Message)
- func (m *Filter) XXX_Size() int
- func (m *Filter) XXX_Unmarshal(b []byte) error
- type GtInt64Filter
- func (*GtInt64Filter) Descriptor() ([]byte, []int)
- func (m *GtInt64Filter) GetKey() string
- func (m *GtInt64Filter) GetValue() int64
- func (m *GtInt64Filter) Marshal() (dAtA []byte, err error)
- func (m *GtInt64Filter) MarshalTo(dAtA []byte) (int, error)
- func (m *GtInt64Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GtInt64Filter) ProtoMessage()
- func (m *GtInt64Filter) ProtoSize() (n int)
- func (m *GtInt64Filter) Reset()
- func (m *GtInt64Filter) String() string
- func (m *GtInt64Filter) Unmarshal(dAtA []byte) error
- func (m *GtInt64Filter) XXX_DiscardUnknown()
- func (m *GtInt64Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GtInt64Filter) XXX_Merge(src proto.Message)
- func (m *GtInt64Filter) XXX_Size() int
- func (m *GtInt64Filter) XXX_Unmarshal(b []byte) error
- type GteInt64Filter
- func (*GteInt64Filter) Descriptor() ([]byte, []int)
- func (m *GteInt64Filter) GetKey() string
- func (m *GteInt64Filter) GetValue() int64
- func (m *GteInt64Filter) Marshal() (dAtA []byte, err error)
- func (m *GteInt64Filter) MarshalTo(dAtA []byte) (int, error)
- func (m *GteInt64Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GteInt64Filter) ProtoMessage()
- func (m *GteInt64Filter) ProtoSize() (n int)
- func (m *GteInt64Filter) Reset()
- func (m *GteInt64Filter) String() string
- func (m *GteInt64Filter) Unmarshal(dAtA []byte) error
- func (m *GteInt64Filter) XXX_DiscardUnknown()
- func (m *GteInt64Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GteInt64Filter) XXX_Merge(src proto.Message)
- func (m *GteInt64Filter) XXX_Size() int
- func (m *GteInt64Filter) XXX_Unmarshal(b []byte) error
- type IPV4RangeFilter
- func (*IPV4RangeFilter) Descriptor() ([]byte, []int)
- func (m *IPV4RangeFilter) GetKey() string
- func (m *IPV4RangeFilter) GetValue() string
- func (m *IPV4RangeFilter) Marshal() (dAtA []byte, err error)
- func (m *IPV4RangeFilter) MarshalTo(dAtA []byte) (int, error)
- func (m *IPV4RangeFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IPV4RangeFilter) ProtoMessage()
- func (m *IPV4RangeFilter) ProtoSize() (n int)
- func (m *IPV4RangeFilter) Reset()
- func (m *IPV4RangeFilter) String() string
- func (m *IPV4RangeFilter) Unmarshal(dAtA []byte) error
- func (m *IPV4RangeFilter) XXX_DiscardUnknown()
- func (m *IPV4RangeFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IPV4RangeFilter) XXX_Merge(src proto.Message)
- func (m *IPV4RangeFilter) XXX_Size() int
- func (m *IPV4RangeFilter) XXX_Unmarshal(b []byte) error
- type LtInt64Filter
- func (*LtInt64Filter) Descriptor() ([]byte, []int)
- func (m *LtInt64Filter) GetKey() string
- func (m *LtInt64Filter) GetValue() int64
- func (m *LtInt64Filter) Marshal() (dAtA []byte, err error)
- func (m *LtInt64Filter) MarshalTo(dAtA []byte) (int, error)
- func (m *LtInt64Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LtInt64Filter) ProtoMessage()
- func (m *LtInt64Filter) ProtoSize() (n int)
- func (m *LtInt64Filter) Reset()
- func (m *LtInt64Filter) String() string
- func (m *LtInt64Filter) Unmarshal(dAtA []byte) error
- func (m *LtInt64Filter) XXX_DiscardUnknown()
- func (m *LtInt64Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LtInt64Filter) XXX_Merge(src proto.Message)
- func (m *LtInt64Filter) XXX_Size() int
- func (m *LtInt64Filter) XXX_Unmarshal(b []byte) error
- type LteInt64Filter
- func (*LteInt64Filter) Descriptor() ([]byte, []int)
- func (m *LteInt64Filter) GetKey() string
- func (m *LteInt64Filter) GetValue() int64
- func (m *LteInt64Filter) Marshal() (dAtA []byte, err error)
- func (m *LteInt64Filter) MarshalTo(dAtA []byte) (int, error)
- func (m *LteInt64Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LteInt64Filter) ProtoMessage()
- func (m *LteInt64Filter) ProtoSize() (n int)
- func (m *LteInt64Filter) Reset()
- func (m *LteInt64Filter) String() string
- func (m *LteInt64Filter) Unmarshal(dAtA []byte) error
- func (m *LteInt64Filter) XXX_DiscardUnknown()
- func (m *LteInt64Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LteInt64Filter) XXX_Merge(src proto.Message)
- func (m *LteInt64Filter) XXX_Size() int
- func (m *LteInt64Filter) XXX_Unmarshal(b []byte) error
- type NeInt64Filter
- func (*NeInt64Filter) Descriptor() ([]byte, []int)
- func (m *NeInt64Filter) GetKey() string
- func (m *NeInt64Filter) GetValue() int64
- func (m *NeInt64Filter) Marshal() (dAtA []byte, err error)
- func (m *NeInt64Filter) MarshalTo(dAtA []byte) (int, error)
- func (m *NeInt64Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NeInt64Filter) ProtoMessage()
- func (m *NeInt64Filter) ProtoSize() (n int)
- func (m *NeInt64Filter) Reset()
- func (m *NeInt64Filter) String() string
- func (m *NeInt64Filter) Unmarshal(dAtA []byte) error
- func (m *NeInt64Filter) XXX_DiscardUnknown()
- func (m *NeInt64Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NeInt64Filter) XXX_Merge(src proto.Message)
- func (m *NeInt64Filter) XXX_Size() int
- func (m *NeInt64Filter) XXX_Unmarshal(b []byte) error
- type NeStringFilter
- func (*NeStringFilter) Descriptor() ([]byte, []int)
- func (m *NeStringFilter) GetKey() string
- func (m *NeStringFilter) GetValue() string
- func (m *NeStringFilter) Marshal() (dAtA []byte, err error)
- func (m *NeStringFilter) MarshalTo(dAtA []byte) (int, error)
- func (m *NeStringFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NeStringFilter) ProtoMessage()
- func (m *NeStringFilter) ProtoSize() (n int)
- func (m *NeStringFilter) Reset()
- func (m *NeStringFilter) String() string
- func (m *NeStringFilter) Unmarshal(dAtA []byte) error
- func (m *NeStringFilter) XXX_DiscardUnknown()
- func (m *NeStringFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NeStringFilter) XXX_Merge(src proto.Message)
- func (m *NeStringFilter) XXX_Size() int
- func (m *NeStringFilter) XXX_Unmarshal(b []byte) error
- type NullFilter
- func (*NullFilter) Descriptor() ([]byte, []int)
- func (m *NullFilter) GetKey() string
- func (m *NullFilter) Marshal() (dAtA []byte, err error)
- func (m *NullFilter) MarshalTo(dAtA []byte) (int, error)
- func (m *NullFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NullFilter) ProtoMessage()
- func (m *NullFilter) ProtoSize() (n int)
- func (m *NullFilter) Reset()
- func (m *NullFilter) String() string
- func (m *NullFilter) Unmarshal(dAtA []byte) error
- func (m *NullFilter) XXX_DiscardUnknown()
- func (m *NullFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NullFilter) XXX_Merge(src proto.Message)
- func (m *NullFilter) XXX_Size() int
- func (m *NullFilter) XXX_Unmarshal(b []byte) error
- type Range
- func (*Range) Descriptor() ([]byte, []int)
- func (m *Range) GetFrom() int64
- func (m *Range) GetTo() int64
- func (m *Range) Marshal() (dAtA []byte, err error)
- func (m *Range) MarshalTo(dAtA []byte) (int, error)
- func (m *Range) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Range) ProtoMessage()
- func (m *Range) ProtoSize() (n int)
- func (m *Range) Reset()
- func (m *Range) String() string
- func (m *Range) Unmarshal(dAtA []byte) error
- func (m *Range) XXX_DiscardUnknown()
- func (m *Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Range) XXX_Merge(src proto.Message)
- func (m *Range) XXX_Size() int
- func (m *Range) XXX_Unmarshal(b []byte) error
- type RegexFilter
- func (*RegexFilter) Descriptor() ([]byte, []int)
- func (m *RegexFilter) GetKey() string
- func (m *RegexFilter) GetValue() string
- func (m *RegexFilter) Marshal() (dAtA []byte, err error)
- func (m *RegexFilter) MarshalTo(dAtA []byte) (int, error)
- func (m *RegexFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RegexFilter) ProtoMessage()
- func (m *RegexFilter) ProtoSize() (n int)
- func (m *RegexFilter) Reset()
- func (m *RegexFilter) String() string
- func (m *RegexFilter) Unmarshal(dAtA []byte) error
- func (m *RegexFilter) XXX_DiscardUnknown()
- func (m *RegexFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegexFilter) XXX_Merge(src proto.Message)
- func (m *RegexFilter) XXX_Size() int
- func (m *RegexFilter) XXX_Unmarshal(b []byte) error
- type SearchQuery
- func (*SearchQuery) Descriptor() ([]byte, []int)
- func (m *SearchQuery) GetDedup() bool
- func (m *SearchQuery) GetDedupBy() string
- func (m *SearchQuery) GetFilter() *Filter
- func (m *SearchQuery) GetPaginationRange() *Range
- func (m *SearchQuery) GetSort() bool
- func (m *SearchQuery) GetSortBy() string
- func (m *SearchQuery) GetSortOrder() string
- func (m *SearchQuery) Marshal() (dAtA []byte, err error)
- func (m *SearchQuery) MarshalTo(dAtA []byte) (int, error)
- func (m *SearchQuery) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SearchQuery) ProtoMessage()
- func (m *SearchQuery) ProtoSize() (n int)
- func (m *SearchQuery) Reset()
- func (m *SearchQuery) String() string
- func (m *SearchQuery) Unmarshal(dAtA []byte) error
- func (m *SearchQuery) XXX_DiscardUnknown()
- func (m *SearchQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchQuery) XXX_Merge(src proto.Message)
- func (m *SearchQuery) XXX_Size() int
- func (m *SearchQuery) XXX_Unmarshal(b []byte) error
- type TermBoolFilter
- func (*TermBoolFilter) Descriptor() ([]byte, []int)
- func (m *TermBoolFilter) GetKey() string
- func (m *TermBoolFilter) GetValue() bool
- func (m *TermBoolFilter) Marshal() (dAtA []byte, err error)
- func (m *TermBoolFilter) MarshalTo(dAtA []byte) (int, error)
- func (m *TermBoolFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TermBoolFilter) ProtoMessage()
- func (m *TermBoolFilter) ProtoSize() (n int)
- func (m *TermBoolFilter) Reset()
- func (m *TermBoolFilter) String() string
- func (m *TermBoolFilter) Unmarshal(dAtA []byte) error
- func (m *TermBoolFilter) XXX_DiscardUnknown()
- func (m *TermBoolFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TermBoolFilter) XXX_Merge(src proto.Message)
- func (m *TermBoolFilter) XXX_Size() int
- func (m *TermBoolFilter) XXX_Unmarshal(b []byte) error
- type TermInt64Filter
- func (*TermInt64Filter) Descriptor() ([]byte, []int)
- func (m *TermInt64Filter) GetKey() string
- func (m *TermInt64Filter) GetValue() int64
- func (m *TermInt64Filter) Marshal() (dAtA []byte, err error)
- func (m *TermInt64Filter) MarshalTo(dAtA []byte) (int, error)
- func (m *TermInt64Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TermInt64Filter) ProtoMessage()
- func (m *TermInt64Filter) ProtoSize() (n int)
- func (m *TermInt64Filter) Reset()
- func (m *TermInt64Filter) String() string
- func (m *TermInt64Filter) Unmarshal(dAtA []byte) error
- func (m *TermInt64Filter) XXX_DiscardUnknown()
- func (m *TermInt64Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TermInt64Filter) XXX_Merge(src proto.Message)
- func (m *TermInt64Filter) XXX_Size() int
- func (m *TermInt64Filter) XXX_Unmarshal(b []byte) error
- type TermStringFilter
- func (*TermStringFilter) Descriptor() ([]byte, []int)
- func (m *TermStringFilter) GetKey() string
- func (m *TermStringFilter) GetValue() string
- func (m *TermStringFilter) Marshal() (dAtA []byte, err error)
- func (m *TermStringFilter) MarshalTo(dAtA []byte) (int, error)
- func (m *TermStringFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TermStringFilter) ProtoMessage()
- func (m *TermStringFilter) ProtoSize() (n int)
- func (m *TermStringFilter) Reset()
- func (m *TermStringFilter) String() string
- func (m *TermStringFilter) Unmarshal(dAtA []byte) error
- func (m *TermStringFilter) XXX_DiscardUnknown()
- func (m *TermStringFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TermStringFilter) XXX_Merge(src proto.Message)
- func (m *TermStringFilter) XXX_Size() int
- func (m *TermStringFilter) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthFilters = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowFilters = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupFilters = fmt.Errorf("proto: unexpected end of group") )
var BoolFilterOp_name = map[int32]string{
0: "OR",
1: "AND",
2: "NOT",
}
var BoolFilterOp_value = map[string]int32{
"OR": 0,
"AND": 1,
"NOT": 2,
}
Functions ¶
This section is empty.
Types ¶
type BoolFilter ¶ added in v0.26.0
type BoolFilter struct { Op BoolFilterOp `protobuf:"varint,1,opt,name=Op,proto3,enum=filters.BoolFilterOp" json:"Op,omitempty"` Filters []*Filter `protobuf:"bytes,2,rep,name=Filters,proto3" json:"Filters,omitempty"` }
func (*BoolFilter) Descriptor ¶ added in v0.26.0
func (*BoolFilter) Descriptor() ([]byte, []int)
func (*BoolFilter) Eval ¶ added in v0.26.0
func (b *BoolFilter) Eval(g common.Getter) bool
Eval evaluates a boolean (not, and, or) filter
func (*BoolFilter) GetFilters ¶ added in v0.26.0
func (m *BoolFilter) GetFilters() []*Filter
func (*BoolFilter) GetOp ¶ added in v0.26.0
func (m *BoolFilter) GetOp() BoolFilterOp
func (*BoolFilter) Marshal ¶ added in v0.26.0
func (m *BoolFilter) Marshal() (dAtA []byte, err error)
func (*BoolFilter) MarshalTo ¶ added in v0.26.0
func (m *BoolFilter) MarshalTo(dAtA []byte) (int, error)
func (*BoolFilter) MarshalToSizedBuffer ¶ added in v0.26.0
func (m *BoolFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BoolFilter) ProtoMessage ¶ added in v0.26.0
func (*BoolFilter) ProtoMessage()
func (*BoolFilter) ProtoSize ¶ added in v0.26.0
func (m *BoolFilter) ProtoSize() (n int)
func (*BoolFilter) Reset ¶ added in v0.26.0
func (m *BoolFilter) Reset()
func (*BoolFilter) String ¶ added in v0.26.0
func (m *BoolFilter) String() string
func (*BoolFilter) Unmarshal ¶ added in v0.26.0
func (m *BoolFilter) Unmarshal(dAtA []byte) error
func (*BoolFilter) XXX_DiscardUnknown ¶ added in v0.26.0
func (m *BoolFilter) XXX_DiscardUnknown()
func (*BoolFilter) XXX_Marshal ¶ added in v0.26.0
func (m *BoolFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BoolFilter) XXX_Merge ¶ added in v0.26.0
func (m *BoolFilter) XXX_Merge(src proto.Message)
func (*BoolFilter) XXX_Size ¶ added in v0.26.0
func (m *BoolFilter) XXX_Size() int
func (*BoolFilter) XXX_Unmarshal ¶ added in v0.26.0
func (m *BoolFilter) XXX_Unmarshal(b []byte) error
type BoolFilterOp ¶ added in v0.26.0
type BoolFilterOp int32
const ( BoolFilterOp_OR BoolFilterOp = 0 BoolFilterOp_AND BoolFilterOp = 1 BoolFilterOp_NOT BoolFilterOp = 2 )
func (BoolFilterOp) EnumDescriptor ¶ added in v0.26.0
func (BoolFilterOp) EnumDescriptor() ([]byte, []int)
func (BoolFilterOp) String ¶ added in v0.26.0
func (x BoolFilterOp) String() string
type Filter ¶ added in v0.26.0
type Filter struct { TermStringFilter *TermStringFilter `protobuf:"bytes,1,opt,name=TermStringFilter,proto3" json:"TermStringFilter,omitempty"` TermInt64Filter *TermInt64Filter `protobuf:"bytes,2,opt,name=TermInt64Filter,proto3" json:"TermInt64Filter,omitempty"` TermBoolFilter *TermBoolFilter `protobuf:"bytes,3,opt,name=TermBoolFilter,proto3" json:"TermBoolFilter,omitempty"` GtInt64Filter *GtInt64Filter `protobuf:"bytes,4,opt,name=GtInt64Filter,proto3" json:"GtInt64Filter,omitempty"` LtInt64Filter *LtInt64Filter `protobuf:"bytes,5,opt,name=LtInt64Filter,proto3" json:"LtInt64Filter,omitempty"` GteInt64Filter *GteInt64Filter `protobuf:"bytes,6,opt,name=GteInt64Filter,proto3" json:"GteInt64Filter,omitempty"` LteInt64Filter *LteInt64Filter `protobuf:"bytes,7,opt,name=LteInt64Filter,proto3" json:"LteInt64Filter,omitempty"` BoolFilter *BoolFilter `protobuf:"bytes,8,opt,name=BoolFilter,proto3" json:"BoolFilter,omitempty"` RegexFilter *RegexFilter `protobuf:"bytes,9,opt,name=RegexFilter,proto3" json:"RegexFilter,omitempty"` NullFilter *NullFilter `protobuf:"bytes,10,opt,name=NullFilter,proto3" json:"NullFilter,omitempty"` IPV4RangeFilter *IPV4RangeFilter `protobuf:"bytes,11,opt,name=IPV4RangeFilter,proto3" json:"IPV4RangeFilter,omitempty"` }
func NewAndFilter ¶ added in v0.26.0
NewAndFilter creates a new boolean And filter
func NewBoolFilter ¶ added in v0.26.0
func NewBoolFilter(op BoolFilterOp, filters ...*Filter) *Filter
NewBoolFilter creates a new boolean filter
func NewFilterActiveIn ¶ added in v0.26.0
NewFilterActiveIn returns a filter that returns elements that were active in the given time range.
func NewFilterIncludedIn ¶ added in v0.26.0
NewFilterIncludedIn returns a filter that returns elements that include in the time range.
func NewGtInt64Filter ¶ added in v0.26.0
NewGtInt64Filter creates a new > filter
func NewGteInt64Filter ¶ added in v0.26.0
NewGteInt64Filter creates a new >= filter
func NewLtInt64Filter ¶ added in v0.26.0
NewLtInt64Filter creates a new < filter
func NewLteInt64Filter ¶ added in v0.26.0
NewLteInt64Filter creates a new <= filter
func NewNotFilter ¶ added in v0.26.0
NewNotFilter creates a new boolean Not filter
func NewNotNullFilter ¶ added in v0.26.0
NewNotNullFilter returns a filter that returns elements with a field set.
func NewNullFilter ¶ added in v0.26.0
NewNullFilter creates a new null filter
func NewOrFilter ¶ added in v0.26.0
NewOrFilter creates a new boolean Or filter
func NewOrTermStringFilter ¶ added in v0.26.0
NewOrTermStringFilter creates a new "or" filter based on values and attributes
func NewTermBoolFilter ¶ added in v0.26.0
NewTermBoolFilter creates a new bool filter
func NewTermInt64Filter ¶ added in v0.26.0
NewTermInt64Filter creates a new string iny64 filter
func NewTermStringFilter ¶ added in v0.26.0
NewTermStringFilter creates a new string filter
func (*Filter) Descriptor ¶ added in v0.26.0
func (*Filter) GetBoolFilter ¶ added in v0.26.0
func (m *Filter) GetBoolFilter() *BoolFilter
func (*Filter) GetGtInt64Filter ¶ added in v0.26.0
func (m *Filter) GetGtInt64Filter() *GtInt64Filter
func (*Filter) GetGteInt64Filter ¶ added in v0.26.0
func (m *Filter) GetGteInt64Filter() *GteInt64Filter
func (*Filter) GetIPV4RangeFilter ¶ added in v0.26.0
func (m *Filter) GetIPV4RangeFilter() *IPV4RangeFilter
func (*Filter) GetLtInt64Filter ¶ added in v0.26.0
func (m *Filter) GetLtInt64Filter() *LtInt64Filter
func (*Filter) GetLteInt64Filter ¶ added in v0.26.0
func (m *Filter) GetLteInt64Filter() *LteInt64Filter
func (*Filter) GetNullFilter ¶ added in v0.26.0
func (m *Filter) GetNullFilter() *NullFilter
func (*Filter) GetRegexFilter ¶ added in v0.26.0
func (m *Filter) GetRegexFilter() *RegexFilter
func (*Filter) GetTermBoolFilter ¶ added in v0.26.0
func (m *Filter) GetTermBoolFilter() *TermBoolFilter
func (*Filter) GetTermInt64Filter ¶ added in v0.26.0
func (m *Filter) GetTermInt64Filter() *TermInt64Filter
func (*Filter) GetTermStringFilter ¶ added in v0.26.0
func (m *Filter) GetTermStringFilter() *TermStringFilter
func (*Filter) MarshalToSizedBuffer ¶ added in v0.26.0
func (*Filter) ProtoMessage ¶ added in v0.26.0
func (*Filter) ProtoMessage()
func (*Filter) XXX_DiscardUnknown ¶ added in v0.26.0
func (m *Filter) XXX_DiscardUnknown()
func (*Filter) XXX_Marshal ¶ added in v0.26.0
func (*Filter) XXX_Unmarshal ¶ added in v0.26.0
type GtInt64Filter ¶ added in v0.26.0
type GtInt64Filter struct { Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` Value int64 `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"` }
func (*GtInt64Filter) Descriptor ¶ added in v0.26.0
func (*GtInt64Filter) Descriptor() ([]byte, []int)
func (*GtInt64Filter) GetKey ¶ added in v0.26.0
func (m *GtInt64Filter) GetKey() string
func (*GtInt64Filter) GetValue ¶ added in v0.26.0
func (m *GtInt64Filter) GetValue() int64
func (*GtInt64Filter) Marshal ¶ added in v0.26.0
func (m *GtInt64Filter) Marshal() (dAtA []byte, err error)
func (*GtInt64Filter) MarshalTo ¶ added in v0.26.0
func (m *GtInt64Filter) MarshalTo(dAtA []byte) (int, error)
func (*GtInt64Filter) MarshalToSizedBuffer ¶ added in v0.26.0
func (m *GtInt64Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GtInt64Filter) ProtoMessage ¶ added in v0.26.0
func (*GtInt64Filter) ProtoMessage()
func (*GtInt64Filter) ProtoSize ¶ added in v0.26.0
func (m *GtInt64Filter) ProtoSize() (n int)
func (*GtInt64Filter) Reset ¶ added in v0.26.0
func (m *GtInt64Filter) Reset()
func (*GtInt64Filter) String ¶ added in v0.26.0
func (m *GtInt64Filter) String() string
func (*GtInt64Filter) Unmarshal ¶ added in v0.26.0
func (m *GtInt64Filter) Unmarshal(dAtA []byte) error
func (*GtInt64Filter) XXX_DiscardUnknown ¶ added in v0.26.0
func (m *GtInt64Filter) XXX_DiscardUnknown()
func (*GtInt64Filter) XXX_Marshal ¶ added in v0.26.0
func (m *GtInt64Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GtInt64Filter) XXX_Merge ¶ added in v0.26.0
func (m *GtInt64Filter) XXX_Merge(src proto.Message)
func (*GtInt64Filter) XXX_Size ¶ added in v0.26.0
func (m *GtInt64Filter) XXX_Size() int
func (*GtInt64Filter) XXX_Unmarshal ¶ added in v0.26.0
func (m *GtInt64Filter) XXX_Unmarshal(b []byte) error
type GteInt64Filter ¶ added in v0.26.0
type GteInt64Filter struct { Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` Value int64 `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"` }
func (*GteInt64Filter) Descriptor ¶ added in v0.26.0
func (*GteInt64Filter) Descriptor() ([]byte, []int)
func (*GteInt64Filter) GetKey ¶ added in v0.26.0
func (m *GteInt64Filter) GetKey() string
func (*GteInt64Filter) GetValue ¶ added in v0.26.0
func (m *GteInt64Filter) GetValue() int64
func (*GteInt64Filter) Marshal ¶ added in v0.26.0
func (m *GteInt64Filter) Marshal() (dAtA []byte, err error)
func (*GteInt64Filter) MarshalTo ¶ added in v0.26.0
func (m *GteInt64Filter) MarshalTo(dAtA []byte) (int, error)
func (*GteInt64Filter) MarshalToSizedBuffer ¶ added in v0.26.0
func (m *GteInt64Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GteInt64Filter) ProtoMessage ¶ added in v0.26.0
func (*GteInt64Filter) ProtoMessage()
func (*GteInt64Filter) ProtoSize ¶ added in v0.26.0
func (m *GteInt64Filter) ProtoSize() (n int)
func (*GteInt64Filter) Reset ¶ added in v0.26.0
func (m *GteInt64Filter) Reset()
func (*GteInt64Filter) String ¶ added in v0.26.0
func (m *GteInt64Filter) String() string
func (*GteInt64Filter) Unmarshal ¶ added in v0.26.0
func (m *GteInt64Filter) Unmarshal(dAtA []byte) error
func (*GteInt64Filter) XXX_DiscardUnknown ¶ added in v0.26.0
func (m *GteInt64Filter) XXX_DiscardUnknown()
func (*GteInt64Filter) XXX_Marshal ¶ added in v0.26.0
func (m *GteInt64Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GteInt64Filter) XXX_Merge ¶ added in v0.26.0
func (m *GteInt64Filter) XXX_Merge(src proto.Message)
func (*GteInt64Filter) XXX_Size ¶ added in v0.26.0
func (m *GteInt64Filter) XXX_Size() int
func (*GteInt64Filter) XXX_Unmarshal ¶ added in v0.26.0
func (m *GteInt64Filter) XXX_Unmarshal(b []byte) error
type IPV4RangeFilter ¶ added in v0.26.0
type IPV4RangeFilter struct { Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"` }
func NewIPV4RangeFilter ¶ added in v0.26.0
func NewIPV4RangeFilter(key, cidr string) (*IPV4RangeFilter, error)
NewIPV4RangeFilter creates a regex based filter corresponding to the ip range
func (*IPV4RangeFilter) Descriptor ¶ added in v0.26.0
func (*IPV4RangeFilter) Descriptor() ([]byte, []int)
func (*IPV4RangeFilter) GetKey ¶ added in v0.26.0
func (m *IPV4RangeFilter) GetKey() string
func (*IPV4RangeFilter) GetValue ¶ added in v0.26.0
func (m *IPV4RangeFilter) GetValue() string
func (*IPV4RangeFilter) Marshal ¶ added in v0.26.0
func (m *IPV4RangeFilter) Marshal() (dAtA []byte, err error)
func (*IPV4RangeFilter) MarshalTo ¶ added in v0.26.0
func (m *IPV4RangeFilter) MarshalTo(dAtA []byte) (int, error)
func (*IPV4RangeFilter) MarshalToSizedBuffer ¶ added in v0.26.0
func (m *IPV4RangeFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IPV4RangeFilter) ProtoMessage ¶ added in v0.26.0
func (*IPV4RangeFilter) ProtoMessage()
func (*IPV4RangeFilter) ProtoSize ¶ added in v0.26.0
func (m *IPV4RangeFilter) ProtoSize() (n int)
func (*IPV4RangeFilter) Reset ¶ added in v0.26.0
func (m *IPV4RangeFilter) Reset()
func (*IPV4RangeFilter) String ¶ added in v0.26.0
func (m *IPV4RangeFilter) String() string
func (*IPV4RangeFilter) Unmarshal ¶ added in v0.26.0
func (m *IPV4RangeFilter) Unmarshal(dAtA []byte) error
func (*IPV4RangeFilter) XXX_DiscardUnknown ¶ added in v0.26.0
func (m *IPV4RangeFilter) XXX_DiscardUnknown()
func (*IPV4RangeFilter) XXX_Marshal ¶ added in v0.26.0
func (m *IPV4RangeFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IPV4RangeFilter) XXX_Merge ¶ added in v0.26.0
func (m *IPV4RangeFilter) XXX_Merge(src proto.Message)
func (*IPV4RangeFilter) XXX_Size ¶ added in v0.26.0
func (m *IPV4RangeFilter) XXX_Size() int
func (*IPV4RangeFilter) XXX_Unmarshal ¶ added in v0.26.0
func (m *IPV4RangeFilter) XXX_Unmarshal(b []byte) error
type LtInt64Filter ¶ added in v0.26.0
type LtInt64Filter struct { Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` Value int64 `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"` }
func (*LtInt64Filter) Descriptor ¶ added in v0.26.0
func (*LtInt64Filter) Descriptor() ([]byte, []int)
func (*LtInt64Filter) GetKey ¶ added in v0.26.0
func (m *LtInt64Filter) GetKey() string
func (*LtInt64Filter) GetValue ¶ added in v0.26.0
func (m *LtInt64Filter) GetValue() int64
func (*LtInt64Filter) Marshal ¶ added in v0.26.0
func (m *LtInt64Filter) Marshal() (dAtA []byte, err error)
func (*LtInt64Filter) MarshalTo ¶ added in v0.26.0
func (m *LtInt64Filter) MarshalTo(dAtA []byte) (int, error)
func (*LtInt64Filter) MarshalToSizedBuffer ¶ added in v0.26.0
func (m *LtInt64Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LtInt64Filter) ProtoMessage ¶ added in v0.26.0
func (*LtInt64Filter) ProtoMessage()
func (*LtInt64Filter) ProtoSize ¶ added in v0.26.0
func (m *LtInt64Filter) ProtoSize() (n int)
func (*LtInt64Filter) Reset ¶ added in v0.26.0
func (m *LtInt64Filter) Reset()
func (*LtInt64Filter) String ¶ added in v0.26.0
func (m *LtInt64Filter) String() string
func (*LtInt64Filter) Unmarshal ¶ added in v0.26.0
func (m *LtInt64Filter) Unmarshal(dAtA []byte) error
func (*LtInt64Filter) XXX_DiscardUnknown ¶ added in v0.26.0
func (m *LtInt64Filter) XXX_DiscardUnknown()
func (*LtInt64Filter) XXX_Marshal ¶ added in v0.26.0
func (m *LtInt64Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LtInt64Filter) XXX_Merge ¶ added in v0.26.0
func (m *LtInt64Filter) XXX_Merge(src proto.Message)
func (*LtInt64Filter) XXX_Size ¶ added in v0.26.0
func (m *LtInt64Filter) XXX_Size() int
func (*LtInt64Filter) XXX_Unmarshal ¶ added in v0.26.0
func (m *LtInt64Filter) XXX_Unmarshal(b []byte) error
type LteInt64Filter ¶ added in v0.26.0
type LteInt64Filter struct { Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` Value int64 `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"` }
func (*LteInt64Filter) Descriptor ¶ added in v0.26.0
func (*LteInt64Filter) Descriptor() ([]byte, []int)
func (*LteInt64Filter) GetKey ¶ added in v0.26.0
func (m *LteInt64Filter) GetKey() string
func (*LteInt64Filter) GetValue ¶ added in v0.26.0
func (m *LteInt64Filter) GetValue() int64
func (*LteInt64Filter) Marshal ¶ added in v0.26.0
func (m *LteInt64Filter) Marshal() (dAtA []byte, err error)
func (*LteInt64Filter) MarshalTo ¶ added in v0.26.0
func (m *LteInt64Filter) MarshalTo(dAtA []byte) (int, error)
func (*LteInt64Filter) MarshalToSizedBuffer ¶ added in v0.26.0
func (m *LteInt64Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LteInt64Filter) ProtoMessage ¶ added in v0.26.0
func (*LteInt64Filter) ProtoMessage()
func (*LteInt64Filter) ProtoSize ¶ added in v0.26.0
func (m *LteInt64Filter) ProtoSize() (n int)
func (*LteInt64Filter) Reset ¶ added in v0.26.0
func (m *LteInt64Filter) Reset()
func (*LteInt64Filter) String ¶ added in v0.26.0
func (m *LteInt64Filter) String() string
func (*LteInt64Filter) Unmarshal ¶ added in v0.26.0
func (m *LteInt64Filter) Unmarshal(dAtA []byte) error
func (*LteInt64Filter) XXX_DiscardUnknown ¶ added in v0.26.0
func (m *LteInt64Filter) XXX_DiscardUnknown()
func (*LteInt64Filter) XXX_Marshal ¶ added in v0.26.0
func (m *LteInt64Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LteInt64Filter) XXX_Merge ¶ added in v0.26.0
func (m *LteInt64Filter) XXX_Merge(src proto.Message)
func (*LteInt64Filter) XXX_Size ¶ added in v0.26.0
func (m *LteInt64Filter) XXX_Size() int
func (*LteInt64Filter) XXX_Unmarshal ¶ added in v0.26.0
func (m *LteInt64Filter) XXX_Unmarshal(b []byte) error
type NeInt64Filter ¶ added in v0.26.0
type NeInt64Filter struct { Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` Value int64 `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"` }
func (*NeInt64Filter) Descriptor ¶ added in v0.26.0
func (*NeInt64Filter) Descriptor() ([]byte, []int)
func (*NeInt64Filter) GetKey ¶ added in v0.26.0
func (m *NeInt64Filter) GetKey() string
func (*NeInt64Filter) GetValue ¶ added in v0.26.0
func (m *NeInt64Filter) GetValue() int64
func (*NeInt64Filter) Marshal ¶ added in v0.26.0
func (m *NeInt64Filter) Marshal() (dAtA []byte, err error)
func (*NeInt64Filter) MarshalTo ¶ added in v0.26.0
func (m *NeInt64Filter) MarshalTo(dAtA []byte) (int, error)
func (*NeInt64Filter) MarshalToSizedBuffer ¶ added in v0.26.0
func (m *NeInt64Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NeInt64Filter) ProtoMessage ¶ added in v0.26.0
func (*NeInt64Filter) ProtoMessage()
func (*NeInt64Filter) ProtoSize ¶ added in v0.26.0
func (m *NeInt64Filter) ProtoSize() (n int)
func (*NeInt64Filter) Reset ¶ added in v0.26.0
func (m *NeInt64Filter) Reset()
func (*NeInt64Filter) String ¶ added in v0.26.0
func (m *NeInt64Filter) String() string
func (*NeInt64Filter) Unmarshal ¶ added in v0.26.0
func (m *NeInt64Filter) Unmarshal(dAtA []byte) error
func (*NeInt64Filter) XXX_DiscardUnknown ¶ added in v0.26.0
func (m *NeInt64Filter) XXX_DiscardUnknown()
func (*NeInt64Filter) XXX_Marshal ¶ added in v0.26.0
func (m *NeInt64Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NeInt64Filter) XXX_Merge ¶ added in v0.26.0
func (m *NeInt64Filter) XXX_Merge(src proto.Message)
func (*NeInt64Filter) XXX_Size ¶ added in v0.26.0
func (m *NeInt64Filter) XXX_Size() int
func (*NeInt64Filter) XXX_Unmarshal ¶ added in v0.26.0
func (m *NeInt64Filter) XXX_Unmarshal(b []byte) error
type NeStringFilter ¶ added in v0.26.0
type NeStringFilter struct { Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"` }
func (*NeStringFilter) Descriptor ¶ added in v0.26.0
func (*NeStringFilter) Descriptor() ([]byte, []int)
func (*NeStringFilter) GetKey ¶ added in v0.26.0
func (m *NeStringFilter) GetKey() string
func (*NeStringFilter) GetValue ¶ added in v0.26.0
func (m *NeStringFilter) GetValue() string
func (*NeStringFilter) Marshal ¶ added in v0.26.0
func (m *NeStringFilter) Marshal() (dAtA []byte, err error)
func (*NeStringFilter) MarshalTo ¶ added in v0.26.0
func (m *NeStringFilter) MarshalTo(dAtA []byte) (int, error)
func (*NeStringFilter) MarshalToSizedBuffer ¶ added in v0.26.0
func (m *NeStringFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NeStringFilter) ProtoMessage ¶ added in v0.26.0
func (*NeStringFilter) ProtoMessage()
func (*NeStringFilter) ProtoSize ¶ added in v0.26.0
func (m *NeStringFilter) ProtoSize() (n int)
func (*NeStringFilter) Reset ¶ added in v0.26.0
func (m *NeStringFilter) Reset()
func (*NeStringFilter) String ¶ added in v0.26.0
func (m *NeStringFilter) String() string
func (*NeStringFilter) Unmarshal ¶ added in v0.26.0
func (m *NeStringFilter) Unmarshal(dAtA []byte) error
func (*NeStringFilter) XXX_DiscardUnknown ¶ added in v0.26.0
func (m *NeStringFilter) XXX_DiscardUnknown()
func (*NeStringFilter) XXX_Marshal ¶ added in v0.26.0
func (m *NeStringFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NeStringFilter) XXX_Merge ¶ added in v0.26.0
func (m *NeStringFilter) XXX_Merge(src proto.Message)
func (*NeStringFilter) XXX_Size ¶ added in v0.26.0
func (m *NeStringFilter) XXX_Size() int
func (*NeStringFilter) XXX_Unmarshal ¶ added in v0.26.0
func (m *NeStringFilter) XXX_Unmarshal(b []byte) error
type NullFilter ¶ added in v0.26.0
type NullFilter struct {
Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
}
func (*NullFilter) Descriptor ¶ added in v0.26.0
func (*NullFilter) Descriptor() ([]byte, []int)
func (*NullFilter) GetKey ¶ added in v0.26.0
func (m *NullFilter) GetKey() string
func (*NullFilter) Marshal ¶ added in v0.26.0
func (m *NullFilter) Marshal() (dAtA []byte, err error)
func (*NullFilter) MarshalTo ¶ added in v0.26.0
func (m *NullFilter) MarshalTo(dAtA []byte) (int, error)
func (*NullFilter) MarshalToSizedBuffer ¶ added in v0.26.0
func (m *NullFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NullFilter) ProtoMessage ¶ added in v0.26.0
func (*NullFilter) ProtoMessage()
func (*NullFilter) ProtoSize ¶ added in v0.26.0
func (m *NullFilter) ProtoSize() (n int)
func (*NullFilter) Reset ¶ added in v0.26.0
func (m *NullFilter) Reset()
func (*NullFilter) String ¶ added in v0.26.0
func (m *NullFilter) String() string
func (*NullFilter) Unmarshal ¶ added in v0.26.0
func (m *NullFilter) Unmarshal(dAtA []byte) error
func (*NullFilter) XXX_DiscardUnknown ¶ added in v0.26.0
func (m *NullFilter) XXX_DiscardUnknown()
func (*NullFilter) XXX_Marshal ¶ added in v0.26.0
func (m *NullFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NullFilter) XXX_Merge ¶ added in v0.26.0
func (m *NullFilter) XXX_Merge(src proto.Message)
func (*NullFilter) XXX_Size ¶ added in v0.26.0
func (m *NullFilter) XXX_Size() int
func (*NullFilter) XXX_Unmarshal ¶ added in v0.26.0
func (m *NullFilter) XXX_Unmarshal(b []byte) error
type Range ¶ added in v0.26.0
type Range struct { From int64 `protobuf:"varint,1,opt,name=From,proto3" json:"From,omitempty"` To int64 `protobuf:"varint,2,opt,name=To,proto3" json:"To,omitempty"` }
func (*Range) Descriptor ¶ added in v0.26.0
func (*Range) MarshalToSizedBuffer ¶ added in v0.26.0
func (*Range) ProtoMessage ¶ added in v0.26.0
func (*Range) ProtoMessage()
func (*Range) XXX_DiscardUnknown ¶ added in v0.26.0
func (m *Range) XXX_DiscardUnknown()
func (*Range) XXX_Marshal ¶ added in v0.26.0
func (*Range) XXX_Unmarshal ¶ added in v0.26.0
type RegexFilter ¶ added in v0.26.0
type RegexFilter struct { Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"` }
func NewRegexFilter ¶ added in v0.26.0
func NewRegexFilter(key string, pattern string) (*RegexFilter, error)
NewRegexFilter returns a new regular expression based filter
func (*RegexFilter) Descriptor ¶ added in v0.26.0
func (*RegexFilter) Descriptor() ([]byte, []int)
func (*RegexFilter) GetKey ¶ added in v0.26.0
func (m *RegexFilter) GetKey() string
func (*RegexFilter) GetValue ¶ added in v0.26.0
func (m *RegexFilter) GetValue() string
func (*RegexFilter) Marshal ¶ added in v0.26.0
func (m *RegexFilter) Marshal() (dAtA []byte, err error)
func (*RegexFilter) MarshalTo ¶ added in v0.26.0
func (m *RegexFilter) MarshalTo(dAtA []byte) (int, error)
func (*RegexFilter) MarshalToSizedBuffer ¶ added in v0.26.0
func (m *RegexFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RegexFilter) ProtoMessage ¶ added in v0.26.0
func (*RegexFilter) ProtoMessage()
func (*RegexFilter) ProtoSize ¶ added in v0.26.0
func (m *RegexFilter) ProtoSize() (n int)
func (*RegexFilter) Reset ¶ added in v0.26.0
func (m *RegexFilter) Reset()
func (*RegexFilter) String ¶ added in v0.26.0
func (m *RegexFilter) String() string
func (*RegexFilter) Unmarshal ¶ added in v0.26.0
func (m *RegexFilter) Unmarshal(dAtA []byte) error
func (*RegexFilter) XXX_DiscardUnknown ¶ added in v0.26.0
func (m *RegexFilter) XXX_DiscardUnknown()
func (*RegexFilter) XXX_Marshal ¶ added in v0.26.0
func (m *RegexFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegexFilter) XXX_Merge ¶ added in v0.26.0
func (m *RegexFilter) XXX_Merge(src proto.Message)
func (*RegexFilter) XXX_Size ¶ added in v0.26.0
func (m *RegexFilter) XXX_Size() int
func (*RegexFilter) XXX_Unmarshal ¶ added in v0.26.0
func (m *RegexFilter) XXX_Unmarshal(b []byte) error
type SearchQuery ¶ added in v0.26.0
type SearchQuery struct { Filter *Filter `protobuf:"bytes,1,opt,name=Filter,proto3" json:"Filter,omitempty"` PaginationRange *Range `protobuf:"bytes,2,opt,name=PaginationRange,proto3" json:"PaginationRange,omitempty"` Sort bool `protobuf:"varint,3,opt,name=Sort,proto3" json:"Sort,omitempty"` Dedup bool `protobuf:"varint,4,opt,name=Dedup,proto3" json:"Dedup,omitempty"` DedupBy string `protobuf:"bytes,5,opt,name=DedupBy,proto3" json:"DedupBy,omitempty"` SortBy string `protobuf:"bytes,6,opt,name=SortBy,proto3" json:"SortBy,omitempty"` SortOrder string `protobuf:"bytes,7,opt,name=SortOrder,proto3" json:"SortOrder,omitempty"` }
func (*SearchQuery) Descriptor ¶ added in v0.26.0
func (*SearchQuery) Descriptor() ([]byte, []int)
func (*SearchQuery) GetDedup ¶ added in v0.26.0
func (m *SearchQuery) GetDedup() bool
func (*SearchQuery) GetDedupBy ¶ added in v0.26.0
func (m *SearchQuery) GetDedupBy() string
func (*SearchQuery) GetFilter ¶ added in v0.26.0
func (m *SearchQuery) GetFilter() *Filter
func (*SearchQuery) GetPaginationRange ¶ added in v0.26.0
func (m *SearchQuery) GetPaginationRange() *Range
func (*SearchQuery) GetSort ¶ added in v0.26.0
func (m *SearchQuery) GetSort() bool
func (*SearchQuery) GetSortBy ¶ added in v0.26.0
func (m *SearchQuery) GetSortBy() string
func (*SearchQuery) GetSortOrder ¶ added in v0.26.0
func (m *SearchQuery) GetSortOrder() string
func (*SearchQuery) Marshal ¶ added in v0.26.0
func (m *SearchQuery) Marshal() (dAtA []byte, err error)
func (*SearchQuery) MarshalTo ¶ added in v0.26.0
func (m *SearchQuery) MarshalTo(dAtA []byte) (int, error)
func (*SearchQuery) MarshalToSizedBuffer ¶ added in v0.26.0
func (m *SearchQuery) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SearchQuery) ProtoMessage ¶ added in v0.26.0
func (*SearchQuery) ProtoMessage()
func (*SearchQuery) ProtoSize ¶ added in v0.26.0
func (m *SearchQuery) ProtoSize() (n int)
func (*SearchQuery) Reset ¶ added in v0.26.0
func (m *SearchQuery) Reset()
func (*SearchQuery) String ¶ added in v0.26.0
func (m *SearchQuery) String() string
func (*SearchQuery) Unmarshal ¶ added in v0.26.0
func (m *SearchQuery) Unmarshal(dAtA []byte) error
func (*SearchQuery) XXX_DiscardUnknown ¶ added in v0.26.0
func (m *SearchQuery) XXX_DiscardUnknown()
func (*SearchQuery) XXX_Marshal ¶ added in v0.26.0
func (m *SearchQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchQuery) XXX_Merge ¶ added in v0.26.0
func (m *SearchQuery) XXX_Merge(src proto.Message)
func (*SearchQuery) XXX_Size ¶ added in v0.26.0
func (m *SearchQuery) XXX_Size() int
func (*SearchQuery) XXX_Unmarshal ¶ added in v0.26.0
func (m *SearchQuery) XXX_Unmarshal(b []byte) error
type TermBoolFilter ¶ added in v0.26.0
type TermBoolFilter struct { Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` Value bool `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"` }
func (*TermBoolFilter) Descriptor ¶ added in v0.26.0
func (*TermBoolFilter) Descriptor() ([]byte, []int)
func (*TermBoolFilter) GetKey ¶ added in v0.26.0
func (m *TermBoolFilter) GetKey() string
func (*TermBoolFilter) GetValue ¶ added in v0.26.0
func (m *TermBoolFilter) GetValue() bool
func (*TermBoolFilter) Marshal ¶ added in v0.26.0
func (m *TermBoolFilter) Marshal() (dAtA []byte, err error)
func (*TermBoolFilter) MarshalTo ¶ added in v0.26.0
func (m *TermBoolFilter) MarshalTo(dAtA []byte) (int, error)
func (*TermBoolFilter) MarshalToSizedBuffer ¶ added in v0.26.0
func (m *TermBoolFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TermBoolFilter) ProtoMessage ¶ added in v0.26.0
func (*TermBoolFilter) ProtoMessage()
func (*TermBoolFilter) ProtoSize ¶ added in v0.26.0
func (m *TermBoolFilter) ProtoSize() (n int)
func (*TermBoolFilter) Reset ¶ added in v0.26.0
func (m *TermBoolFilter) Reset()
func (*TermBoolFilter) String ¶ added in v0.26.0
func (m *TermBoolFilter) String() string
func (*TermBoolFilter) Unmarshal ¶ added in v0.26.0
func (m *TermBoolFilter) Unmarshal(dAtA []byte) error
func (*TermBoolFilter) XXX_DiscardUnknown ¶ added in v0.26.0
func (m *TermBoolFilter) XXX_DiscardUnknown()
func (*TermBoolFilter) XXX_Marshal ¶ added in v0.26.0
func (m *TermBoolFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TermBoolFilter) XXX_Merge ¶ added in v0.26.0
func (m *TermBoolFilter) XXX_Merge(src proto.Message)
func (*TermBoolFilter) XXX_Size ¶ added in v0.26.0
func (m *TermBoolFilter) XXX_Size() int
func (*TermBoolFilter) XXX_Unmarshal ¶ added in v0.26.0
func (m *TermBoolFilter) XXX_Unmarshal(b []byte) error
type TermInt64Filter ¶ added in v0.26.0
type TermInt64Filter struct { Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` Value int64 `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"` }
func (*TermInt64Filter) Descriptor ¶ added in v0.26.0
func (*TermInt64Filter) Descriptor() ([]byte, []int)
func (*TermInt64Filter) GetKey ¶ added in v0.26.0
func (m *TermInt64Filter) GetKey() string
func (*TermInt64Filter) GetValue ¶ added in v0.26.0
func (m *TermInt64Filter) GetValue() int64
func (*TermInt64Filter) Marshal ¶ added in v0.26.0
func (m *TermInt64Filter) Marshal() (dAtA []byte, err error)
func (*TermInt64Filter) MarshalTo ¶ added in v0.26.0
func (m *TermInt64Filter) MarshalTo(dAtA []byte) (int, error)
func (*TermInt64Filter) MarshalToSizedBuffer ¶ added in v0.26.0
func (m *TermInt64Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TermInt64Filter) ProtoMessage ¶ added in v0.26.0
func (*TermInt64Filter) ProtoMessage()
func (*TermInt64Filter) ProtoSize ¶ added in v0.26.0
func (m *TermInt64Filter) ProtoSize() (n int)
func (*TermInt64Filter) Reset ¶ added in v0.26.0
func (m *TermInt64Filter) Reset()
func (*TermInt64Filter) String ¶ added in v0.26.0
func (m *TermInt64Filter) String() string
func (*TermInt64Filter) Unmarshal ¶ added in v0.26.0
func (m *TermInt64Filter) Unmarshal(dAtA []byte) error
func (*TermInt64Filter) XXX_DiscardUnknown ¶ added in v0.26.0
func (m *TermInt64Filter) XXX_DiscardUnknown()
func (*TermInt64Filter) XXX_Marshal ¶ added in v0.26.0
func (m *TermInt64Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TermInt64Filter) XXX_Merge ¶ added in v0.26.0
func (m *TermInt64Filter) XXX_Merge(src proto.Message)
func (*TermInt64Filter) XXX_Size ¶ added in v0.26.0
func (m *TermInt64Filter) XXX_Size() int
func (*TermInt64Filter) XXX_Unmarshal ¶ added in v0.26.0
func (m *TermInt64Filter) XXX_Unmarshal(b []byte) error
type TermStringFilter ¶ added in v0.26.0
type TermStringFilter struct { Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"` }
func (*TermStringFilter) Descriptor ¶ added in v0.26.0
func (*TermStringFilter) Descriptor() ([]byte, []int)
func (*TermStringFilter) GetKey ¶ added in v0.26.0
func (m *TermStringFilter) GetKey() string
func (*TermStringFilter) GetValue ¶ added in v0.26.0
func (m *TermStringFilter) GetValue() string
func (*TermStringFilter) Marshal ¶ added in v0.26.0
func (m *TermStringFilter) Marshal() (dAtA []byte, err error)
func (*TermStringFilter) MarshalTo ¶ added in v0.26.0
func (m *TermStringFilter) MarshalTo(dAtA []byte) (int, error)
func (*TermStringFilter) MarshalToSizedBuffer ¶ added in v0.26.0
func (m *TermStringFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TermStringFilter) ProtoMessage ¶ added in v0.26.0
func (*TermStringFilter) ProtoMessage()
func (*TermStringFilter) ProtoSize ¶ added in v0.26.0
func (m *TermStringFilter) ProtoSize() (n int)
func (*TermStringFilter) Reset ¶ added in v0.26.0
func (m *TermStringFilter) Reset()
func (*TermStringFilter) String ¶ added in v0.26.0
func (m *TermStringFilter) String() string
func (*TermStringFilter) Unmarshal ¶ added in v0.26.0
func (m *TermStringFilter) Unmarshal(dAtA []byte) error
func (*TermStringFilter) XXX_DiscardUnknown ¶ added in v0.26.0
func (m *TermStringFilter) XXX_DiscardUnknown()
func (*TermStringFilter) XXX_Marshal ¶ added in v0.26.0
func (m *TermStringFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TermStringFilter) XXX_Merge ¶ added in v0.26.0
func (m *TermStringFilter) XXX_Merge(src proto.Message)
func (*TermStringFilter) XXX_Size ¶ added in v0.26.0
func (m *TermStringFilter) XXX_Size() int
func (*TermStringFilter) XXX_Unmarshal ¶ added in v0.26.0
func (m *TermStringFilter) XXX_Unmarshal(b []byte) error