conditions

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConditionsGetter

type ConditionsGetter interface {
	GetStatus(conditions []metav1.Condition) *metav1.Condition
	IsStatusTrue(conditions []metav1.Condition) bool
}

type ConditionsService

type ConditionsService interface {
	ConditionsSetter
	ConditionsGetter
}

func NewConditionsService

func NewConditionsService(conditionType string) ConditionsService

type ConditionsSetter

type ConditionsSetter interface {
	SetTrue(objectMeta metav1.ObjectMeta, conditions *[]metav1.Condition, reason, message string)
	SetFalse(objectMeta metav1.ObjectMeta, conditions *[]metav1.Condition, reason, message string)
}

Jump to

Keyboard shortcuts

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