Documentation
¶
Index ¶
- Constants
- type NoopExecutor
- func (executor *NoopExecutor) GetMachineSpecs() ([]data.MachineSpec, error)
- func (executor *NoopExecutor) Id() (string, error)
- func (executor *NoopExecutor) IsAvailable() (bool, error)
- func (executor *NoopExecutor) RunJob(deal data.DealContainer, module data.Module) (*executorlib.ExecutorResults, error)
- type NoopExecutorOptions
Constants ¶
View Source
const RESULTS_DIR = "noop-results"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoopExecutor ¶
type NoopExecutor struct {
Options NoopExecutorOptions
}
func NewNoopExecutor ¶
func NewNoopExecutor(options NoopExecutorOptions) (*NoopExecutor, error)
func (*NoopExecutor) GetMachineSpecs ¶
func (executor *NoopExecutor) GetMachineSpecs() ([]data.MachineSpec, error)
func (*NoopExecutor) Id ¶
func (executor *NoopExecutor) Id() (string, error)
func (*NoopExecutor) IsAvailable ¶
func (executor *NoopExecutor) IsAvailable() (bool, error)
func (*NoopExecutor) RunJob ¶
func (executor *NoopExecutor) RunJob( deal data.DealContainer, module data.Module, ) (*executorlib.ExecutorResults, error)
type NoopExecutorOptions ¶
type NoopExecutorOptions struct {
Id string
BadActor bool
ResultsCID string
Stdout string
Stderr string
ExitCode string
InstructionCount int
}
func NewNoopExecutorOptions ¶
func NewNoopExecutorOptions() NoopExecutorOptions
Click to show internal directories.
Click to hide internal directories.