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

Method QueryExemplars

pkg/querier/testutils.go:28–31  ·  view source on GitHub ↗
(ctx context.Context, from, to model.Time, matchers ...[]*labels.Matcher)

Source from the content-addressed store, hash-verified

26}
27
28func (m *MockDistributor) QueryExemplars(ctx context.Context, from, to model.Time, matchers ...[]*labels.Matcher) (*client.ExemplarQueryResponse, error) {
29 args := m.Called(ctx, from, to, matchers)
30 return args.Get(0).(*client.ExemplarQueryResponse), args.Error(1)
31}
32func (m *MockDistributor) QueryStream(ctx context.Context, from, to model.Time, partialDataEnabled bool, matchers ...*labels.Matcher) (*client.QueryStreamResponse, error) {
33 args := m.Called(ctx, from, to, matchers)
34 return args.Get(0).(*client.QueryStreamResponse), args.Error(1)

Callers

nothing calls this directly

Calls 2

GetMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected