Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type Harness ¶
type Harness interface { // Setup returns the Step that creates the harness and signals the caller is // using the harness. Setup() StepFn // Finish returns the StepFn that signals the caller is done with the // harness. Finish() StepFn // Destroy destroys the harness. Destroy(context.Context) error // Done blocks until all callers of the harness are done with it. Done() error // StepFn returns a StepFn that executes the given command in the harness. StepFn(command string) StepFn }
Click to show internal directories.
Click to hide internal directories.