wait

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 15 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CRDEstablishedConditionCheck

func CRDEstablishedConditionCheck(obj runtime.Object, k8serror error) bool

func ExistsConditionCheck

func ExistsConditionCheck(obj runtime.Object, k8serror error) bool

func GetFormattedName

func GetFormattedName(name, namespace string, gvk schema.GroupVersionKind) string

func NonExistsConditionCheck

func NonExistsConditionCheck(obj runtime.Object, k8serror error) bool

func ReadyReplicasConditionCheck

func ReadyReplicasConditionCheck(obj runtime.Object, k8serror error) bool

Types

type Backoff

type Backoff = wait.Backoff

type CustomResourceConditionCheck

type CustomResourceConditionCheck func() (bool, error)

type ResourceConditionCheck

type ResourceConditionCheck func(runtime.Object, error) bool

type ResourceConditionChecks

type ResourceConditionChecks struct {
	// contains filtered or unexported fields
}

func NewResourceConditionChecks

func NewResourceConditionChecks(client client.Client, backoff Backoff, log logr.Logger, scheme *runtime.Scheme) *ResourceConditionChecks

func (*ResourceConditionChecks) WaitForCustomConditionChecks

func (c *ResourceConditionChecks) WaitForCustomConditionChecks(id string, checkFuncs ...CustomResourceConditionCheck) error

func (*ResourceConditionChecks) WaitForResources

func (c *ResourceConditionChecks) WaitForResources(id string, objects []runtime.Object, checkFuncs ...ResourceConditionCheck) error

Jump to

Keyboard shortcuts

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