Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // NewDefaultConditionBuilder is the default condition builder. NewDefaultConditionBuilder = condition.NewBuilder // NewDefaultEtcdMemberBuilder is the default etcd member builder. NewDefaultEtcdMemberBuilder = etcdmember.NewBuilder // ConditionChecks Checks are the registered condition checks. ConditionChecks = []ConditionCheckFn{ condition.AllMembersReadyCheck, condition.ReadyCheck, condition.BackupReadyCheck, condition.DataVolumesReadyCheck, } // EtcdMemberChecks are the etcd member checks. EtcdMemberChecks = []EtcdMemberCheckFn{ etcdmember.ReadyCheck, } )
View Source
var TimeNow = time.Now
TimeNow is the function used to get the current time.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}
Checker checks Etcd status conditions and the status of the Etcd members.
type ConditionCheckFn ¶
ConditionCheckFn is a type alias for a function which returns an implementation of `Check`.
Click to show internal directories.
Click to hide internal directories.