conditions

package
v0.3.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Match

func Match(obj k8s.Object, cfg *envconf.Config, conditionType string, conditionStatus corev1.ConditionStatus) wait.ConditionWithContextFunc

Match returns true if the conditionType of an object matches the conditionStatus. If an object is not found, the condition is not satisfied and no error is returned.

func MatchList

func MatchList(obj *unstructured.UnstructuredList, cfg *envconf.Config, conditionType string, conditionStatus corev1.ConditionStatus) wait.ConditionWithContextFunc

MatchList does the same as Match but for each object of a ObjectList

func Status

func Status(obj k8s.Object, cfg *envconf.Config, key string, value string) wait.ConditionWithContextFunc

Status returns true if the status key of an object matches the status value. If an object is not found, the condition is not satisfied and no error is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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