14 references to FailedToStart
Aspire.Hosting (8)
ApplicationModel\CustomResourceSnapshot.cs (2)
326
public static readonly string FailedToStart = nameof(
FailedToStart
);
356
public static readonly IReadOnlyList<string> TerminalStates = [Finished,
FailedToStart
, Exited];
ApplicationModel\ResourceNotificationService.cs (3)
140
if (snapshot.State?.Text == KnownResourceStates.
FailedToStart
)
183
snapshot.State?.Text == KnownResourceStates.
FailedToStart
;
219
if (snapshot.State?.Text == KnownResourceStates.
FailedToStart
)
Orchestrator\ApplicationOrchestrator.cs (3)
116
await _notificationService.PublishUpdateAsync(context.Resource, context.DcpResourceName, s => s with { State = KnownResourceStates.
FailedToStart
}).ConfigureAwait(false);
120
await SetChildResourceAsync(context.Resource, context.DcpResourceName, KnownResourceStates.
FailedToStart
, startTimeStamp: null, stopTimeStamp: null).ConfigureAwait(false);
125
await _notificationService.PublishUpdateAsync(context.Resource, s => s with { State = KnownResourceStates.
FailedToStart
}).ConfigureAwait(false);
Aspire.Hosting.Tests (6)
WaitForTests.cs (6)
33
await rns.WaitForResourceAsync(throwingResource.Resource.Name, KnownResourceStates.
FailedToStart
, abortCts.Token);
34
await rns.WaitForResourceAsync(dependingContainerResource.Resource.Name, KnownResourceStates.
FailedToStart
, abortCts.Token);
35
await rns.WaitForResourceAsync(dependingExecutableResource.Resource.Name, KnownResourceStates.
FailedToStart
, abortCts.Token);
213
await rns.WaitForResourceAsync(nginx.Resource.Name, KnownResourceStates.
FailedToStart
, runningStateCts.Token);
270
await rns.WaitForResourceAsync(nginx.Resource.Name, KnownResourceStates.
FailedToStart
, runningStateCts.Token);
323
await rns.WaitForResourceAsync(nginx.Resource.Name, KnownResourceStates.
FailedToStart
, runningStateCts.Token);