Documentation ¶
Index ¶
- func AddRecordsToBatch(batch index.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 []index.Query, querier MultiTableQuerier, ...)
- func TestSingleDBQuery(t *testing.T, query index.Query, db *bbolt.DB, bucketName []byte, ...)
- func TestSingleTableQuery(t *testing.T, userID string, queries []index.Query, querier SingleTableQuerier, ...)
- type DBConfig
- type DBRecords
- type DBsConfig
- type MultiTableQuerier
- type PerUserDBsConfig
- type SingleDBQuerier
- type SingleTableQuerier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddRecordsToBatch ¶
func AddRecordsToBatch(batch index.WriteBatch, tableName string, start, numRecords int)
func AddRecordsToDB ¶
func BuildUserID ¶
func DecompressFile ¶
func SetupDBsAtPath ¶
func SetupTable ¶
func SetupTable(t *testing.T, path string, commonDBsConfig DBsConfig, perUserDBsConfig PerUserDBsConfig)
func TestMultiTableQuery ¶
func TestSingleDBQuery ¶
func TestSingleTableQuery ¶
Types ¶
type MultiTableQuerier ¶
type PerUserDBsConfig ¶
func (PerUserDBsConfig) String ¶
func (c PerUserDBsConfig) String() string
type SingleDBQuerier ¶
type SingleTableQuerier ¶
Click to show internal directories.
Click to hide internal directories.