package
1.5.0
Repository: https://github.com/m3db/m3.git
Documentation: pkg.go.dev

# Functions

NewFilter supports startsWith, endsWith, contains and a single wildcard along with negation and glob matching support.
NewFilterFromFilterValue creates a filter from the given filter value.
NewMockSortedTagIterator creates a mock SortedTagIterator based on given ID.
NewMultiFilter returns a filter that chains multiple filters together using a LogicalOp.
NewTagsFilter creates a new tags filter.
ParseTagFilterValueMap parses the input string and creates a tag filter value map.
ValidateTagsFilter validates whether a given string is a valid tags filter, returning the filter values if the string is a valid tags filter expression, and the error otherwise.

# Constants

Conjunction is logical AND.
Disjunction is logical OR.

# Structs

FilterValue contains the filter pattern and a boolean flag indicating whether the filter should be negated.
TagMatchOptions are the options for a TagsFilter match.
TagsFilterOptions provide a set of tag filter options.

# Interfaces

Filter matches a string against certain conditions.
TagsFilter matches a string of tags against certain conditions.

# Type aliases

LogicalOp is a logical operator.
TagFilterValueMap is a map containing mappings from tag names to filter values.