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 = [];
261
Task.Run(() => WatchKubernetesResourceAsync<
Executable
>((t, r) => ProcessResourceChange(t, r, _executablesMap, "Executable", ToSnapshot))),
430
resource is
Executable
{ LogsAvailable: true })
481
Executable
e when e.LogsAvailable => new ResourceLogSource<T>(_logger, kubernetesService, _dcpInfo?.Version, resource),
595
else if (cr is
Executable
exe)
661
private CustomResourceSnapshot ToSnapshot(
Executable
executable, CustomResourceSnapshot previous)
953
var toCreate = _appResources.Where(r => r.DcpResource is Container || r.DcpResource is
Executable
|| r.DcpResource is ExecutableReplicaSet);
965
var executablesTask = CreateExecutablesAsync(toCreate.Where(ar => ar.DcpResource is
Executable
|| ar.DcpResource is ExecutableReplicaSet), cancellationToken);
1059
var
exe =
Executable
.Create(exeInstance.Name, exePath);
1093
var
exeSpec =
Executable
.Create(exeInstance.Name, "dotnet");
1166
exeSpec.AnnotateAsObjectList(
Executable
.LaunchConfigurationsAnnotation, projectLaunchConfiguration);
1294
case
Executable
exe:
1891
if (resource is
Executable
exe && exe.Metadata.Annotations.TryGetValue(CustomResource.ResourceReplicaCount, out var value) && int.TryParse(value, CultureInfo.InvariantCulture, out var replicas) && replicas > 1)
1974
await DeleteResourcesAsync<
Executable
>("project", cancellationToken).ConfigureAwait(false);
2041
case
Executable
e:
2076
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");