Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunCommand ¶
RunCommand runs the specified command with arguments and returns the output and the error if any.
Types ¶
type Condition ¶
Condition is a retry condition function. It receives a response, and returns an error if the response failed the condition.
func ErrorIfStatusCodeIsNot ¶
ErrorIfStatusCodeIsNot returns a retry condition function. The condition returns an error if the given response's status code is not the given HTTP status code.
Click to show internal directories.
Click to hide internal directories.