Versions in this module Expand all Collapse all v2 v2.4.3 Mar 21, 2022 Changes in this version + func AddRecordsToBatch(batch chunk.WriteBatch, tableName string, start, numRecords int) + func AddRecordsToDB(t testing.TB, path string, dbClient *local.BoltIndexClient, ...) + func BuildUserID(id int) string + func CompareDBs(t *testing.T, db1, db2 *bbolt.DB) + func DecompressFile(t *testing.T, src, dest string) + func SetupDBsAtPath(t *testing.T, path string, dbs map[string]DBConfig, bucketName []byte) string + func SetupTable(t *testing.T, path string, commonDBsConfig DBsConfig, ...) + func TestMultiTableQuery(t *testing.T, userID string, queries []chunk.IndexQuery, ...) + func TestSingleDBQuery(t *testing.T, query chunk.IndexQuery, db *bbolt.DB, bucketName []byte, ...) + func TestSingleTableQuery(t *testing.T, userID string, queries []chunk.IndexQuery, ...) + type DBConfig struct + CompressFile bool + type DBRecords struct + NumRecords int + Start int + type DBsConfig struct + DBRecordsStart int + NumCompactedDBs int + NumUnCompactedDBs int + func (c DBsConfig) String() string + type MultiTableQuerier interface + QueryPages func(ctx context.Context, queries []chunk.IndexQuery, ...) error + type PerUserDBsConfig struct + NumUsers int + func (c PerUserDBsConfig) String() string + type SingleDBQuerier interface + QueryDB func(ctx context.Context, db *bbolt.DB, bucketName []byte, query chunk.IndexQuery, ...) error + type SingleTableQuerier interface + MultiQueries func(ctx context.Context, queries []chunk.IndexQuery, ...) error Other modules containing this package github.com/pao214/loki/v3