Documentation
¶
Index ¶
Constants ¶
View Source
const ( HealthyBecauseCRNotFound reason = "CR Not found, node is considered healthy" HealthyBecauseErrorsThresholdNotReached reason = "Errors number hasn't reached threshold not querying peers yet, node is considered healthy" HealthyBecauseNoPeersResponseNotReachedTimeout reason = "No response from peer. The duration of peer not responding hasn't passed the threshold so still considered healthy" HealthyBecauseNoPeersWereFound reason = "No Peers where found, node is considered healthy" HealthyBecauseMostPeersCantAccessAPIServer reason = "Most peers couldn't access API server, node is considered healthy" UnHealthyBecausePeersResponse reason = "Node is reported unhealthy by it's peers" UnHealthyBecauseNodeIsIsolated reason = "Node is isolated, node is considered unhealthy" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Peers ¶
func (*Peers) GetPeersAddresses ¶
func (p *Peers) GetPeersAddresses(role Role) [][]v1.NodeAddress
Click to show internal directories.
Click to hide internal directories.