Documentation ¶
Index ¶
- func AddRecordsToBatch(batch index.WriteBatch, tableName string, start, numRecords int)
- func AddRecordsToDB(t testing.TB, path string, start, numRecords int, bucketName []byte)
- func BuildUserID(id int) string
- 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 VerifyIndexes(t *testing.T, userID string, queries []index.Query, ...)
- func VerifySingleIndexFile(t *testing.T, query index.Query, db *bbolt.DB, bucketName []byte, ...)
- type DBConfig
- type DBRecords
- type DBsConfig
- type IndexIteratorFunc
- type PerUserDBsConfig
- type SingleDBQuerier
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 VerifyIndexes ¶
Types ¶
type DBConfig ¶
type DBConfig struct {
DBRecords
}
ToDo(Sandeep): refactor to remove DBConfig and use DBRecords directly
type IndexIteratorFunc ¶
type PerUserDBsConfig ¶
func (PerUserDBsConfig) String ¶
func (c PerUserDBsConfig) String() string
Click to show internal directories.
Click to hide internal directories.