1 write to ExitCode
Aspire.Hosting.Kubernetes (1)
src\Aspire.Hosting\Dcp\Process\ProcessResult.cs (1)
12ExitCode = exitCode;
24 references to ExitCode
Aspire.Hosting.Azure.Kubernetes (3)
AzureKubernetesEnvironmentResource.AksPipeline.cs (3)
627applyExitCode = result.ExitCode; 702exitCode = result.ExitCode; 1039return new AzCommandResult(result.ExitCode, stdout.ToString(), stderr.ToString());
Aspire.Hosting.Kubernetes (21)
CertManagerExtensions.cs (4)
479if (result.ExitCode != 0) 483$"kubectl apply for ClusterIssuer '{issuer.Name}' failed with exit code {result.ExitCode}: {errOut}"); 544if (result.ExitCode != 0) 552result.ExitCode,
Deployment\DefaultHelmRunner.cs (1)
38return processResult.ExitCode;
Deployment\HelmDeploymentEngine.cs (1)
740if (processResult.ExitCode != 0)
KubernetesEnvironmentResource.cs (15)
1513if (patchExitResult.ExitCode != 0) 1518gatewayName, discoveredFqdn, patchExitResult.ExitCode); 1573if (result.ExitCode == 0) 1618if (createExitResult.ExitCode != 0) 1620context.Logger.LogWarning("Failed to create bootstrap TLS secret '{SecretName}' (exit code {ExitCode}).", secretName, createExitResult.ExitCode); 1709if (result.ExitCode == 0 && stdout.Count > 0) 1798if (result.ExitCode == 0 && stdout.Count > 0) 1885getExit = (await getResult.WaitAsync(context.CancellationToken).ConfigureAwait(false)).ExitCode; 1949var patchExit = (await patchResult.WaitAsync(context.CancellationToken).ConfigureAwait(false)).ExitCode; 2061if (exitResult.ExitCode != 0 || stdout.Count == 0) 2131if (applyExitResult.ExitCode != 0) 2136applyExitResult.ExitCode); 2210if (result.ExitCode == 0) 2255if (createExitResult.ExitCode != 0) 2257context.Logger.LogWarning("Failed to create bootstrap TLS secret '{SecretName}' (exit code {ExitCode}).", secretName, createExitResult.ExitCode);