package
2.1.17+incompatible
Repository: https://github.com/3pointer/pd.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

NewClient creates a PD client.
NewConnection creates nodes according to the configuration and returns the connection among nodes.
NewDriver returns a driver.
NewEventRunner creates an event runner.
NewNode returns a Node.
NewRaftEngine creates the initialized raft with the configuration.
NewSimConfig create a new configuration of the simulator.

# Structs

AddNodes adds nodes.
Connection records the informations of connection among nodes.
DeleteNodes deletes nodes.
Driver promotes the cluster status change.
EventRunner includes all events.
Node simulates a TiKV.
RaftEngine records all raft infomations.
ReadFlowOnRegion reads bytes in some region.
SimConfig is the simulator configuration.
WriteFlowOnRegion writes bytes in some region.
WriteFlowOnSpot writes bytes in some range.

# Interfaces

Client is a PD (Placement Driver) client.
Event affects the status of the cluster.
Task running in node.