executors

package
v11.11.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2019 License: MIT Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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) CacheDir

func (e *AbstractExecutor) CacheDir() string

func (*AbstractExecutor) Cleanup

func (e *AbstractExecutor) Cleanup()

func (*AbstractExecutor) CustomBuildEnabled

func (e *AbstractExecutor) CustomBuildEnabled() bool

func (*AbstractExecutor) Finish

func (e *AbstractExecutor) Finish(err error)

func (*AbstractExecutor) GetCurrentStage

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

func (*AbstractExecutor) Prepare

func (*AbstractExecutor) PrepareBuildAndShell

func (e *AbstractExecutor) PrepareBuildAndShell() error

func (*AbstractExecutor) PrepareConfiguration

func (e *AbstractExecutor) PrepareConfiguration(options common.ExecutorPrepareOptions)

func (*AbstractExecutor) RootDir

func (e *AbstractExecutor) RootDir() string

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)
	DefaultShellName string
}

func (DefaultExecutorProvider) Acquire

func (DefaultExecutorProvider) CanCreate

func (e DefaultExecutorProvider) CanCreate() bool

func (DefaultExecutorProvider) Create

func (DefaultExecutorProvider) GetDefaultShell

func (e DefaultExecutorProvider) GetDefaultShell() string

func (DefaultExecutorProvider) GetFeatures

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

func (DefaultExecutorProvider) Release

type ExecutorOptions

type ExecutorOptions struct {
	DefaultCustomBuildsDirEnabled bool
	DefaultBuildsDir              string
	DefaultCacheDir               string
	SharedBuildsDir               bool
	Shell                         common.ShellScriptInfo
	ShowHostname                  bool
	Metadata                      map[string]string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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