status

package
v0.18.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetCondition

func SetCondition(conditions *[]metav1.Condition, conditionType string, status metav1.ConditionStatus, reason, message string, generation int64)

func SetPhase added in v0.14.0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL