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

Struct mockRulesManager

pkg/ruler/manager_test.go:325–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323}
324
325type mockRulesManager struct {
326 mtx sync.Mutex
327 groupsToReturn [][]*promRules.Group
328 iteration int
329 waitDurations []time.Duration
330 running atomic.Bool
331 done chan struct{}
332}
333
334func (m *mockRulesManager) Update(_ time.Duration, _ []string, _ labels.Labels, _ string, _ promRules.GroupEvalIterationFunc) error {
335 m.mtx.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected