Help us shape the future of Go! Take the 2026 Go Developer Survey

executors

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2016 License: MIT Imports: 8 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
	Config      common.RunnerConfig
	Build       *common.Build
	BuildLog    common.BuildTrace
	BuildFinish chan error
	BuildScript *common.ShellScript
}

func (*AbstractExecutor) Cleanup

func (e *AbstractExecutor) Cleanup()

func (*AbstractExecutor) Debugln

func (e *AbstractExecutor) Debugln(args ...interface{})

func (*AbstractExecutor) Errorln

func (e *AbstractExecutor) Errorln(args ...interface{})

func (*AbstractExecutor) Finish

func (e *AbstractExecutor) Finish(err error)

func (*AbstractExecutor) Infoln

func (e *AbstractExecutor) Infoln(args ...interface{})

func (*AbstractExecutor) Prepare

func (e *AbstractExecutor) Prepare(globalConfig *common.Config, config *common.RunnerConfig, build *common.Build) error

func (*AbstractExecutor) Println

func (e *AbstractExecutor) Println(args ...interface{})

func (*AbstractExecutor) Wait

func (e *AbstractExecutor) Wait() error

func (*AbstractExecutor) Warningln

func (e *AbstractExecutor) Warningln(args ...interface{})

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
	SupportedOptions []string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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