Documentation ¶
Overview ¶
Package vttest provides the functionality to bring up a test cluster.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MemcachedPath ¶
func MemcachedPath() string
MemcachedPath returns the path to the memcached binary.
Types ¶
type Handle ¶
type Handle struct { Data map[string]interface{} // contains filtered or unexported fields }
Handle allows you to interact with the processes launched by vttest.
func LaunchMySQL ¶
LaunchMySQL launches just a MySQL instance with the specified db name. The schema is specified as a string instead of a file.
func LaunchVitess ¶
LaunchVitess launches a vitess test cluster.
func (*Handle) MySQLConnParams ¶
func (hdl *Handle) MySQLConnParams() (sqldb.ConnParams, error)
MySQLConnParams builds the MySQL connection params. It's valid only if you used LaunchMySQL.
Click to show internal directories.
Click to hide internal directories.