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