Versions in this module Expand all Collapse all v2 v2.6.2 Aug 12, 2022 Changes in this version + type RuleStore struct + func NewRuleStore(client client.ObjectClient, loadConcurrency int, logger log.Logger) *RuleStore + func (o *RuleStore) DeleteNamespace(ctx context.Context, userID, namespace string) error + func (o *RuleStore) DeleteRuleGroup(ctx context.Context, userID string, namespace string, groupName string) error + func (o *RuleStore) GetRuleGroup(ctx context.Context, userID string, namespace string, grp string) (*rulespb.RuleGroupDesc, error) + func (o *RuleStore) ListAllRuleGroups(ctx context.Context) (map[string]rulespb.RuleGroupList, error) + func (o *RuleStore) ListAllUsers(ctx context.Context) ([]string, error) + func (o *RuleStore) ListRuleGroupsForUserAndNamespace(ctx context.Context, userID, namespace string) (rulespb.RuleGroupList, error) + func (o *RuleStore) LoadRuleGroups(ctx context.Context, groupsToLoad map[string]rulespb.RuleGroupList) error + func (o *RuleStore) SetRuleGroup(ctx context.Context, userID string, namespace string, ...) error