util

package
v1.5.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IntPtr added in v1.4.0

func IntPtr(i int) *int

func IsRetryableAPIError added in v1.5.0

func IsRetryableAPIError(err error) bool

func PollImmediateWithReason added in v1.3.3

func PollImmediateWithReason(interval, timeout time.Duration, cond func() (bool, error, string)) (error, string)

PollImmediateWithReason calls 'wait.PollImmediate' and return last reason

func PollWithReason added in v1.3.3

func PollWithReason(interval, timeout time.Duration, cond func() (bool, error, string)) (error, string)

PollWithReason calls 'wait.Poll' and return last reason

func WaitForAPIServicesAvaiable

func WaitForAPIServicesAvaiable(client aggregatorclientset.Interface, selector labels.Selector) error

WaitForAPIServicesAvaiable waits for apiservices to be available

func WaitForCRDNotFound

func WaitForCRDNotFound(client apiextensionsclientset.Interface, name string) error

WaitForCRDNotFound waits for CRD to be not found in apiserver

func WaitForCRDsEstablished

func WaitForCRDsEstablished(client apiextensionsclientset.Interface, selector labels.Selector) error

WaitForCRDsEstablished waits for all CRDs to be established

Types

This section is empty.

Jump to

Keyboard shortcuts

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