runner

package
v0.0.0-...-345791d Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package runner defines order runner which is responsible for command parsing and execution

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	NoCommand bool
}

Options represents set of all available runner options

type Runner

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

Runner represents order command runner

func NewRunner

func NewRunner(opts Options) (*Runner, error)

NewRunner produces Runner instance configured with given options

func (*Runner) RunOrder

func (r *Runner) RunOrder(order *orderfile.Order) error

RunOrder executes all commands defined in given order within single environment shared between all commands

Jump to

Keyboard shortcuts

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