Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

PipelineContext

Handle
📦 Aspire.Hosting v17.0.0

Provides contextual information and services for the pipeline execution process of a distributed application.

type PipelineContext interface{}

Properties

propertyCancellationToken*CancellationTokenget · set
Gets the cancellation token for the pipeline operation.
CancellationToken() (*CancellationToken, error)
SetCancellationToken(options ...*SetCancellationTokenOptions) PipelineContext
propertyExecutionContextDistributedApplicationExecutionContextget
Gets the execution context for the distributed application.
ExecutionContext() DistributedApplicationExecutionContext
propertyLoggerLoggerget
Gets the logger for pipeline operations.
Logger() Logger
propertyModelDistributedApplicationModelget
Gets the distributed application model to be deployed.
Model() DistributedApplicationModel
propertyServicesServiceProviderget
Gets the service provider for dependency resolution.
Services() ServiceProvider
propertySummaryPipelineSummaryget
Gets the pipeline summary that steps can add information to. The summary will be displayed to users after pipeline execution completes.
Summary() PipelineSummary