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 = []; 264Task.Run(() => WatchKubernetesResourceAsync<Service>(ProcessServiceChange)), 562private async Task ProcessServiceChange(WatchEventType watchEventType, Service service) 880await CreateResourcesAsync<Service>(cancellationToken).ConfigureAwait(false); 916IAsyncEnumerable<(WatchEventType, Service)> serviceChangeEnumerator = kubernetesService.WatchAsync<Service>(cancellationToken: attemptCancellationToken); 940var dcpSvc = await kubernetesService.GetAsync<Service>(sar.Service.Metadata.Name, cancellationToken: cancellationToken).ConfigureAwait(false); 997var svc = (Service)sp.DcpResource; 1041var svc = Service.Create(uniqueServiceName); 1995await DeleteResourcesAsync<Service>("service", cancellationToken).ConfigureAwait(false); 2076.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)