Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBuildNotActive = errors.New("build not yet active")
Functions ¶
This section is empty.
Types ¶
type BuildDelegate ¶
type BuildDelegate interface { InputDelegate(lager.Logger, atc.GetPlan, event.OriginID) exec.GetDelegate ExecutionDelegate(lager.Logger, atc.TaskPlan, event.OriginID) exec.TaskDelegate OutputDelegate(lager.Logger, atc.PutPlan, event.OriginID) exec.PutDelegate Finish(lager.Logger, error, exec.Success, bool) }
type BuildDelegateFactory ¶
type BuildDelegateFactory interface {
Delegate(db.Build) BuildDelegate
}
func NewBuildDelegateFactory ¶
func NewBuildDelegateFactory() BuildDelegateFactory
type Engine ¶
type Engine interface { Name() string CreateBuild(lager.Logger, db.Build, atc.Plan) (Build, error) LookupBuild(lager.Logger, db.Build) (Build, error) }
func NewDBEngine ¶
func NewExecEngine ¶
func NewExecEngine( factory exec.Factory, delegateFactory BuildDelegateFactory, teamDBFactory db.TeamDBFactory, externalURL string, ) Engine
func NewExecV1DummyEngine ¶
func NewExecV1DummyEngine() Engine
type StepMetadata ¶
type StepMetadata struct { BuildID int PipelineName string JobName string BuildName string ExternalURL string }
func (StepMetadata) Env ¶
func (metadata StepMetadata) Env() []string
type UnknownEngineError ¶
type UnknownEngineError struct {
Engine string
}
func (UnknownEngineError) Error ¶
func (err UnknownEngineError) Error() string
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter
|
This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.