package
0.7.0
Repository: https://github.com/cortexproject/cortex.git
Documentation: pkg.go.dev

# Functions

FromProto generates a rulefmt RuleGroup.
NewConfigRuleStore constructs a ConfigRuleStore.
ToProto transforms a formatted prometheus rulegroup to a rule group protobuf.

# Variables

ErrGroupNamespaceNotFound is returned if a namespace does not exist.
ErrGroupNotFound is returned if a rule group does not exist.
No description provided by the author
No description provided by the author
ErrUserNotFound is returned if the user does not currently exist.

# Structs

No description provided by the author
ConfigRuleStore is a concrete implementation of RuleStore that sources rules from the config service.
RuleDesc is a proto representation of a Prometheus Rule.
RuleGroupDesc is a proto representation of a cortex rule group.

# Interfaces

RuleStore is used to store and retrieve rules.

# Type aliases

RuleGroupList contains a set of rule groups.