conditions

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Awaiter

type Awaiter[T RuntimeObjectWithStatusConditions, L any, PL objectList[L]] struct {
	// contains filtered or unexported fields
}

func NewConditionAwaiter

func NewConditionAwaiter[T RuntimeObjectWithStatusConditions, L any, PL objectList[L]](timeout time.Duration) *Awaiter[T, L, PL]

func (*Awaiter[T, L, PL]) AwaitCondition

func (a *Awaiter[T, L, PL]) AwaitCondition(ctx context.Context, k8sClient client.WithWatch, object client.Object, conditionType string) (T, error)

type RuntimeObjectWithStatusConditions

type RuntimeObjectWithStatusConditions interface {
	client.Object
	StatusConditions() []metav1.Condition
}

Jump to

Keyboard shortcuts

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