1 instantiation of Executable
Aspire.Hosting (1)
Dcp\Model\Executable.cs (1)
192
var exe = new
Executable
(new ExecutableSpec
21 references to Executable
Aspire.Hosting (21)
Dcp\ApplicationExecutor.cs (18)
108
private readonly ConcurrentDictionary<string,
Executable
> _executablesMap = [];
262
Task.Run(() => WatchKubernetesResourceAsync<
Executable
>((t, r) => ProcessResourceChange(t, r, _executablesMap, "Executable", ToSnapshot))),
431
resource is
Executable
{ LogsAvailable: true })
483
Executable
e when e.LogsAvailable => new ResourceLogSource<T>(_logger, kubernetesService, _dcpInfo?.Version, resource),
597
else if (cr is
Executable
exe)
671
private CustomResourceSnapshot ToSnapshot(
Executable
executable, CustomResourceSnapshot previous)
972
var toCreate = _appResources.Where(r => r.DcpResource is Container || r.DcpResource is
Executable
|| r.DcpResource is ExecutableReplicaSet);
984
var executablesTask = CreateExecutablesAsync(toCreate.Where(ar => ar.DcpResource is
Executable
|| ar.DcpResource is ExecutableReplicaSet), cancellationToken);
1078
var
exe =
Executable
.Create(exeInstance.Name, exePath);
1112
var
exeSpec =
Executable
.Create(exeInstance.Name, "dotnet");
1185
exeSpec.AnnotateAsObjectList(
Executable
.LaunchConfigurationsAnnotation, projectLaunchConfiguration);
1313
case
Executable
exe:
1910
if (resource is
Executable
exe && exe.Metadata.Annotations.TryGetValue(CustomResource.ResourceReplicaCount, out var value) && int.TryParse(value, CultureInfo.InvariantCulture, out var replicas) && replicas > 1)
1993
await DeleteResourcesAsync<
Executable
>("project", cancellationToken).ConfigureAwait(false);
2060
case
Executable
e:
2095
case
Executable
e:
Dcp\Model\Executable.cs (2)
190
public static
Executable
Create(string name, string executablePath)
192
var
exe = new Executable(new ExecutableSpec
Dcp\Model\GroupVersion.cs (1)
34
Schema.Add<
Executable
>(ExecutableKind, "executables");