executor

package
v2.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractTarGz

func ExtractTarGz(src, dst string) error

Types

type Executor

type Executor interface {
	Id() (string, error)
	IsAvailable() (bool, error)
	GetMachineSpecs() ([]data.MachineSpec, error)
	// run the given job and return a local folder
	// that contains the results
	RunJob(
		deal data.DealContainer,
		module data.Module,
	) (*ExecutorResults, error)
}

type ExecutorResults

type ExecutorResults struct {
	ResultsDir       string
	ResultsCID       string
	InstructionCount int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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