21 instantiations of ProcessSpec
Aspire.Hosting.Azure.Kubernetes (3)
AzureKubernetesEnvironmentResource.AksPipeline.cs (3)
599
var applySpec = new
ProcessSpec
("kubectl")
684
var (resultTask, disposable) = ProcessUtil.Run(new
ProcessSpec
("kubectl")
1019
var spec = new
ProcessSpec
(azPath)
Aspire.Hosting.Kubernetes (18)
CertManagerExtensions.cs (5)
453
var (resultTask, disposable) = ProcessUtil.Run(new
ProcessSpec
("kubectl")
511
var (resultTask, disposable) = ProcessUtil.Run(new
ProcessSpec
("kubectl")
574
var (deleteResult, deleteDisposable) = ProcessUtil.Run(new
ProcessSpec
("kubectl")
635
return new
ProcessSpec
("kubectl")
656
var (resultTask, disposable) = ProcessUtil.Run(new
ProcessSpec
("kubectl")
Deployment\DefaultHelmRunner.cs (1)
20
var spec = new
ProcessSpec
("helm")
Deployment\HelmDeploymentEngine.cs (1)
719
var spec = new
ProcessSpec
("kubectl")
KubernetesEnvironmentResource.cs (11)
1538
var (patchResult, patchDisposable) = ProcessUtil.Run(new
ProcessSpec
("kubectl")
1598
var (checkResult, checkDisposable) = ProcessUtil.Run(new
ProcessSpec
("kubectl")
1643
var (createResult, createDisposable) = ProcessUtil.Run(new
ProcessSpec
("kubectl")
1734
var (getResult, getDisposable) = ProcessUtil.Run(new
ProcessSpec
("kubectl")
1822
var (getResult, getDisposable) = ProcessUtil.Run(new
ProcessSpec
("kubectl")
1910
var (getResult, getDisposable) = ProcessUtil.Run(new
ProcessSpec
("kubectl")
1975
var (patchResult, patchDisposable) = ProcessUtil.Run(new
ProcessSpec
("kubectl")
2086
var (getResult, getDisposable) = ProcessUtil.Run(new
ProcessSpec
("kubectl")
2156
var (applyResult, applyDisposable) = ProcessUtil.Run(new
ProcessSpec
("kubectl")
2235
var (checkResult, checkDisposable) = ProcessUtil.Run(new
ProcessSpec
("kubectl")
2280
var (createResult, createDisposable) = ProcessUtil.Run(new
ProcessSpec
("kubectl")
13 references to ProcessSpec
Aspire.Hosting.Azure.Kubernetes (2)
AzureKubernetesEnvironmentResource.AksPipeline.cs (2)
599
var
applySpec = new ProcessSpec("kubectl")
1019
var
spec = new ProcessSpec(azPath)
Aspire.Hosting.Kubernetes (9)
CertManagerExtensions.cs (2)
431
var
secretSpec = await BuildExternalAccountBindingSecretApplySpecAsync(issuer, resourceVersion, context.CancellationToken).ConfigureAwait(false);
591
internal static async Task<
ProcessSpec
> BuildExternalAccountBindingSecretApplySpecAsync(
Deployment\DefaultHelmRunner.cs (1)
20
var
spec = new ProcessSpec("helm")
Deployment\HelmDeploymentEngine.cs (1)
719
var
spec = new ProcessSpec("kubectl")
src\Aspire.Hosting\Dcp\Process\ProcessUtil.cs (5)
22
public static (Task<ProcessResult>, IAsyncDisposable) Run(
ProcessSpec
processSpec)
26
throw new ArgumentException($"Specify either {nameof(
ProcessSpec
.Arguments)} or {nameof(
ProcessSpec
.ArgumentList)}, not both.", nameof(processSpec));
29
var retainedOutputLineCount = processSpec.RetainedOutputLineCount ?? (processSpec.ThrowOnNonZeroReturnCode ?
ProcessSpec
.DefaultRetainedOutputLineCount : 0);
184
private static string FormatProcessArgumentsForDisplay(
ProcessSpec
processSpec)
Aspire.Hosting.Kubernetes.Tests (2)
CertManagerTests.cs (2)
280
var
spec = await CertManagerExtensions.BuildExternalAccountBindingSecretApplySpecAsync(
306
var
spec = await CertManagerExtensions.BuildExternalAccountBindingSecretApplySpecAsync(