Versions in this module Expand all Collapse all v2 v2.4.3 Mar 21, 2022 Changes in this version + var ErrGroupNamespaceNotFound = errors.New("group namespace does not exist") + var ErrGroupNotFound = errors.New("group does not exist") + var ErrUserNotFound = errors.New("no rule groups found for user") + type Config struct + ConfigDB client.Config + Local local.Config + func (cfg *Config) IsDefaults() bool + func (cfg *Config) RegisterFlags(f *flag.FlagSet) + type RuleStore interface + DeleteNamespace func(ctx context.Context, userID, namespace string) error + DeleteRuleGroup func(ctx context.Context, userID, namespace string, group string) error + GetRuleGroup func(ctx context.Context, userID, namespace, group string) (*rulespb.RuleGroupDesc, error) + ListAllRuleGroups func(ctx context.Context) (map[string]rulespb.RuleGroupList, error) + ListAllUsers func(ctx context.Context) ([]string, error) + ListRuleGroupsForUserAndNamespace func(ctx context.Context, userID string, namespace string) (rulespb.RuleGroupList, error) + LoadRuleGroups func(ctx context.Context, groupsToLoad map[string]rulespb.RuleGroupList) error + SetRuleGroup func(ctx context.Context, userID, namespace string, group *rulespb.RuleGroupDesc) error Other modules containing this package github.com/pao214/loki/v3