1 instantiation of Service
Aspire.Hosting (1)
Dcp\Model\Service.cs (1)
77var s = new Service(new ServiceSpec());
19 references to Service
Aspire.Hosting (19)
Dcp\AppResource.cs (3)
28public Service Service => (Service)DcpResource; 40public ServiceAppResource(IResource modelResource, Service service, EndpointAnnotation sba) : base(modelResource, service)
Dcp\DcpExecutor.cs (11)
197Task.Run(() => WatchKubernetesResourceAsync<Service>(ProcessServiceChange)), 487private async Task ProcessServiceChange(WatchEventType watchEventType, Service service) 567await CreateResourcesAsync<Service>(cancellationToken).ConfigureAwait(false); 577var serviceChangeEnumerator = _kubernetesService.WatchAsync<Service>(cancellationToken: attemptCancellationToken); 609var dcpSvc = await _kubernetesService.GetAsync<Service>(sar.Service.Metadata.Name, cancellationToken: cancellationToken).ConfigureAwait(false); 660var svc = (Service)sp.DcpResource; 700var svc = Service.Create(serviceName); 1602.Where(r => r.DcpResource is not Service)
Dcp\DcpResourceState.cs (1)
14public readonly ConcurrentDictionary<string, Service> ServicesMap = [];
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)