exec

package
v0.36.2 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultFetchTimeout = 2 * time.Minute
)

Variables

This section is empty.

Functions

func Validate added in v0.20.0

func Validate(filename string) (report.Report, error)

Types

type Engine

type Engine struct {
	ConfigCache  string
	FetchTimeout time.Duration
	Logger       *log.Logger
	Root         string
	OEMConfig    oem.Config
	Fetcher      *resource.Fetcher
}

Engine represents the entity that fetches and executes a configuration.

func (Engine) Run

func (e Engine) Run(stageName string) error

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