15 instantiations of ProcessRunResult
Aspire.Hosting.Radius (1)
Publishing\RadiusDeploymentPipelineStep.cs (1)
377return new ProcessRunResult(process.ExitCode, standardOutput);
Aspire.Hosting.Radius.Tests (14)
Deployment\ControlPlaneVersionGateTests.cs (10)
297await RunWithAsync((fileName, _) => fileName == "kubectl" ? null : new ProcessRunResult(0, "")); 298await RunWithAsync((fileName, _) => fileName == "kubectl" ? new ProcessRunResult(1, "") : new ProcessRunResult(0, "")); 299await RunWithAsync((fileName, _) => fileName == "kubectl" ? new ProcessRunResult(0, "apiVersion: v1") : null); 300await RunWithAsync((fileName, _) => fileName == "kubectl" ? new ProcessRunResult(0, "apiVersion: v1") : new ProcessRunResult(1, "")); 306? new ProcessRunResult(0, "apiVersion: v1") 307: new ProcessRunResult(0, """{"controlPlane":{"version":"edge","status":"Installed"}}""")); 344"kubectl" => new ProcessRunResult(0, ExportedKubeConfig), 345"rad" => new ProcessRunResult(
Secrets\SealedSecretApplyStepTests.cs (4)
56return Task.FromResult<ProcessRunResult?>(new ProcessRunResult( 92foreach (var unusable in new ProcessRunResult?[] { null, new ProcessRunResult(1, ""), new ProcessRunResult(0, ""), new ProcessRunResult(0, "not json") })
8 references to ProcessRunResult
Aspire.Hosting.Radius (2)
Publishing\RadiusCommandRunner.cs (1)
22internal delegate Task<ProcessRunResult?> RadiusCommandRunner(
Publishing\RadiusDeploymentPipelineStep.cs (1)
322internal static async Task<ProcessRunResult?> RunAsync(
Aspire.Hosting.Radius.Tests (6)
Deployment\ControlPlaneVersionGateTests.cs (4)
309static Task<ProcessRunResult?> ThrowingRunner( 313static Task RunWithAsync(Func<string, string[], ProcessRunResult?> run) 327public Task<ProcessRunResult?> RunAsync( 342return Task.FromResult<ProcessRunResult?>(fileName switch
Secrets\SealedSecretApplyStepTests.cs (2)
56return Task.FromResult<ProcessRunResult?>(new ProcessRunResult( 92foreach (var unusable in new ProcessRunResult?[] { null, new ProcessRunResult(1, ""), new ProcessRunResult(0, ""), new ProcessRunResult(0, "not json") })