noop

package
v0.2.5-pr72 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const NOOP_RESULTS_CID = "123"
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 (e *NoopExecutor) RunJob(
	deal data.DealContainer,
	module data.Module,
) (*executor.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