exec

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheReader

type CacheReader interface {
	GetCachedResult(dir, name string) (cache.TaskResult, error)
	Validate(node *graph.Node, deps map[string]struct{}) (bool, error)
}

type CacheWriter

type CacheWriter interface {
	WriteTaskResult(dir, name string, res cache.TaskResult) error
	Update() error
}

type Executor

type Executor struct {
	// contains filtered or unexported fields
}

func NewExecutor

func NewExecutor(cr CacheReader, cw CacheWriter) *Executor

func (*Executor) ExecuteTask

func (e *Executor) ExecuteTask(node *graph.Node, deps map[string]struct{})

func (*Executor) FinalizeResults

func (e *Executor) FinalizeResults(t time.Time)

Jump to

Keyboard shortcuts

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