Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeAcceptors ¶
func MakeAcceptors(statusPath string, successStatus string, failureStates []string, extraAcceptors ...request.WaiterAcceptor) []request.WaiterAcceptor
MakeAcceptors constructs a slice of request acceptors
func Wait ¶
func Wait(name, msg string, acceptors []request.WaiterAcceptor, newRequest func() *request.Request, waitTimeout time.Duration, troubleshoot func(string)) error
Wait for something with a name to reach status that is expressed by acceptors using newRequest until we hit waitTimeout, on unexpected status troubleshoot will be called with the desired status as an argument, so that it can find what migth have gone wrong
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.