Documentation ¶
Index ¶
- func NewDBActionsBuildEventsDelegate(build db.Build, eventOrigin event.Origin, ...) exec.ActionsBuildEventsDelegate
- func NewDBTaskBuildEventsDelegate(build db.Build, eventOrigin event.Origin) exec.TaskBuildEventsDelegate
- type Build
- type BuildDelegate
- type BuildDelegateFactory
- type Engine
- type Engines
- type StepMetadata
- type UnknownEngineError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuildDelegate ¶
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) ReleaseAll(lager.Logger) }
func NewDBEngine ¶
func NewExecEngine ¶
func NewExecEngine( factory exec.Factory, delegateFactory BuildDelegateFactory, externalURL string, ) Engine
func NewExecV1DummyEngine ¶
func NewExecV1DummyEngine() Engine
type StepMetadata ¶
type StepMetadata struct { BuildID int PipelineName string JobName string BuildName string ExternalURL string TeamName 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 ¶
Click to show internal directories.
Click to hide internal directories.