NewSampleAndChunkQueryable creates a SampleAndChunkQueryable from a Queryable with a ChunkQueryable stub, that errors once it gets called.
(q storage.Queryable)
| 269 | // NewSampleAndChunkQueryable creates a SampleAndChunkQueryable from a |
| 270 | // Queryable with a ChunkQueryable stub, that errors once it gets called. |
| 271 | func NewSampleAndChunkQueryable(q storage.Queryable) storage.SampleAndChunkQueryable { |
| 272 | return &sampleAndChunkQueryable{q} |
| 273 | } |
| 274 | |
| 275 | type sampleAndChunkQueryable struct { |
| 276 | storage.Queryable |
no outgoing calls
no test coverage detected