condition

package
v0.0.0-...-c437400 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConditionManager

type ConditionManager struct {
}

func (*ConditionManager) FindCondition

FindCondition finds the suitable Condition object by looking into the conditions list and returns true if already exists but, if none exists, it appends one and returns false

func (*ConditionManager) HasCondition

func (c *ConditionManager) HasCondition(conditions *[]v1alpha1.GitOpsDeploymentCondition, conditionType v1alpha1.GitOpsDeploymentConditionType) bool

HasCondition checks for the existence of a given Condition type

func (*ConditionManager) SetCondition

SetCondition updates GitOpsDeployment status conditions

type Conditions

func NewConditionManager

func NewConditionManager() Conditions

NewConditionManager returns a ConditionManager object

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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