Documentation ¶
Index ¶
- func CreateBlock(t testing.TB, generator func() []*testhelper.ProfileBuilder) (block.Meta, string, error)
- 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
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, error)
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 MockNoCompactMark ¶
func MockStorageBlock ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.