Documentation ¶
Overview ¶
Package condition provides condition related utils.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualCondition ¶
EqualCondition compares one condition with another; it ignores the LastTransitionTime and Message fields, and will consider the ObservedGeneration values from the two conditions a match if the current condition is newer.
func EqualConditionIgnoreReason ¶
EqualConditionIgnoreReason compares one condition with another; it ignores the Reason, LastTransitionTime, and Message fields, and will consider the ObservedGeneration values from the two conditions a match if the current condition is newer.
func IsConditionStatusFalse ¶ added in v0.7.11
IsConditionStatusFalse returns true if the condition is false and the observed generation matches the latest generation.
Types ¶
This section is empty.