conditions

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConditionReady = "Ready"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConditionManager

type ConditionManager struct{}

func NewConditionManager

func NewConditionManager() *ConditionManager

func (*ConditionManager) SetInstanceConditionReady

func (c *ConditionManager) SetInstanceConditionReady(conditions *[]metav1.Condition, status metav1.ConditionStatus) bool

Set the Condition of the instance to be ready

func (*ConditionManager) SetInstanceConditionUnknownIfNotSet

func (c *ConditionManager) SetInstanceConditionUnknownIfNotSet(conditions *[]metav1.Condition) bool

Set the Condition to be Unknown in case it is not set yet

func (*ConditionManager) SetSubroutineCondition

func (c *ConditionManager) SetSubroutineCondition(conditions *[]metav1.Condition, subroutine subroutine.Subroutine, subroutineResult ctrl.Result, subroutineErr error, isFinalize bool, log *logger.Logger) bool

Set Subroutines Conditions

func (*ConditionManager) SetSubroutineConditionToUnknownIfNotSet

func (c *ConditionManager) SetSubroutineConditionToUnknownIfNotSet(conditions *[]metav1.Condition, subroutine subroutine.Subroutine, isFinalize bool, log *logger.Logger) bool

Jump to

Keyboard shortcuts

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