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

Method deleteRuleCache

pkg/ruler/manager.go:189–193  ·  view source on GitHub ↗
(user string)

Source from the content-addressed store, hash-verified

187}
188
189func (r *DefaultMultiTenantManager) deleteRuleCache(user string) {
190 r.ruleCacheMtx.Lock()
191 defer r.ruleCacheMtx.Unlock()
192 delete(r.ruleCache, user)
193}
194
195func (r *DefaultMultiTenantManager) BackUpRuleGroups(ctx context.Context, ruleGroups map[string]rulespb.RuleGroupList) {
196 if r.rulesBackupManager != nil {

Callers 1

syncRulesToManagerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected