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

Struct mockRulerClient

pkg/ruler/ruler_test.go:285–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285type mockRulerClient struct {
286 ruler *Ruler
287 numberOfCalls *atomic.Int32
288}
289
290func (c *mockRulerClient) Rules(ctx context.Context, in *RulesRequest, _ ...grpc.CallOption) (*RulesResponse, error) {
291 c.numberOfCalls.Inc()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected