Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertWriter ¶ added in v0.4.0
func (*CertWriter) WriteAndSignForClient ¶ added in v0.4.0
func (c *CertWriter) WriteAndSignForClient(commonName, caName string) (string, string, error)
func (*CertWriter) WriteAndSignForServer ¶ added in v0.4.0
func (c *CertWriter) WriteAndSignForServer(commonName, caName string) (string, string, error)
type DBConnectionInfo ¶
type DBConnectionInfo struct { Type string Hostname string Port string Username string Password string }
func GetDBConnectionInfo ¶
func GetDBConnectionInfo() *DBConnectionInfo
func GetMySQLDBConnectionInfo ¶
func GetMySQLDBConnectionInfo() *DBConnectionInfo
func GetPostgresDBConnectionInfo ¶
func GetPostgresDBConnectionInfo() *DBConnectionInfo
func (*DBConnectionInfo) CreateDatabase ¶
func (c *DBConnectionInfo) CreateDatabase(dbName string) *TestDatabase
func (*DBConnectionInfo) RemoveDatabase ¶
func (c *DBConnectionInfo) RemoveDatabase(db *TestDatabase)
type ParallelRunner ¶ added in v0.3.0
type ParallelRunner struct {
NumWorkers int
}
func (*ParallelRunner) RunOnChannel ¶ added in v0.3.0
func (p *ParallelRunner) RunOnChannel(queue chan interface{}, workFunc func(item interface{}))
func (*ParallelRunner) RunOnSlice ¶ added in v0.3.0
func (p *ParallelRunner) RunOnSlice(items []interface{}, workFunc func(item interface{}))
func (*ParallelRunner) RunOnSliceStrings ¶ added in v0.3.0
func (p *ParallelRunner) RunOnSliceStrings(someStrings []string, workFunc func(aString string))
type TestDatabase ¶
type TestDatabase struct { Name string ConnInfo *DBConnectionInfo }
func (*TestDatabase) DBConfig ¶
func (d *TestDatabase) DBConfig() db.Config
func (*TestDatabase) Destroy ¶
func (d *TestDatabase) Destroy()
Click to show internal directories.
Click to hide internal directories.