Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConditionManager ¶
type ConditionManager interface { // GetManagedConditions return a list of condition the step might update GetManagedConditions() condition.Conditions }
type Conditions ¶
type Conditions[T InstanceWithConditions, R reconcile.Req[T]] struct { reconcile.BaseStep[T, R] // contains filtered or unexported fields }
Conditions is a generic step that automatically initialize the conditions list of the instance Status and ensures that Ready condition is updated before the CR is saved. It requires that the CRD type T implements the InstanceWithConditions interface. It collects the conditions managed by other steps to make it so.
func (Conditions[T, R]) GetName ¶
func (s Conditions[T, R]) GetName() string
type InstanceWithConditions ¶
type InstanceWithConditions interface { client.Object GetConditions() condition.Conditions SetConditions(condition.Conditions) }
Click to show internal directories.
Click to hide internal directories.