Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetCondition ¶
func SetPhase ¶ added in v0.14.0
func SetPhase(phase *cloudflarev1alpha1.Phase, p cloudflarev1alpha1.Phase)
SetPhase sets *phase to p. A nil phase pointer is a no-op (used by callers that do not yet have a Status.Phase field, and by tests that don't care about Phase).
func SetReady ¶
func SetReady( conditions *[]metav1.Condition, phase *cloudflarev1alpha1.Phase, status metav1.ConditionStatus, reason, message string, generation int64, )
SetReady sets the Ready condition AND derives Phase from the (status, reason) pair when phase is non-nil. Callers that don't yet have a Status.Phase field pass nil — the function is a strict superset of the previous SetReady.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.