MCPcopy Index your code
hub / github.com/cortexproject/cortex / GetBackupRules

Method GetBackupRules

pkg/ruler/manager.go:413–418  ·  view source on GitHub ↗
(userID string)

Source from the content-addressed store, hash-verified

411}
412
413func (r *DefaultMultiTenantManager) GetBackupRules(userID string) rulespb.RuleGroupList {
414 if r.rulesBackupManager != nil {
415 return r.rulesBackupManager.getRuleGroups(userID)
416 }
417 return nil
418}
419
420func (r *DefaultMultiTenantManager) Stop() {
421 r.notifiersMtx.Lock()

Callers 1

TestBackupRulesFunction · 0.95

Calls 1

getRuleGroupsMethod · 0.80

Tested by 1

TestBackupRulesFunction · 0.76