package
0.3.0
Repository: https://github.com/matrixorigin/matrixcube.git
Documentation: pkg.go.dev

# Functions

CheckAddPeer checks if the operator is to add peer on specified container.
CheckRemovePeer checks if the operator is to remove peer on specified container.
CheckTransferLeader checks if the operator is to transfer leader between the specified source and target containers.
CheckTransferLeaderFrom checks if the operator is to transfer leader out of the specified container.
CheckTransferLearner checks if the operator is to transfer learner between the specified source and target containers.
CheckTransferPeer checks if the operator is to transfer peer between the specified source and target containers.
CheckTransferPeerWithLeaderTransfer checks if the operator is to transfer peer between the specified source and target containers and it meanwhile transfers the leader out of source container.
CheckTransferPeerWithLeaderTransferFrom checks if the operator is to transfer peer out of the specified container and it meanwhile transfers the leader out of the container.
WaitUntil repeatedly evaluates f() for a period of time, util it returns true.
WithSleepInterval specify the sleep duration.

# Structs

WaitOp represents available options when execute WaitUntil.

# Type aliases

CheckFunc is a condition checker that passed to WaitUntil.
WaitOption configures WaitOp.