1 instantiation of Service
Aspire.Hosting (1)
Dcp\Model\Service.cs (1)
77
var s = new
Service
(new ServiceSpec());
20 references to Service
Aspire.Hosting (20)
Dcp\ApplicationExecutor.cs (16)
51
public
Service
Service => (
Service
)DcpResource;
63
public ServiceAppResource(IResource modelResource,
Service
service, EndpointAnnotation sba) : base(modelResource, service)
109
private readonly ConcurrentDictionary<string,
Service
> _servicesMap = [];
264
Task.Run(() => WatchKubernetesResourceAsync<
Service
>(ProcessServiceChange)),
562
private async Task ProcessServiceChange(WatchEventType watchEventType,
Service
service)
880
await CreateResourcesAsync<
Service
>(cancellationToken).ConfigureAwait(false);
916
IAsyncEnumerable<(WatchEventType,
Service
)> serviceChangeEnumerator = kubernetesService.WatchAsync<
Service
>(cancellationToken: attemptCancellationToken);
940
var dcpSvc = await kubernetesService.GetAsync<
Service
>(sar.Service.Metadata.Name, cancellationToken: cancellationToken).ConfigureAwait(false);
997
var
svc = (
Service
)sp.DcpResource;
1041
var
svc =
Service
.Create(uniqueServiceName);
1995
await DeleteResourcesAsync<
Service
>("service", cancellationToken).ConfigureAwait(false);
2076
.Where(r => r.DcpResource is not
Service
)
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)