Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

PipelineStep

Handle
📦 Aspire.Hosting v17.0.0

Represents a step in the deployment pipeline.

type PipelineStep interface{}

Properties

propertyDependsOnSteps*List[string]get
Gets or initializes the list of step names that this step depends on.
DependsOnSteps() *List[string]
propertyDescription*stringget
Gets or initializes the description of the step.
Description() (*string, error)
propertyNamestringget
Gets or initializes the unique name of the step.
Name() (string, error)
propertyRequiredBySteps*List[string]get
Gets or initializes the list of step names that require this step to complete before they can finish. This is used internally during pipeline construction and is converted to DependsOn relationships.
RequiredBySteps() *List[string]
propertyTags*List[string]get
Gets or initializes the list of tags that categorize this step.
Tags() *List[string]

Methods

methodAddTag
Adds a tag to the step.
AddTag(tag string) error
tagstringThe tag to add.
error

Returns error.

methodDependsOn
Adds a dependency on another step.
DependsOn(stepName string) error
stepNamestringThe name of the step to depend on.
error

Returns error.

Specifies that this step is required by another step. This creates the inverse relationship where the other step will depend on this step.
RequiredBy(stepName string) error
stepNamestringThe name of the step that requires this step.
error

Returns error.