wait

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CRDEstablishedConditionCheck

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

CRDEstablishedConditionCheck .

func ExistsConditionCheck

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

ExistsConditionCheck .

func GetFormattedName

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

GetFormattedName .

func NonExistsConditionCheck

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

NonExistsConditionCheck .

func ReadyReplicasConditionCheck

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

ReadyReplicasConditionCheck .

Types

type Backoff

type Backoff wait.Backoff

Backoff .

type CustomResourceConditionCheck

type CustomResourceConditionCheck func() (bool, error)

CustomResourceConditionCheck .

type ResourceConditionCheck

type ResourceConditionCheck func(runtime.Object, error) bool

ResourceConditionCheck .

type ResourceConditionChecks

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

ResourceConditionChecks .

func NewResourceConditionChecks

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

NewResourceConditionChecks .

func (*ResourceConditionChecks) WaitForCustomConditionChecks

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

WaitForCustomConditionChecks .

func (*ResourceConditionChecks) WaitForResources

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

WaitForResources .

Jump to

Keyboard shortcuts

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