Documentation ¶
Index ¶
- func WaitForBackupAvailable(c *kc.Client, clusterName, backupName string, timeout time.Duration) error
- func WaitForBackupCondition(c *kc.Client, clusterName, backupName, conditionDesc string, ...) error
- func WaitForBackupNotFound(c *kc.Client, clusterName, backupName string, timeout time.Duration) error
- func WaitForCertInit(c *kc.Client, clusterName string, timeout time.Duration) error
- func WaitForCertUpdated(c *kc.Client, clusterName string, latestTime metav1.Time, ...) error
- func WaitForClusterCondition(c *kc.Client, clusterName, conditionDesc string, timeout time.Duration, ...) error
- func WaitForClusterHealthy(c *kc.Client, clusterName string, timeout time.Duration) error
- func WaitForClusterNotFound(c *kc.Client, clusterName string, timeout time.Duration) error
- func WaitForClusterRunning(c *kc.Client, clusterName string, timeout time.Duration) error
- func WaitForComponentNotFound(c *kc.Client, clusterName string, timeout time.Duration) error
- func WaitForCriRegistry(c *kc.Client, clusterName string, timeout time.Duration, registries []string) error
- func WaitForJoinNode(c *kc.Client, nodeIP string, timeout time.Duration) error
- func WaitForRecovery(c *kc.Client, clusterName string, timeout time.Duration) error
- func WaitForUpgrade(c *kc.Client, clusterName string, timeout time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WaitForBackupAvailable ¶ added in v1.2.0
func WaitForBackupCondition ¶ added in v1.2.0
func WaitForBackupNotFound ¶ added in v1.2.0
func WaitForCertInit ¶ added in v1.3.1
func WaitForCertUpdated ¶ added in v1.3.1
func WaitForClusterCondition ¶
func WaitForClusterCondition(c *kc.Client, clusterName, conditionDesc string, timeout time.Duration, condition clusterCondition, outLog bool) error
WaitForClusterCondition waits a cluster to be matched to the given condition.
func WaitForClusterHealthy ¶
func WaitForClusterNotFound ¶
WaitForClusterNotFound returns an error if it takes too long for the pod to fully terminate. Unlike `waitForPodTerminatedInNamespace`, the pod's Phase and Reason are ignored. If the pod Get api returns IsNotFound then the wait stops and nil is returned. If the Get api returns an error other than "not found" then that error is returned and the wait stops.
func WaitForClusterRunning ¶
func WaitForComponentNotFound ¶ added in v1.2.0
func WaitForCriRegistry ¶ added in v1.3.1
func WaitForJoinNode ¶ added in v1.3.1
func WaitForRecovery ¶ added in v1.2.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.