DistributedApplicationPipeline.AddStep
Method
type DistributedApplicationPipeline interface { // ... omitted for brevity AddStep( stepName string, callback func(arg PipelineStepContext), options ...*AddStepOptions, ) error}Signature
method
AddStep Adds an application-level pipeline step in a TypeScript-friendly shape.
AddStep( stepName string, callback func(arg PipelineStepContext), options ...*AddStepOptions,) errorParameters
stepName stringThe unique name of the pipeline step.callbackfunc(arg PipelineStepContext) callbackThe callback to execute when the step runs.options...*AddStepOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddStepOptions argument.
DependsOn []string Optional step names that this step depends on.RequiredBy []string Optional step names that require this step.Returns
errorReturns error.
Defined on
This method is defined on the following type: