tidb

package
v1.4.0 Latest Latest
Warning

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

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

Documentation

Index

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.

Jump to

Keyboard shortcuts

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