runner

package
v0.0.0-...-bd4c8a3 Latest Latest
Warning

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

Go to latest
Published: May 30, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRunner

func NewRunner(s stoic.Stoic, tool stoic.Tool) (tool.Runner, error)

Types

type Options

type Options struct {
	Setup            string
	SetupEnvironment map[string]string      `mapstructure:"setup-environment"`
	SetupParameters  map[string]interface{} `mapstructure:"setup-parameters"`

	Command     string
	Environment map[string]string
	Parameters  map[string]interface{}
}

type Runner

type Runner struct {
	Stoic   stoic.Stoic
	Options Options
}

func (Runner) Run

func (sr Runner) Run(checkout tool.Checkout, name string, args []string) error

func (Runner) Setup

func (sr Runner) Setup(checkout tool.Checkout) error

Jump to

Keyboard shortcuts

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