tidb

package
v1.6.0-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: Apache-2.0 Imports: 8 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