Documentation ¶
Index ¶
- type AbstractExecutor
- func (e *AbstractExecutor) Cleanup()
- func (e *AbstractExecutor) Finish(err error)
- func (e *AbstractExecutor) GetCurrentStage() common.ExecutorStage
- func (e *AbstractExecutor) Prepare(options common.ExecutorPrepareOptions) 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) GetDefaultShell() string
- func (e DefaultExecutorProvider) GetFeatures(features *common.FeaturesInfo) error
- 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 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 (e *AbstractExecutor) Prepare(options common.ExecutorPrepareOptions) 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) DefaultShellName string }
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) GetDefaultShell ¶
func (e DefaultExecutorProvider) GetDefaultShell() string
func (DefaultExecutorProvider) GetFeatures ¶
func (e DefaultExecutorProvider) GetFeatures(features *common.FeaturesInfo) error
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.