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

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

NewEmptyRuleSet returns an empty ruleset to be used with a new namespace.
NewMatchResult creates a new match result.
NewMockStore creates a new mock instance.
NewNamespaces creates new namespaces.
NewOptions creates a new set of options.
NewRuleSetFromProto creates a new RuleSet from a proto object.
NewRuleSetUpdateHelper creates a new RuleSetUpdateHelper struct.

# Variables

EmptyMatchResult is the result when no matches were found.

# Structs

IDWithMetadatas is a pair of metric ID and the associated staged metadatas.
MatchOptions are request level options for each Match.
MatchResult represents a match result.
MockStore is a mock of Store interface.
MockStoreMockRecorder is the mock recorder for MockStore.
Namespace stores namespace snapshots.
Namespaces store the list of namespaces for which rules are defined.
NamespaceSnapshot defines a namespace snapshot for which rules are defined.
RuleSetUpdateHelper stores the necessary details to create an UpdateMetadata.
UpdateMetadata contains descriptive information that needs to be updated with any modification of the ruleset.

# Interfaces

ActiveSet is the currently active RuleSet.
Fetcher fetches rules.
Matcher matches metrics against rules to determine applicable policies.
MutableRuleSet is mutable ruleset.
Options provide a set of options for rule matching.
ReverseMatcher matches metrics against rules to determine applicable policies.
RuleSet is a read-only set of rules associated with a namespace.
Store performs read/write operations for rules and namespaces.
Validator validates a ruleset.

# Type aliases

IDWithMetadatasByIDAsc sorts a list of ID with metadatas by metric ID in ascending order.