17 instantiations of PublishCompletionOptions
Aspire.Hosting (3)
Pipelines\PipelineActivityReporter.cs (1)
281return CompletePublishAsync(new PublishCompletionOptions
Publishing\PipelineExecutor.cs (2)
72await activityReporter.CompletePublishAsync(new PublishCompletionOptions { PipelineSummary = summaryItems }, stoppingToken).ConfigureAwait(false); 90await activityReporter.CompletePublishAsync(new PublishCompletionOptions { CompletionMessage = ex.Message, CompletionState = CompletionState.CompletedWithError }, stoppingToken).ConfigureAwait(false);
Aspire.Hosting.Azure.Kubernetes.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
147return CompletePublishAsync(new PublishCompletionOptions
Aspire.Hosting.Azure.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
147return CompletePublishAsync(new PublishCompletionOptions
Aspire.Hosting.Docker.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
147return CompletePublishAsync(new PublishCompletionOptions
Aspire.Hosting.Foundry.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
147return CompletePublishAsync(new PublishCompletionOptions
Aspire.Hosting.Java.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
147return CompletePublishAsync(new PublishCompletionOptions
Aspire.Hosting.Kubernetes.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
147return CompletePublishAsync(new PublishCompletionOptions
Aspire.Hosting.Rust.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
147return CompletePublishAsync(new PublishCompletionOptions
Aspire.Hosting.Tests (7)
Publishing\PipelineActivityReporterTests.cs (6)
339await reporter.CompletePublishAsync(new PublishCompletionOptions { CompletionState = completionState }, CancellationToken.None); 360await reporter.CompletePublishAsync(new PublishCompletionOptions { CompletionMessage = expectedStatusText, CompletionState = CompletionState.CompletedWithError }, CancellationToken.None); 929await reporter.CompletePublishAsync(new PublishCompletionOptions { CompletionState = completionState }, CancellationToken.None); 950await reporter.CompletePublishAsync(new PublishCompletionOptions { CompletionMessage = expectedStatusText, CompletionState = CompletionState.CompletedWithError }, CancellationToken.None); 976await reporter.CompletePublishAsync(new PublishCompletionOptions { CompletionState = CompletionState.Completed, PipelineSummary = pipelineSummary }, CancellationToken.None); 1003await reporter.CompletePublishAsync(new PublishCompletionOptions { CompletionState = CompletionState.Completed }, CancellationToken.None);
tests\Shared\TestPipelineActivityReporter.cs (1)
147return CompletePublishAsync(new PublishCompletionOptions
44 references to PublishCompletionOptions
Aspire.Hosting (3)
Pipelines\IPipelineActivityReporter.cs (1)
35Task CompletePublishAsync(PublishCompletionOptions? options = null, CancellationToken cancellationToken = default);
Pipelines\NullPipelineActivityReporter.cs (1)
20public Task CompletePublishAsync(PublishCompletionOptions? options = null, CancellationToken cancellationToken = default)
Pipelines\PipelineActivityReporter.cs (1)
247public async Task CompletePublishAsync(PublishCompletionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.Azure.Kubernetes.Tests (5)
tests\Shared\TestPipelineActivityReporter.cs (5)
72/// Gets a value indicating whether <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/> has been called. 77/// Gets the completion message passed to <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/>. 82/// Gets the completion state passed to <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/>. 87/// Gets the pipeline summary passed to <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/>. 131public Task CompletePublishAsync(PublishCompletionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.Azure.Tests (5)
tests\Shared\TestPipelineActivityReporter.cs (5)
72/// Gets a value indicating whether <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/> has been called. 77/// Gets the completion message passed to <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/>. 82/// Gets the completion state passed to <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/>. 87/// Gets the pipeline summary passed to <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/>. 131public Task CompletePublishAsync(PublishCompletionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.Docker.Tests (5)
tests\Shared\TestPipelineActivityReporter.cs (5)
72/// Gets a value indicating whether <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/> has been called. 77/// Gets the completion message passed to <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/>. 82/// Gets the completion state passed to <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/>. 87/// Gets the pipeline summary passed to <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/>. 131public Task CompletePublishAsync(PublishCompletionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.Foundry.Tests (5)
tests\Shared\TestPipelineActivityReporter.cs (5)
72/// Gets a value indicating whether <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/> has been called. 77/// Gets the completion message passed to <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/>. 82/// Gets the completion state passed to <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/>. 87/// Gets the pipeline summary passed to <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/>. 131public Task CompletePublishAsync(PublishCompletionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.Java.Tests (5)
tests\Shared\TestPipelineActivityReporter.cs (5)
72/// Gets a value indicating whether <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/> has been called. 77/// Gets the completion message passed to <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/>. 82/// Gets the completion state passed to <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/>. 87/// Gets the pipeline summary passed to <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/>. 131public Task CompletePublishAsync(PublishCompletionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.Kubernetes.Tests (5)
tests\Shared\TestPipelineActivityReporter.cs (5)
72/// Gets a value indicating whether <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/> has been called. 77/// Gets the completion message passed to <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/>. 82/// Gets the completion state passed to <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/>. 87/// Gets the pipeline summary passed to <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/>. 131public Task CompletePublishAsync(PublishCompletionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.Rust.Tests (5)
tests\Shared\TestPipelineActivityReporter.cs (5)
72/// Gets a value indicating whether <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/> has been called. 77/// Gets the completion message passed to <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/>. 82/// Gets the completion state passed to <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/>. 87/// Gets the pipeline summary passed to <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/>. 131public Task CompletePublishAsync(PublishCompletionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.Tests (6)
Pipelines\CorePipelineApiTests.cs (1)
32[InlineData(typeof(PublishCompletionOptions))]
tests\Shared\TestPipelineActivityReporter.cs (5)
72/// Gets a value indicating whether <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/> has been called. 77/// Gets the completion message passed to <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/>. 82/// Gets the completion state passed to <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/>. 87/// Gets the pipeline summary passed to <see cref="CompletePublishAsync(PublishCompletionOptions?, CancellationToken)"/>. 131public Task CompletePublishAsync(PublishCompletionOptions? options = null, CancellationToken cancellationToken = default)