Documentation
¶
Overview ¶
Package wait implements cluster waiter.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDeleted ¶
IsDeleted returns true if error from EKS API indicates that the EKS cluster has already been deleted.
func Poll ¶
func Poll( ctx context.Context, stopc chan struct{}, lg *zap.Logger, eksAPI eksiface.EKSAPI, clusterName string, desiredClusterStatus string, initialWait time.Duration, wait time.Duration, ) <-chan ClusterStatus
Poll periodically fetches the cluster status until the cluster becomes the desired state.
Types ¶
type ClusterStatus ¶
ClusterStatus represents the EKS cluster status.
Click to show internal directories.
Click to hide internal directories.