Documentation ¶
Index ¶
- func PortForwardAndGetTiDBDSN(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 PortForwardAndGetTiDBDSN ¶ added in v1.4.0
func PortForwardAndGetTiDBDSN(fw portforward.PortForward, ns, tc, user, password, database string) (string, context.CancelFunc, error)
PortForwardAndGetTiDBDSN create a portforward for TiDB and return its DSN
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.