Documentation ¶
Index ¶
- func CreateBlock(t testing.TB, generator func() []*testhelper.ProfileBuilder) (block.Meta, string)
- func CreateBlockFromMemory(t *testing.T, dir string, minTime, maxTime model.Time, ...) *block.Meta
- func MockNoCompactMark(t testing.TB, bucket objstore.Bucket, userID string, meta block.Meta) *block.NoCompactMark
- func MockStorageBlock(t testing.TB, bucket objstore.Bucket, userID string, minT, maxT model.Time) block.Meta
- func MockStorageBlockWithExtLabels(t testing.TB, bucket objstore.Bucket, userID string, minT, maxT model.Time, ...) block.Meta
- func MockStorageDeletionMark(t testing.TB, bucket objstore.Bucket, userID string, meta block.Meta) *block.DeletionMark
- func OpenBlockFromMemory(t *testing.T, dir string, minTime, maxTime model.Time, ...) *phlaredb.BlockQuerier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBlock ¶
func CreateBlock(t testing.TB, generator func() []*testhelper.ProfileBuilder) (block.Meta, string)
CreateBlock creates a block with the given profiles. Returns the block metadata, the directory where the block is stored, and an error if any.
func CreateBlockFromMemory ¶ added in v1.8.0
func MockNoCompactMark ¶
func MockStorageBlock ¶
func MockStorageDeletionMark ¶
func OpenBlockFromMemory ¶ added in v1.8.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.