15 instantiations of ProcessRunResult
Aspire.Hosting.Radius (1)
Publishing\RadiusDeploymentPipelineStep.cs (1)
380return new ProcessRunResult(process.ExitCode, standardOutput);
Aspire.Hosting.Radius.Tests (14)
Deployment\ControlPlaneVersionGateTests.cs (10)
299await RunWithAsync((fileName, _) => fileName == "kubectl" ? null : new ProcessRunResult(0, "")); 300await RunWithAsync((fileName, _) => fileName == "kubectl" ? new ProcessRunResult(1, "") : new ProcessRunResult(0, "")); 301await RunWithAsync((fileName, _) => fileName == "kubectl" ? new ProcessRunResult(0, "apiVersion: v1") : null); 302await RunWithAsync((fileName, _) => fileName == "kubectl" ? new ProcessRunResult(0, "apiVersion: v1") : new ProcessRunResult(1, "")); 308? new ProcessRunResult(0, "apiVersion: v1") 309: new ProcessRunResult(0, """{"controlPlane":{"version":"edge","status":"Installed"}}""")); 346"kubectl" => new ProcessRunResult(0, ExportedKubeConfig), 347"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)
325internal static async Task<ProcessRunResult?> RunAsync(
Aspire.Hosting.Radius.Tests (6)
Deployment\ControlPlaneVersionGateTests.cs (4)
311static Task<ProcessRunResult?> ThrowingRunner( 315static Task RunWithAsync(Func<string, string[], ProcessRunResult?> run) 329public Task<ProcessRunResult?> RunAsync( 344return 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") })