Documentation
¶
Index ¶
- func ClusterHasReadyNode(ctx context.Context, options linodego.ClusterConditionOptions) (bool, error)
- func ClusterNodesReady(ctx context.Context, options linodego.ClusterConditionOptions) (bool, error)
- func WaitForLKEClusterAndNodesReady(ctx context.Context, client linodego.Client, clusterID int, ...) error
- func WaitForLKEClusterReady(ctx context.Context, client linodego.Client, clusterID int, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterHasReadyNode ¶
func ClusterHasReadyNode(ctx context.Context, options linodego.ClusterConditionOptions) (bool, error)
ClusterHasReadyNode is a ClusterConditionFunc which polls for at least one node to have the condition NodeReady=True.
func ClusterNodesReady ¶ added in v1.26.1
ClusterNodesReady is a ClusterConditionFunc which polls for all nodes to have the condition NodeReady=True.
func WaitForLKEClusterAndNodesReady ¶ added in v1.26.1
func WaitForLKEClusterAndNodesReady(ctx context.Context, client linodego.Client, clusterID int, options linodego.LKEClusterPollOptions) error
WaitForLKEClusterAndNodesReady polls with a given timeout for the LKE Cluster's api-server to be healthy and for all cluster nodes to have the NodeReady condition true.
func WaitForLKEClusterReady ¶
func WaitForLKEClusterReady(ctx context.Context, client linodego.Client, clusterID int, options linodego.LKEClusterPollOptions) error
WaitForLKEClusterReady polls with a given timeout for the LKE Cluster's api-server to be healthy and for the cluster to have at least one node with the NodeReady condition true.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.