runner

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(targets Targets, label string) error

Types

type CyclicDependencyError

type CyclicDependencyError string

func (CyclicDependencyError) Error

func (e CyclicDependencyError) Error() string

type Engine

type Engine interface {
	EvaluateTargets(labels ...string) []Result
}

type Result

type Result struct {
	Target Target
	Error  error
}

type Target

type Target interface {
	Evaluate(engine Engine) error
}

type Targets

type Targets interface {
	LoadTarget(label string) (Target, error)
}

Jump to

Keyboard shortcuts

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