WithPipelineStepFactory
Method
func (Resource) WithPipelineStepFactory( stepName string, callback func(arg PipelineStepContext), options ...*WithPipelineStepFactoryOptions,) ResourceSignature
method
WithPipelineStepFactory builderAdds a pipeline step to the resource that will be executed during deployment.
WithPipelineStepFactory( stepName string, callback func(arg PipelineStepContext), options ...*WithPipelineStepFactoryOptions,) ResourceParameters
stepName stringThe unique name of the pipeline step.callbackfunc(arg PipelineStepContext) callbackThe callback to execute when the step runs.options...*WithPipelineStepFactoryOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithPipelineStepFactoryOptions argument.
DependsOn []string Optional step names that this step depends on.RequiredBy []string Optional step names that require this step.Tags[]string Optional tags that categorize this step.Description*stringAn optional human-readable description of the step.Returns
ResourceThe resource builder for chaining.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: