exec

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultOnlineTimeout = time.Minute
)

Variables

View Source
var (
	ErrSchemeUnsupported = errors.New("unsupported url scheme")
	ErrNetworkFailure    = errors.New("network failure")
)

Functions

This section is empty.

Types

type Engine

type Engine struct {
	ConfigCache   string
	OnlineTimeout time.Duration
	Logger        *log.Logger
	Root          string
	Provider      providers.Provider
}

Engine represents the entity that fetches and executes a configuration.

func (Engine) Run

func (e Engine) Run(stageName string) bool

Run executes the stage of the given name. It returns true if the stage successfully ran and false if there were any errors.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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