executors

package
Version: v10.6.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbstractExecutor

type AbstractExecutor struct {
	ExecutorOptions
	common.BuildLogger
	Config     common.RunnerConfig
	Build      *common.Build
	Trace      common.JobTrace
	BuildShell *common.ShellConfiguration

	Context context.Context
	// contains filtered or unexported fields
}

func (*AbstractExecutor) Cleanup

func (e *AbstractExecutor) Cleanup()

func (*AbstractExecutor) Finish

func (e *AbstractExecutor) Finish(err error)

func (*AbstractExecutor) GetCurrentStage

func (e *AbstractExecutor) GetCurrentStage() common.ExecutorStage

func (*AbstractExecutor) Prepare

func (*AbstractExecutor) SetCurrentStage

func (e *AbstractExecutor) SetCurrentStage(stage common.ExecutorStage)

func (*AbstractExecutor) Shell added in v1.3.0

type DefaultExecutorProvider

type DefaultExecutorProvider struct {
	Creator         func() common.Executor
	FeaturesUpdater func(features *common.FeaturesInfo)
}

func (DefaultExecutorProvider) Acquire

func (DefaultExecutorProvider) CanCreate

func (e DefaultExecutorProvider) CanCreate() bool

func (DefaultExecutorProvider) Create

func (DefaultExecutorProvider) GetFeatures

func (e DefaultExecutorProvider) GetFeatures(features *common.FeaturesInfo)

func (DefaultExecutorProvider) Release

type ExecutorOptions

type ExecutorOptions struct {
	DefaultBuildsDir string
	DefaultCacheDir  string
	SharedBuildsDir  bool
	Shell            common.ShellScriptInfo
	ShowHostname     bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL