Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
Execute executes the command generated by fmt.Sprintf(cmdLine, args...) and returns its output.
func Retry ¶
Retry runs the provided <cmd> repeatedly, once a second up to the supplied <timeout> until the <cmd> result contains the <expectedResult> An example use of this utility would be curl-ing a url and waiting until the response code matches the expected response.
func Start ¶
Start executes the provided command (often a `deis` command of some sort) as the specified user (by selecting the corresponding profile). Optional arguments may also be supplied that will be substituted into the provided command using fmt.Sprintf(...).
func StartCmd ¶
StartCmd executes the provided model.Command. It is used primarily by the Start function (above), but is also used directly in scenarios where tests must execute fine-grained control over the environment in which the command will be executed.
Types ¶
This section is empty.
Source Files
¶
- helper.go