Documentation ¶
Index ¶
- func NewBuildStepDelegate(build db.Build, planID atc.PlanID, credVarsTracker vars.CredVarsTracker, ...) *buildStepDelegate
- func NewCheckDelegate(check db.Check, planID atc.PlanID, credVarsTracker vars.CredVarsTracker, ...) exec.CheckDelegate
- func NewDelegateFactory() *delegateFactory
- func NewGetDelegate(build db.Build, planID atc.PlanID, credVarsTracker vars.CredVarsTracker, ...) exec.GetDelegate
- func NewPutDelegate(build db.Build, planID atc.PlanID, credVarsTracker vars.CredVarsTracker, ...) exec.PutDelegate
- func NewStepBuilder(stepFactory StepFactory, delegateFactory DelegateFactory, externalURL string, ...) *stepBuilder
- func NewStepFactory(pool worker.Pool, client worker.Client, ...) *stepFactory
- func NewTaskDelegate(build db.Build, planID atc.PlanID, credVarsTracker vars.CredVarsTracker, ...) exec.TaskDelegate
- type DelegateFactory
- type StepFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBuildStepDelegate ¶
func NewCheckDelegate ¶
func NewCheckDelegate(check db.Check, planID atc.PlanID, credVarsTracker vars.CredVarsTracker, clock clock.Clock) exec.CheckDelegate
func NewDelegateFactory ¶
func NewDelegateFactory() *delegateFactory
func NewGetDelegate ¶
func NewGetDelegate(build db.Build, planID atc.PlanID, credVarsTracker vars.CredVarsTracker, clock clock.Clock) exec.GetDelegate
func NewPutDelegate ¶
func NewPutDelegate(build db.Build, planID atc.PlanID, credVarsTracker vars.CredVarsTracker, clock clock.Clock) exec.PutDelegate
func NewStepBuilder ¶
func NewStepBuilder( stepFactory StepFactory, delegateFactory DelegateFactory, externalURL string, secrets creds.Secrets, varSourcePool creds.VarSourcePool, redactSecrets bool, ) *stepBuilder
func NewStepFactory ¶
func NewStepFactory( pool worker.Pool, client worker.Client, resourceFactory resource.ResourceFactory, teamFactory db.TeamFactory, buildFactory db.BuildFactory, resourceCacheFactory db.ResourceCacheFactory, resourceConfigFactory db.ResourceConfigFactory, defaultLimits atc.ContainerLimits, strategy worker.ContainerPlacementStrategy, lockFactory lock.LockFactory, enableRerunWhenWorkerDisappears bool, ) *stepFactory
func NewTaskDelegate ¶
func NewTaskDelegate(build db.Build, planID atc.PlanID, credVarsTracker vars.CredVarsTracker, clock clock.Clock) exec.TaskDelegate
Types ¶
type DelegateFactory ¶
type DelegateFactory interface { GetDelegate(db.Build, atc.PlanID, vars.CredVarsTracker) exec.GetDelegate PutDelegate(db.Build, atc.PlanID, vars.CredVarsTracker) exec.PutDelegate TaskDelegate(db.Build, atc.PlanID, vars.CredVarsTracker) exec.TaskDelegate CheckDelegate(db.Check, atc.PlanID, vars.CredVarsTracker) exec.CheckDelegate BuildStepDelegate(db.Build, atc.PlanID, vars.CredVarsTracker) exec.BuildStepDelegate }
type StepFactory ¶
type StepFactory interface { GetStep(atc.Plan, exec.StepMetadata, db.ContainerMetadata, exec.GetDelegate) exec.Step PutStep(atc.Plan, exec.StepMetadata, db.ContainerMetadata, exec.PutDelegate) exec.Step TaskStep(atc.Plan, exec.StepMetadata, db.ContainerMetadata, exec.TaskDelegate) exec.Step CheckStep(atc.Plan, exec.StepMetadata, db.ContainerMetadata, exec.CheckDelegate) exec.Step SetPipelineStep(atc.Plan, exec.StepMetadata, exec.BuildStepDelegate) exec.Step LoadVarStep(atc.Plan, exec.StepMetadata, exec.BuildStepDelegate) exec.Step ArtifactInputStep(atc.Plan, db.Build, exec.BuildStepDelegate) exec.Step ArtifactOutputStep(atc.Plan, db.Build, exec.BuildStepDelegate) exec.Step }
Click to show internal directories.
Click to hide internal directories.