runner

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2019 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskRunner

type TaskRunner struct {
	Plugins          map[string]plugins.PluginFactory
	Manifest         *manifest.Manifest
	CurrentDirectory string
	Log              logging.Logger
}

func NewTaskRunner

func NewTaskRunner(man *manifest.Manifest, cwd string, writer logging.Logger) *TaskRunner

func (*TaskRunner) PluginByName

func (t *TaskRunner) PluginByName(pluginName string) (p plugins.PluginFactory, err error)

func (*TaskRunner) RunJob

func (t *TaskRunner) RunJob(job *manifest.Job) error

func (*TaskRunner) TaskByName

func (t *TaskRunner) TaskByName(taskName string) (taskPtr *manifest.Task, ok bool)

Jump to

Keyboard shortcuts

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