runners

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2018 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package runners contains all of the runners for convey.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Default

type Default struct{}

Default is the normal Convey Runner.

func (*Default) Run

func (d *Default) Run(cfg *config.Config, plans []string, env []string, st *state.State) int

Run runs the Convey Runner.

type Graphviz

type Graphviz struct{}

Graphviz is a Runner that will create a graphviz output for the config that has been loaded.

func (*Graphviz) Run

func (g *Graphviz) Run(cfg *config.Config, plans []string, env []string, st *state.State) int

Run runs the graphviz runner.

type ListEnvironment added in v0.11.2

type ListEnvironment struct{}

ListEnvironment is a runner that will output the environment.

func (*ListEnvironment) Run added in v0.11.2

func (l *ListEnvironment) Run(cfg *config.Config, plans []string, env []string, st *state.State) int

Run runs the ListEnvironment runner.

type ListMetaPlans added in v0.5.0

type ListMetaPlans struct{}

ListMetaPlans is a Runner that outputs the metaplans for the loaded config.

func (*ListMetaPlans) Run added in v0.5.0

func (l *ListMetaPlans) Run(cfg *config.Config, plans []string, env []string, st *state.State) int

Run runs the ListMetaPlans runner.

type ListPlans added in v0.4.0

type ListPlans struct{}

ListPlans is a Runner that outputs the plans in the loaded config.

func (*ListPlans) Run added in v0.4.0

func (l *ListPlans) Run(cfg *config.Config, plans []string, env []string, st *state.State) int

Run runs the ListPlans Runner.

type ListTasks

type ListTasks struct{}

ListTasks is a Runner that will output the tasks defined in a config.

func (*ListTasks) Run

func (l *ListTasks) Run(cfg *config.Config, plans []string, env []string, st *state.State) int

Run runs the ListTasks runner.

type Runner

type Runner interface {
	Run(cfg *config.Config, plan []string, env []string, st *state.State) int
}

Runner is an interface for defining something that convey can run.

type ShowConfig added in v0.2.0

type ShowConfig struct{}

ShowConfig is a Runner that will dump the config to stdout.

func (*ShowConfig) Run added in v0.2.0

func (sc *ShowConfig) Run(cfg *config.Config, plans []string, env []string, st *state.State) int

Run runs the ShowConfig runner.

Jump to

Keyboard shortcuts

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