Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WaitForNodegroupUpdate ¶ added in v0.103.0
func WaitForNodegroupUpdate(ctx context.Context, updateID string, api awsapi.EKS, timeout time.Duration, nextDelay NextDelay) (string, error)
WaitForNodegroupUpdate waits for an update to finish. Once it's done it returns the final status. If the status was not Successful it will also return an error.
Types ¶
type NextDelay ¶
NextDelay returns the amount of time to wait before the next retry given the number of attempts.
type Waiter ¶
type Waiter struct { // NextDelay is the amount of time to wait before the next retry given the number of attempts. NextDelay NextDelay // Operation is the function to invoke. Operation func() (bool, error) }
A Waiter keeps retrying the specified operation until it returns true, or an error.
func (*Waiter) WaitWithTimeout ¶
WaitWithTimeout is a wrapper around Wait that takes a timeout value instead of a Context, and returns a DeadlineExceeded error when the timeout expires. It exists to allow interfacing with code that is not using contexts yet.
Click to show internal directories.
Click to hide internal directories.