Documentation ¶
Index ¶
- Variables
- func ClusterHA(t *testing.T) func()
- func ClusterInABox(t *testing.T) func()
- func ClusterSinglebox(t *testing.T) func()
- func CreateDatabase(t *testing.T, db string) func()
- func CreateLoremTable(t *testing.T, tableType string, database string, tableNames []string)
- func CreateTable(t *testing.T, db, table, columns string)
- func GenerateLoremStrings(out chan []string, done <-chan struct{})
- func InsertLoremData(loremStrings <-chan []string, t *testing.T, database string, tables []string)
- func InsertRow(t *testing.T, db, table string, columns, values []string) error
- func MustRun(t *testing.T, name string, a ...interface{})
- func TerminateCluster(t *testing.T)
Constants ¶
This section is empty.
Variables ¶
View Source
var Wordlist = strings.Fields(words)
Wordlist generate a slice of stings from words
Functions ¶
func ClusterInABox ¶
ClusterInABox spins up a cluster-in-a-box cluster on this machine. Returns a finalizer to stop && delete the cluster.
func ClusterSinglebox ¶
ClusterSinglebox spins up a single leaf Returns a finalizer to stop && delete the node
func CreateDatabase ¶
CreateDatabase will create a database with a name specified and return a DROP DATABASE function; which should be deferred
func CreateLoremTable ¶
CreateLoremTable create a testing table
func CreateTable ¶
CreateTable Create table for testing
func GenerateLoremStrings ¶
func GenerateLoremStrings(out chan []string, done <-chan struct{})
GenerateLoremStrings Generates Random lorem ipsum strings
func InsertLoremData ¶
InsertLoremData watch the chanel and insterts into db
func TerminateCluster ¶
TerminateCluster does exactly what you would think
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.