3 instantiations of DcpWorkloadCleanupResult
aspire (3)
Commands\DcpWorkloadCleanupService.cs (3)
65return new DcpWorkloadCleanupResult(exitCode, output, error, DcpFound: true); 70return new DcpWorkloadCleanupResult(CliExitCodes.FailedToDotnetRunAppHost, string.Empty, ex.Message, DcpFound: true); 81public static DcpWorkloadCleanupResult NotFound() => new(CliExitCodes.FailedToDotnetRunAppHost, string.Empty, string.Empty, DcpFound: false);
6 references to DcpWorkloadCleanupResult
aspire (6)
Commands\DcpWorkloadCleanupService.cs (4)
18public async Task<DcpWorkloadCleanupResult> CleanupAsync(string workloadId, bool deleteVolumes, CancellationToken cancellationToken) 31return DcpWorkloadCleanupResult.NotFound(); 38return DcpWorkloadCleanupResult.NotFound(); 81public static DcpWorkloadCleanupResult NotFound() => new(CliExitCodes.FailedToDotnetRunAppHost, string.Empty, string.Empty, DcpFound: false);
Commands\StopCommand.cs (2)
358var cleanupResult = await InteractionService.ShowStatusAsync( 585private static string GetDcpCleanupErrorDetails(DcpWorkloadCleanupResult cleanupResult)