# Functions
CheckAddPeer checks if the operator is to add peer on specified store.
CheckRemovePeer checks if the operator is to remove peer on specified store.
CheckTransferLeader checks if the operator is to transfer leader between the specified source and target stores.
CheckTransferLeaderFrom checks if the operator is to transfer leader out of the specified store.
CheckTransferLearner checks if the operator is to transfer learner between the specified source and target stores.
CheckTransferPeer checks if the operator is to transfer peer between the specified source and target stores.
CheckTransferPeerWithLeaderTransfer checks if the operator is to transfer peer between the specified source and target stores and it meanwhile transfers the leader out of source store.
CheckTransferPeerWithLeaderTransferFrom checks if the operator is to transfer peer out of the specified store and it meanwhile transfers the leader out of the store.
CleanServer is used to clean data directory.
MustNewGrpcClient must create a new grpc client.
NewRequestHeader creates a new request header.
WaitUntil repeatedly evaluates f() for a period of time, util it returns true.
WithRetryTimes specify the retry times.
WithSleepInterval specify the sleep duration.
# Variables
LeakOptions is used to filter the goroutines.
# Type aliases
CheckFunc is a condition checker that passed to WaitUntil.
WaitOption configures WaitOp.