await

package
v0.0.0-...-0821b2d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitForThePodReplicasCountInNamespace

func WaitForThePodReplicasCountInNamespace(
	apiClient *clients.Settings,
	nsname string,
	options metav1.ListOptions,
	replicasCount int,
	timeout time.Duration,
) (bool, error)

WaitForThePodReplicasCountInNamespace waiting for the specific pod replicas count in the namespace that match options.

func WaitUntilAllDeploymentsReady

func WaitUntilAllDeploymentsReady(apiClient *clients.Settings, nsname string, timeout time.Duration) (bool, error)

WaitUntilAllDeploymentsReady waits for the duration of the defined timeout or until all deployments in the namespace reach the Ready condition.

func WaitUntilAllPodsReady

func WaitUntilAllPodsReady(apiClient *clients.Settings, nsname string, timeout time.Duration) (bool, error)

WaitUntilAllPodsReady waits for the duration of the defined timeout or until all deployments in the namespace reach the Ready condition.

func WaitUntilAllStatefulSetsReady

func WaitUntilAllStatefulSetsReady(apiClient *clients.Settings, nsname string, timeout time.Duration) (bool, error)

WaitUntilAllStatefulSetsReady waits for the duration of the defined timeout or until all deployments in the namespace reach the Ready condition.

func WaitUntilConfigMapCreated

func WaitUntilConfigMapCreated(apiClient *clients.Settings, name, nsname string, timeout time.Duration) error

WaitUntilConfigMapCreated waits until the configMap is created.

func WaitUntilDaemonSetDeleted

func WaitUntilDaemonSetDeleted(apiClient *clients.Settings, name, nsname string, timeout time.Duration) error

WaitUntilDaemonSetDeleted waits until the daemonset is deleted.

func WaitUntilDaemonSetIsRunning

func WaitUntilDaemonSetIsRunning(apiClient *clients.Settings, name, nsname string, timeout time.Duration) error

WaitUntilDaemonSetIsRunning waits until the new daemonset is in Ready state.

func WaitUntilDeploymentReady

func WaitUntilDeploymentReady(apiClient *clients.Settings, name, nsname string, timeout time.Duration) error

WaitUntilDeploymentReady waits for the duration of the defined timeout or until specific deployment in the namespace reach the Ready condition.

func WaitUntilLVDIsDiscovering

func WaitUntilLVDIsDiscovering(apiClient *clients.Settings,
	lvdName string,
	nsname string,
	timeout time.Duration) error

WaitUntilLVDIsDiscovering waits until the localVolumeDiscovery is Discovering.

func WaitUntilNodeIsUnreachable

func WaitUntilNodeIsUnreachable(hostname string, timeout time.Duration) error

WaitUntilNodeIsUnreachable waits until a hostname is not reachble via its IPv4 or IPv6 address.

func WaitUntilPersistentVolumeClaimCreated

func WaitUntilPersistentVolumeClaimCreated(apiClient *clients.Settings,
	nsname string,
	pvcCnt int,
	timeout time.Duration,
	options ...metav1.ListOptions) error

WaitUntilPersistentVolumeClaimCreated waits until required count of the persistentVolumeClaims are created.

func WaitUntilPersistentVolumeCreated

func WaitUntilPersistentVolumeCreated(apiClient *clients.Settings,
	pvCnt int,
	timeout time.Duration,
	options ...metav1.ListOptions) error

WaitUntilPersistentVolumeCreated waits until required count of the persistentVolumes are created.

Types

This section is empty.

Jump to

Keyboard shortcuts

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