AddStep
Method
func (DistributedApplicationPipeline) AddStep( stepName string, callback func(arg PipelineStepContext), options ...*AddStepOptions,) errorSignature
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.
Applies to
This method applies to the following types: