executor

package
v5.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const MAX_STORAGE_SIZE = 8 * 1024 * 1024 // 8 MB

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandEnv

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

CommandEnv is command env

type Config

type Config struct {
	ErrsDir        string
	Quiet          bool
	DisableCleanup bool
}

ExecutorConfig contains executor configuration

type Executor

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

Executor is executor struct

func NewExecutor

func NewExecutor(cfg *Config) *Executor

NewExecutor create new executor struct

func (*Executor) Run

func (e *Executor) Run(rr render.Renderer, r *recipe.Recipe, tags []string) bool

Run run recipe on given executor

func (*Executor) Validate

func (e *Executor) Validate(r *recipe.Recipe, cfg *ValidationConfig) []error

Validate validates recipe

type ValidationConfig

type ValidationConfig struct {
	Tags               []string
	IgnoreDependencies bool
	IgnorePrivileges   bool
}

ValidationConfig is config for validation

Jump to

Keyboard shortcuts

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