NewMockStoreQueryable returns the storage.Queryable implementation against the chunks store.
(store mockStore)
| 1442 | |
| 1443 | // NewMockStoreQueryable returns the storage.Queryable implementation against the chunks store. |
| 1444 | func NewMockStoreQueryable(store mockStore) storage.Queryable { |
| 1445 | return newMockStoreQueryable(store, getChunksIteratorFunction(Config{})) |
| 1446 | } |
| 1447 | |
| 1448 | func newMockStoreQueryable(store mockStore, chunkIteratorFunc chunkIteratorFunc) storage.Queryable { |
| 1449 | return storage.QueryableFunc(func(mint, maxt int64) (storage.Querier, error) { |
no test coverage detected