package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev

# Packages

# Functions

BootstrapWithMultiRegions initializes a Cluster with multiple Regions and 1 Store.
BootstrapWithMultiStores initializes a Cluster with 1 Region and n Stores.
BootstrapWithSingleStore initializes a Cluster with 1 Region and 1 Store.
New creates an embed unistore client, pd client and cluster handler.
NewMockPDServiceDiscovery returns a mock PD ServiceDiscovery.

# Variables

CheckResourceTagForTopSQLInGoTest is used to identify whether check resource tag for TopSQL.
UnistoreRPCClientSendHook exports for test.

# Structs

Cluster simulates a TiKV cluster.
RPCClient sends kv RPC calls to mock cluster.