Documentation ¶
Index ¶
- func ExecuteInitHookForRunner(language string) error
- type LanguageRunner
- func (r *LanguageRunner) Connection() net.Conn
- func (r *LanguageRunner) ExecuteAndGetStatus(message *gauge_messages.Message) *gauge_messages.ProtoExecutionResult
- func (r *LanguageRunner) IsMultithreaded() bool
- func (r *LanguageRunner) IsProcessRunning() bool
- func (r *LanguageRunner) Kill() error
- func (r *LanguageRunner) Pid() int
- type MultithreadedRunner
- func (r *MultithreadedRunner) Connection() net.Conn
- func (r *MultithreadedRunner) ExecuteAndGetStatus(message *gauge_messages.Message) *gauge_messages.ProtoExecutionResult
- func (r *MultithreadedRunner) IsMultithreaded() bool
- func (r *MultithreadedRunner) IsProcessRunning() bool
- func (r *MultithreadedRunner) Kill() error
- func (r *MultithreadedRunner) Pid() int
- func (r *MultithreadedRunner) SetConnection(c net.Conn)
- type Runner
- type RunnerInfo
- type StartChannels
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LanguageRunner ¶ added in v0.5.0
func StartRunner ¶ added in v0.8.1
func StartRunner(manifest *manifest.Manifest, port string, reporter reporter.Reporter, killChannel chan bool, debug bool) (*LanguageRunner, error)
Looks for a runner configuration inside the runner directory finds the runner configuration matching to the manifest and executes the commands for the current OS
func (*LanguageRunner) Connection ¶ added in v0.5.0
func (r *LanguageRunner) Connection() net.Conn
func (*LanguageRunner) ExecuteAndGetStatus ¶ added in v0.5.0
func (r *LanguageRunner) ExecuteAndGetStatus(message *gauge_messages.Message) *gauge_messages.ProtoExecutionResult
func (*LanguageRunner) IsMultithreaded ¶ added in v0.8.1
func (r *LanguageRunner) IsMultithreaded() bool
func (*LanguageRunner) IsProcessRunning ¶ added in v0.5.0
func (r *LanguageRunner) IsProcessRunning() bool
func (*LanguageRunner) Kill ¶ added in v0.5.0
func (r *LanguageRunner) Kill() error
func (*LanguageRunner) Pid ¶ added in v0.7.0
func (r *LanguageRunner) Pid() int
type MultithreadedRunner ¶ added in v0.8.1
type MultithreadedRunner struct {
// contains filtered or unexported fields
}
func (*MultithreadedRunner) Connection ¶ added in v0.8.1
func (r *MultithreadedRunner) Connection() net.Conn
func (*MultithreadedRunner) ExecuteAndGetStatus ¶ added in v0.8.1
func (r *MultithreadedRunner) ExecuteAndGetStatus(message *gauge_messages.Message) *gauge_messages.ProtoExecutionResult
func (*MultithreadedRunner) IsMultithreaded ¶ added in v0.8.1
func (r *MultithreadedRunner) IsMultithreaded() bool
func (*MultithreadedRunner) IsProcessRunning ¶ added in v0.8.1
func (r *MultithreadedRunner) IsProcessRunning() bool
func (*MultithreadedRunner) Kill ¶ added in v0.8.1
func (r *MultithreadedRunner) Kill() error
func (*MultithreadedRunner) Pid ¶ added in v0.8.1
func (r *MultithreadedRunner) Pid() int
func (*MultithreadedRunner) SetConnection ¶ added in v0.8.1
func (r *MultithreadedRunner) SetConnection(c net.Conn)
type Runner ¶
type Runner interface { ExecuteAndGetStatus(m *gauge_messages.Message) *gauge_messages.ProtoExecutionResult IsProcessRunning() bool Kill() error Connection() net.Conn IsMultithreaded() bool Pid() int }
type RunnerInfo ¶ added in v0.5.0
type RunnerInfo struct { Id string Name string Version string Description string Run struct { Windows []string Linux []string Darwin []string } Init struct { Windows []string Linux []string Darwin []string } Lib string Multithreaded bool GaugeVersionSupport version.VersionSupport }
func GetRunnerInfo ¶
func GetRunnerInfo(language string) (*RunnerInfo, error)
type StartChannels ¶
Click to show internal directories.
Click to hide internal directories.