Documentation ¶
Index ¶
- type AbstractExecutor
- func (e *AbstractExecutor) Cleanup()
- func (e *AbstractExecutor) Finish(err error)
- func (e *AbstractExecutor) GetCurrentStage() common.ExecutorStage
- func (e *AbstractExecutor) Prepare(globalConfig *common.Config, config *common.RunnerConfig, build *common.Build) error
- func (e *AbstractExecutor) SetCurrentStage(stage common.ExecutorStage)
- func (e *AbstractExecutor) Shell() *common.ShellScriptInfo
- type DefaultExecutorProvider
- func (e DefaultExecutorProvider) Acquire(config *common.RunnerConfig) (common.ExecutorData, error)
- func (e DefaultExecutorProvider) CanCreate() bool
- func (e DefaultExecutorProvider) Create() common.Executor
- func (e DefaultExecutorProvider) GetFeatures(features *common.FeaturesInfo)
- func (e DefaultExecutorProvider) Release(config *common.RunnerConfig, data common.ExecutorData) error
- type ExecutorOptions
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 BuildTrace common.JobTrace BuildShell *common.ShellConfiguration // 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 (e *AbstractExecutor) Prepare(globalConfig *common.Config, config *common.RunnerConfig, build *common.Build) error
func (*AbstractExecutor) SetCurrentStage ¶
func (e *AbstractExecutor) SetCurrentStage(stage common.ExecutorStage)
func (*AbstractExecutor) Shell ¶
func (e *AbstractExecutor) Shell() *common.ShellScriptInfo
type DefaultExecutorProvider ¶
type DefaultExecutorProvider struct { Creator func() common.Executor FeaturesUpdater func(features *common.FeaturesInfo) }
func (DefaultExecutorProvider) Acquire ¶
func (e DefaultExecutorProvider) Acquire(config *common.RunnerConfig) (common.ExecutorData, error)
func (DefaultExecutorProvider) CanCreate ¶
func (e DefaultExecutorProvider) CanCreate() bool
func (DefaultExecutorProvider) Create ¶
func (e DefaultExecutorProvider) Create() common.Executor
func (DefaultExecutorProvider) GetFeatures ¶
func (e DefaultExecutorProvider) GetFeatures(features *common.FeaturesInfo)
func (DefaultExecutorProvider) Release ¶
func (e DefaultExecutorProvider) Release(config *common.RunnerConfig, data common.ExecutorData) error
type ExecutorOptions ¶
type ExecutorOptions struct { DefaultBuildsDir string DefaultCacheDir string Shell common.ShellScriptInfo ShowHostname bool }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.