MCPcopy Create free account
hub / github.com/cortexproject/cortex / Rules

Method Rules

pkg/ruler/ruler_test.go:290–293  ·  view source on GitHub ↗
(ctx context.Context, in *RulesRequest, _ ...grpc.CallOption)

Source from the content-addressed store, hash-verified

288}
289
290func (c *mockRulerClient) Rules(ctx context.Context, in *RulesRequest, _ ...grpc.CallOption) (*RulesResponse, error) {
291 c.numberOfCalls.Inc()
292 return c.ruler.Rules(ctx, in)
293}
294
295func (c *mockRulerClient) LivenessCheck(ctx context.Context, in *LivenessCheckRequest, opts ...grpc.CallOption) (*LivenessCheckResponse, error) {
296

Callers

nothing calls this directly

Calls 2

RulesMethod · 0.65
IncMethod · 0.45

Tested by

no test coverage detected