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

Method Update

pkg/ruler/compat.go:348–348  ·  view source on GitHub ↗

Updates rules manager state.

(interval time.Duration, files []string, externalLabels labels.Labels, externalURL string, ruleGroupPostProcessFunc rules.GroupEvalIterationFunc)

Source from the content-addressed store, hash-verified

346
347 // Updates rules manager state.
348 Update(interval time.Duration, files []string, externalLabels labels.Labels, externalURL string, ruleGroupPostProcessFunc rules.GroupEvalIterationFunc) error
349
350 // Returns current rules groups.
351 RuleGroups() []*rules.Group

Callers 2

ApplyConfigMethod · 0.65
syncRulesToManagerMethod · 0.65

Implementers 1

mockRulesManagerpkg/ruler/manager_test.go

Calls

no outgoing calls

Tested by

no test coverage detected