Documentation ¶
Index ¶
- type AbstractExecutor
- func (e *AbstractExecutor) Cleanup()
- func (e *AbstractExecutor) Debugln(args ...interface{})
- func (e *AbstractExecutor) Errorln(args ...interface{})
- func (e *AbstractExecutor) Finish(err error)
- func (e *AbstractExecutor) Infoln(args ...interface{})
- func (e *AbstractExecutor) Prepare(globalConfig *common.Config, config *common.RunnerConfig, build *common.Build) error
- func (e *AbstractExecutor) Println(args ...interface{})
- func (e *AbstractExecutor) ShellScript() *common.ShellScript
- func (e *AbstractExecutor) Warningln(args ...interface{})
- 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 Config common.RunnerConfig Build *common.Build BuildLog common.BuildTrace 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) ShellScript ¶ added in v1.2.0
func (e *AbstractExecutor) ShellScript() *common.ShellScript
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 (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 ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.