# Functions
CountInJointState count the peers are in joint state.
IsInJointState judges whether the Peer is in joint state.
IsLearner judges whether the Peer's Role is Learner.
IsLearnerOrDemotingVoter judges whether peer role will become Learner.
IsVoterOrIncomingVoter judges whether peer role will become Voter.
NewTestAdapter create test adapter.
NewTestContainer mock.
No description provided by the author
NewTestRoleHandler create test adapter.
# Variables
TestResourceFactory test factory.
# Interfaces
Adapter metadata adapter.
Container is an abstraction of the node in a distributed system.
Resource is an abstraction of data shard in a distributed system.
RoleChangeHandler prophet role change handler.