package
3.0.14+incompatible
Repository: https://github.com/mbhanuk/puppet-mysql.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
GetLeader returns identity of raft leader.
No description provided by the author
GetState returns current raft state.
No description provided by the author
No description provided by the author
IsHealthy checks whether this node is healthy in the raft group.
IsLeader tells if this node is the current raft leader.
IsPartOfQuorum returns `true` when this node is part of the raft quorum, meaning its data and opinion are trustworthy.
No description provided by the author
No description provided by the author
Monitor is a utility function to routinely observe leadership state.
NewFileSnapshotStore creates a new FileSnapshotStore based on a base directory.
NewFileSnapshotStoreWithLogger creates a new FileSnapshotStore based on a base directory.
No description provided by the author
NewStore inits and returns a new store.
OnHealthReport acts on a raft-member reporting its health.
PublishCommand will distribute a command across the group.
No description provided by the author
No description provided by the author
No description provided by the author
ReportToRaftLeader tells the leader this raft node is raft-healthy.
Setup creates the entire raft shananga.
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
FileSnapshotSink implements SnapshotSink with a file.
FileSnapshotStore implements the SnapshotStore interface and allows snapshots to be made on the local disk.
RelationalStoreimplements: - hashicorp/raft.StableStore - hashicorp/log.LogStore.
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author