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

Method QueryStream

pkg/querier/testutils.go:32–35  ·  view source on GitHub ↗
(ctx context.Context, from, to model.Time, partialDataEnabled bool, matchers ...*labels.Matcher)

Source from the content-addressed store, hash-verified

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)
35}
36func (m *MockDistributor) LabelValuesForLabelName(ctx context.Context, from, to model.Time, lbl model.LabelName, hints *storage.LabelHints, partialDataEnabled bool, matchers ...*labels.Matcher) ([]string, error) {
37 args := m.Called(ctx, from, to, lbl, hints, matchers)
38 return args.Get(0).([]string), args.Error(1)

Callers

nothing calls this directly

Calls 2

GetMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected