kubeutils

package
v0.11.5 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackOffToDuration

func BackOffToDuration(backoff wait.Backoff) time.Duration

BackOffToDuration returns the maximum duration of the provided backoff.

func IsDeploymentReady

func IsDeploymentReady(ctx context.Context, cli client.Client, ns, name string) (bool, error)

IsDeploymentReady returns true if the deployment is ready.

func IsStatefulSetReady

func IsStatefulSetReady(ctx context.Context, cli client.Client, ns, name string) (bool, error)

IsStatefulSetReady returns true if the statefulset is ready.

func WaitForDeployment

func WaitForDeployment(ctx context.Context, cli client.Client, ns, name string) error

WaitForDeployment waits for the provided deployment to be ready.

Types

This section is empty.

Jump to

Keyboard shortcuts

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