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

Method Rules

pkg/ruler/ruler.pb.go:1039–1039  ·  view source on GitHub ↗
(ctx context.Context, in *RulesRequest, opts ...grpc.CallOption)

Source from the content-addressed store, hash-verified

1037// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1038type RulerClient interface {
1039 Rules(ctx context.Context, in *RulesRequest, opts ...grpc.CallOption) (*RulesResponse, error)
1040 LivenessCheck(ctx context.Context, in *LivenessCheckRequest, opts ...grpc.CallOption) (*LivenessCheckResponse, error)
1041}
1042

Callers 10

getLocalRulesMethod · 0.65
getShardedRulesMethod · 0.65
RulesMethod · 0.65
TestRuler_RulesFunction · 0.65
getRulesHATestFunction · 0.65
TestRuler_QueryOffsetFunction · 0.65
_Ruler_Rules_HandlerFunction · 0.65

Implementers 5

Rulerpkg/ruler/ruler.go
mockRulerServerpkg/ruler/client_pool_test.go
mockRulerClientpkg/ruler/ruler_test.go
rulerClientpkg/ruler/ruler.pb.go
UnimplementedRulerServerpkg/ruler/ruler.pb.go

Calls

no outgoing calls

Tested by 6

RulesMethod · 0.52
TestRuler_RulesFunction · 0.52
getRulesHATestFunction · 0.52
TestRuler_QueryOffsetFunction · 0.52