Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidOutput = errors.New("invalid corosync-quorumtool output")
Functions ¶
func GenerateAuthkey ¶
GenerateAuthkey calls corosync-keygen in order to generate an authkey and write it to a location specified by `path`. It returns an error, if applicable.
Types ¶
type CorosyncNode ¶
type CorosyncQuorumNode ¶
type CorosyncQuorumNode struct {
CorosyncNode
Votes int
}
type QuorumStatus ¶
type QuorumStatus struct {
Nodes []*CorosyncQuorumNode
Votes int
VotesExpected int
Quorate bool
}
func GetQuorumStatus ¶
func GetQuorumStatus() (*QuorumStatus, error)
Click to show internal directories.
Click to hide internal directories.