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

Method GetBlocks

pkg/querier/blocks_store_queryable_test.go:2651–2654  ·  view source on GitHub ↗
(ctx context.Context, userID string, minT, maxT int64, matchers []*labels.Matcher)

Source from the content-addressed store, hash-verified

2649}
2650
2651func (m *blocksFinderMock) GetBlocks(ctx context.Context, userID string, minT, maxT int64, matchers []*labels.Matcher) (bucketindex.Blocks, map[ulid.ULID]*bucketindex.BlockDeletionMark, error) {
2652 args := m.Called(ctx, userID, minT, maxT, matchers)
2653 return args.Get(0).(bucketindex.Blocks), args.Get(1).(map[ulid.ULID]*bucketindex.BlockDeletionMark), args.Error(2)
2654}
2655
2656type storeGatewayClientMock struct {
2657 remoteAddr string

Callers

nothing calls this directly

Calls 2

GetMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected