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