executor

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2019 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandResult

type CommandResult struct {
	Name   string
	Wallet string
	Result interface{}
	Error  error
}

type Executor

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

func New

func New(ctx model.AppContext, root *model.Spec) (*Executor, error)

func (*Executor) RunCommand

func (e *Executor) RunCommand(ctx model.AppContext, cmdName string) ([]*CommandResult, bool)

func (*Executor) RunTarget

func (e *Executor) RunTarget(ctx model.AppContext, targetName string, resultsC chan<- []*CommandResult) bool

Jump to

Keyboard shortcuts

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