noop

package
v0.1.0-f6c0393 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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) RunJob

func (executor *NoopExecutor) RunJob(
	deal data.DealContainer,
	module data.Module,
) (*executorlib.ExecutorResults, error)

type NoopExecutorOptions

type NoopExecutorOptions struct {
	BadActor         bool
	ResultsCID       string
	Stdout           string
	Stderr           string
	ExitCode         string
	InstructionCount int
}

func NewNoopExecutorOptions

func NewNoopExecutorOptions() NoopExecutorOptions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL