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