Documentation ¶
Index ¶
- Constants
- func AllMachineReady(client *rancher.Client, clusterID string, timeout time.Duration) error
- func AllManagementNodeReady(client *rancher.Client, ClusterID string, timeout time.Duration) error
- func AllNodeDeleted(client *rancher.Client, ClusterID string) error
- func IsNodeDeleted(client *rancher.Client, nodeName, ClusterID string) error
- func Isv1NodeConditionMet(client *rancher.Client, machineID, clusterID, conditionReason string) error
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func AllMachineReady ¶
AllMachineReady is a helper method that will loop and check if the machine object of every node in a cluster is ready. Typically Used for RKE2/K3s Clusters. It will return an error if the machine object is not ready after set amount of time.
func AllManagementNodeReady ¶
AllManagementNodeReady is a helper method that will loop and check if the node is ready in the RKE1 cluster. It will return an error if the node is not ready after set amount of time.
func AllNodeDeleted ¶
AllNodeDeleted is a helper method that will loop and check if all of the node is deleted in the cluster.
func IsNodeDeleted ¶
IsNodeDeleted is a helper method that will loop and check if the node is deleted in the cluster.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.