Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultStatusFile = "status.json"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConditionStatus ¶
type Status ¶
type Status struct { Readiness map[string]ConditionStatus // contains filtered or unexported fields }
func ReadStatusFile ¶
ReadStatusFile reads in the status file as written by WriteStatus.
func (*Status) GetNotReadyConditions ¶
GetNotReadyConditions cycles through all readiness keys and for any that are not ready the reasons are combined and returned. The output format is '<reason 1>; <reason 2>'.
func (*Status) GetReadiness ¶
GetReadiness checks all readiness keys and returns true if all are ready. If there are no readiness conditions then it has not been initialized and is considered not ready.
Click to show internal directories.
Click to hide internal directories.