paused

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

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.

Jump to

Keyboard shortcuts

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