runners

package
v0.0.0-...-c18b09c Latest Latest
Warning

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

Go to latest
Published: May 9, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Eval

func Eval(str string, context map[string]string) string

Types

type BashRunner

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

func NewBashRunner

func NewBashRunner(command string, args string) *BashRunner

func (*BashRunner) Run

func (runner *BashRunner) Run(context map[string]string)

type Runner

type Runner interface {
	Run(context map[string]string)
}

func Create

func Create(name string, params map[string]string) Runner

Jump to

Keyboard shortcuts

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