17 references to Publishing
Aspire.Hosting.Native.Core.Tests (6)
NativePipelineTests.cs (6)
111
server.
Publishing
.Stop();
131
Assert.False(server.
Publishing
.IsConfigured);
152
await foreach (var activity in server.
Publishing
.ReadAsync(TestContext.Current.CancellationToken))
206
await foreach (var activity in server.
Publishing
.ReadAsync(TestContext.Current.CancellationToken))
223
Assert.False(server.
Publishing
.WaitsForStop);
255
await foreach (var activity in server.
Publishing
.ReadAsync(TestContext.Current.CancellationToken))
Aspire.Hosting.Native.Server (11)
Api\PipelineApi.cs (7)
15
public void ConfigurePublishing(string graphJson) =>
Publishing
.Configure(graphJson);
19
public void BeginPublishing(string target) =>
Publishing
.Begin(target);
23
public string[] ClaimPublishingSteps() =>
Publishing
.Claim();
28
Publishing
.Report(step, status, complete, failed);
33
Publishing
.Progress(step, type, id, status, complete, failed, markdown);
37
public void CompletePublishing(bool failed) =>
Publishing
.Complete(failed);
41
public Task WaitForPublishingStop() =>
Publishing
.WaitForStop;
Cli\NativeCliProtocol.cs (4)
85
var steps = await _server.
Publishing
.GetStepsAsync(target, cancellationToken).ConfigureAwait(false);
107
AfterResponse = _server.
Publishing
.WaitsForStop ? _server.
Publishing
.Stop : _stop
110
return NativeBackchannelReply.Streaming(_server.
Publishing
.ReadAsync(cancellationToken),