Documentation ¶
Index ¶
- func CheckAddPeer(re *require.Assertions, op *operator.Operator, kind operator.OpKind, ...)
- func CheckMultiTargetTransferLeader(re *require.Assertions, op *operator.Operator, kind operator.OpKind, ...)
- func CheckRemovePeer(re *require.Assertions, op *operator.Operator, storeID uint64)
- func CheckSteps(re *require.Assertions, op *operator.Operator, steps []operator.OpStep)
- func CheckTransferLeader(re *require.Assertions, op *operator.Operator, kind operator.OpKind, ...)
- func CheckTransferLeaderFrom(re *require.Assertions, op *operator.Operator, kind operator.OpKind, ...)
- func CheckTransferLearner(re *require.Assertions, op *operator.Operator, kind operator.OpKind, ...)
- func CheckTransferPeer(re *require.Assertions, op *operator.Operator, kind operator.OpKind, ...)
- func CheckTransferPeerWithLeaderTransfer(re *require.Assertions, op *operator.Operator, kind operator.OpKind, ...)
- func CheckTransferPeerWithLeaderTransferFrom(re *require.Assertions, op *operator.Operator, kind operator.OpKind, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAddPeer ¶
func CheckAddPeer(re *require.Assertions, op *operator.Operator, kind operator.OpKind, storeID uint64)
CheckAddPeer checks if the operator is to add peer on specified store.
func CheckMultiTargetTransferLeader ¶
func CheckMultiTargetTransferLeader(re *require.Assertions, op *operator.Operator, kind operator.OpKind, sourceID uint64, targetIDs []uint64)
CheckMultiTargetTransferLeader checks if the operator is to transfer leader from the specified source to one of the target stores.
func CheckRemovePeer ¶
func CheckRemovePeer(re *require.Assertions, op *operator.Operator, storeID uint64)
CheckRemovePeer checks if the operator is to remove peer on specified store.
func CheckSteps ¶
CheckSteps checks if the operator matches the given steps.
func CheckTransferLeader ¶
func CheckTransferLeader(re *require.Assertions, op *operator.Operator, kind operator.OpKind, sourceID, targetID uint64)
CheckTransferLeader checks if the operator is to transfer leader between the specified source and target stores.
func CheckTransferLeaderFrom ¶
func CheckTransferLeaderFrom(re *require.Assertions, op *operator.Operator, kind operator.OpKind, sourceID uint64)
CheckTransferLeaderFrom checks if the operator is to transfer leader out of the specified store.
func CheckTransferLearner ¶
func CheckTransferLearner(re *require.Assertions, op *operator.Operator, kind operator.OpKind, sourceID, targetID uint64)
CheckTransferLearner checks if the operator is to transfer learner between the specified source and target stores.
func CheckTransferPeer ¶
func CheckTransferPeer(re *require.Assertions, op *operator.Operator, kind operator.OpKind, sourceID, targetID uint64)
CheckTransferPeer checks if the operator is to transfer peer between the specified source and target stores.
func CheckTransferPeerWithLeaderTransfer ¶
func CheckTransferPeerWithLeaderTransfer(re *require.Assertions, op *operator.Operator, kind operator.OpKind, sourceID, targetID uint64)
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.
func CheckTransferPeerWithLeaderTransferFrom ¶
func CheckTransferPeerWithLeaderTransferFrom(re *require.Assertions, op *operator.Operator, kind operator.OpKind, sourceID uint64)
CheckTransferPeerWithLeaderTransferFrom checks if the operator is to transfer peer out of the specified store and it meanwhile transfers the leader out of the store.
Types ¶
This section is empty.