(store mockStore, chunkIteratorFunc chunkIteratorFunc)
| 1446 | } |
| 1447 | |
| 1448 | func newMockStoreQueryable(store mockStore, chunkIteratorFunc chunkIteratorFunc) storage.Queryable { |
| 1449 | return storage.QueryableFunc(func(mint, maxt int64) (storage.Querier, error) { |
| 1450 | return &mockStoreQuerier{ |
| 1451 | store: store, |
| 1452 | chunkIteratorFunc: chunkIteratorFunc, |
| 1453 | mint: mint, |
| 1454 | maxt: maxt, |
| 1455 | }, nil |
| 1456 | }) |
| 1457 | } |
| 1458 | |
| 1459 | type mockStoreQuerier struct { |
| 1460 | store mockStore |
no outgoing calls
no test coverage detected