Documentation
¶
Index ¶
- type Client
- type DefaultTestRun
- func (tr *DefaultTestRun) CleanupContext()
- func (tr *DefaultTestRun) ExecutionDuration() time.Duration
- func (tr *DefaultTestRun) ExitCode() int
- func (tr *DefaultTestRun) Exited() bool
- func (tr *DefaultTestRun) Kill() error
- func (tr *DefaultTestRun) PID() int
- func (tr *DefaultTestRun) SetCancelFunc(fn context.CancelFunc)
- func (tr *DefaultTestRun) Start() error
- func (tr *DefaultTestRun) Wait() error
- type LocalRunnerClient
- type TestRun
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
Start(ctx context.Context, scriptContent string, upload bool, envVars map[string]string, outputWriter io.Writer) (TestRun, error)
}
func NewLocalRunnerClient ¶
type DefaultTestRun ¶ added in v0.3.0
func (*DefaultTestRun) CleanupContext ¶ added in v0.3.0
func (tr *DefaultTestRun) CleanupContext()
func (*DefaultTestRun) ExecutionDuration ¶ added in v0.3.0
func (tr *DefaultTestRun) ExecutionDuration() time.Duration
func (*DefaultTestRun) ExitCode ¶ added in v0.3.0
func (tr *DefaultTestRun) ExitCode() int
func (*DefaultTestRun) Exited ¶ added in v0.3.0
func (tr *DefaultTestRun) Exited() bool
func (*DefaultTestRun) Kill ¶ added in v0.3.0
func (tr *DefaultTestRun) Kill() error
func (*DefaultTestRun) PID ¶ added in v0.3.0
func (tr *DefaultTestRun) PID() int
func (*DefaultTestRun) SetCancelFunc ¶ added in v0.3.0
func (tr *DefaultTestRun) SetCancelFunc(fn context.CancelFunc)
func (*DefaultTestRun) Start ¶ added in v0.3.0
func (tr *DefaultTestRun) Start() error
func (*DefaultTestRun) Wait ¶ added in v0.3.0
func (tr *DefaultTestRun) Wait() error
type LocalRunnerClient ¶
type LocalRunnerClient struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.