1 instantiation of Service
Aspire.Hosting (1)
Dcp\Model\Service.cs (1)
77var s = new Service(new ServiceSpec());
20 references to Service
Aspire.Hosting (20)
Dcp\ApplicationExecutor.cs (16)
51public Service Service => (Service)DcpResource; 63public ServiceAppResource(IResource modelResource, Service service, EndpointAnnotation sba) : base(modelResource, service) 109private readonly ConcurrentDictionary<string, Service> _servicesMap = []; 263Task.Run(() => WatchKubernetesResourceAsync<Service>(ProcessServiceChange)), 560private async Task ProcessServiceChange(WatchEventType watchEventType, Service service) 861await CreateResourcesAsync<Service>(cancellationToken).ConfigureAwait(false); 897IAsyncEnumerable<(WatchEventType, Service)> serviceChangeEnumerator = kubernetesService.WatchAsync<Service>(cancellationToken: attemptCancellationToken); 921var dcpSvc = await kubernetesService.GetAsync<Service>(sar.Service.Metadata.Name, cancellationToken: cancellationToken).ConfigureAwait(false); 978var svc = (Service)sp.DcpResource; 1022var svc = Service.Create(uniqueServiceName); 1976await DeleteResourcesAsync<Service>("service", cancellationToken).ConfigureAwait(false); 2057.Where(r => r.DcpResource is not Service)
Dcp\Model\GroupVersion.cs (1)
37Schema.Add<Service>(ServiceKind, "services");
Dcp\Model\Service.cs (3)
75public static Service Create(string name) 77var s = new Service(new ServiceSpec()); 93public void ApplyAddressInfoFrom(Service other)