Documentation ¶
Overview ¶
Package paused implements paused helper functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsurePausedCondition ¶
func EnsurePausedCondition(ctx context.Context, c client.Client, cluster *clusterv1.Cluster, obj ConditionSetter) (isPaused bool, conditionChanged bool, err error)
EnsurePausedCondition sets the paused condition on the object and returns if it should be considered as paused.
Types ¶
type ConditionSetter ¶
type ConditionSetter interface { v1beta2conditions.Setter client.Object }
ConditionSetter combines the client.Object and Setter interface.
Click to show internal directories.
Click to hide internal directories.