Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMemberNotFound error = errors.New("member not found")
Functions ¶
This section is empty.
Types ¶
type ClusterStatus ¶
type ClusterStatus string
const ( ClusterStatusOK ClusterStatus = "OK" ClusterStatusOKPartial ClusterStatus = "OK_PARTIAL" ClusterStatusOKNoTolerance ClusterStatus = "OK_NO_TOLERANCE" ClusterStatusOKNoTolerancePartial ClusterStatus = "OK_NO_TOLERANCE_PARTIAL" ClusterStatusNoQuorum ClusterStatus = "NO_QUORUM" ClusterStatusOffline ClusterStatus = "OFFLINE" ClusterStatusError ClusterStatus = "ERROR" ClusterStatusUnreachable ClusterStatus = "UNREACHABLE" ClusterStatusUnknown ClusterStatus = "UNKNOWN" ClusterStatusFenced ClusterStatus = "FENCED_WRITES" )
type Member ¶
type Member struct { Address string `json:"address"` MemberState MemberState `json:"status"` InstanceErrors []string `json:"instanceErrors"` }
type MemberState ¶
type MemberState string
const ( MemberStateOnline MemberState = "ONLINE" MemberStateOffline MemberState = "OFFLINE" MemberStateRecovering MemberState = "RECOVERING" MemberStateUnreachable MemberState = "UNREACHABLE" MemberStateError MemberState = "ERROR" MemberStateMissing MemberState = "(MISSING)" )
type ReplicaSetStatus ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.