tidb

package
v1.3.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL