Documentation ¶
Index ¶
- type MysqlTest
- func (t *MysqlTest) CheckReplication() (int64, string, error)
- func (t *MysqlTest) Connect() error
- func (t *MysqlTest) CountConnections() (int64, error)
- func (t *MysqlTest) Disconnect()
- func (t *MysqlTest) GetWeight(val int64, max int64) string
- func (t *MysqlTest) JsonLog(msg string)
- func (t *MysqlTest) Run()
- func (t *MysqlTest) RunOnce()
- func (t *MysqlTest) WriteHttpResult(testname string, passed bool, description string)
- func (t *MysqlTest) WriteTextResult(testname string, status string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MysqlTest ¶
type MysqlTest struct { Name string // contains filtered or unexported fields }
func NewMysqlTest ¶
func (*MysqlTest) CheckReplication ¶
NOTE: only works if one master
func (*MysqlTest) CountConnections ¶
func (*MysqlTest) Disconnect ¶
func (t *MysqlTest) Disconnect()
func (*MysqlTest) JsonLog ¶
This is a very dumb json func. If more interesting stuff needs to be logged, pass it in as a map[string]interface{} and then detect value as int, string, w/e before marshaling json.
func (*MysqlTest) RunOnce ¶
func (t *MysqlTest) RunOnce()
func writeHttpResult(filedirectory string) {
}
func (*MysqlTest) WriteHttpResult ¶
func (*MysqlTest) WriteTextResult ¶
Click to show internal directories.
Click to hide internal directories.