Documentation ¶
Index ¶
- type Cluster
- func (cluster *Cluster) IsRunning(ctx context.Context, node string) bool
- func (cluster *Cluster) Kill(ctx context.Context, node string) error
- func (cluster *Cluster) Name() string
- func (cluster *Cluster) SetUp(ctx context.Context, nodes []string, node string) error
- func (cluster *Cluster) Start(ctx context.Context, node string) error
- func (cluster *Cluster) Stop(ctx context.Context, node string) error
- func (cluster *Cluster) TearDown(ctx context.Context, nodes []string, node string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct { IncludeTidb bool // contains filtered or unexported fields }
Cluster is the TiKV/TiDB database cluster. Note: Cluster does not implement `core.DB` interface.
Click to show internal directories.
Click to hide internal directories.