conditions

package
v2.10.8 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Applied    CondType = "Applied"
	Available  CondType = "Available"
	Configured CondType = "Configured"

	ReasonNotObserved Reason = "NotObserved"
	ReasonAsExpected  Reason = "AsExpected"
	ReasonCompleted   Reason = "Completed"
	ReasonInProgress  Reason = "InProgress"
	ReasonUnknown     Reason = "Unknown"
	ReasonError       Reason = "Error"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CondType

type CondType string

type Conditions

type Conditions map[CondType]*condition

func New

func New() Conditions

func (Conditions) AddCompleted added in v2.10.0

func (c Conditions) AddCompleted(condType CondType, message string)

func (Conditions) AddError

func (c Conditions) AddError(condType CondType, err error)

func (Conditions) AddInProgress added in v2.10.0

func (c Conditions) AddInProgress(condType CondType, message string)

func (Conditions) AddSuccess

func (c Conditions) AddSuccess(condType CondType, message string)

func (Conditions) AddUnknown

func (c Conditions) AddUnknown(condType CondType, message string)

func (Conditions) ToConditions

func (c Conditions) ToConditions(generation int64) []metav1.Condition

type Reason

type Reason string

Jump to

Keyboard shortcuts

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