Documentation ¶
Index ¶
- func GetTiDBDSN(fw portforward.PortForward, ns, tc, user, password, database string) (string, context.CancelFunc, error)
- func TiDBIsConnectable(fw portforward.PortForward, ns, tc, user, password string) wait.ConditionFunc
- func TiDBIsInserted(fw portforward.PortForward, ns, tc, user, password, dbName, tableName string) wait.ConditionFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTiDBDSN ¶
func GetTiDBDSN(fw portforward.PortForward, ns, tc, user, password, database string) (string, context.CancelFunc, error)
GetTiDBDSN returns a DSN to use
func TiDBIsConnectable ¶
func TiDBIsConnectable(fw portforward.PortForward, ns, tc, user, password string) wait.ConditionFunc
TiDBIsConnectable checks whether the tidb cluster is connectable.
func TiDBIsInserted ¶
func TiDBIsInserted(fw portforward.PortForward, ns, tc, user, password, dbName, tableName string) wait.ConditionFunc
TiDBIsInserted checks whether the tidb cluster has insert some data.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.