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 = [];
263
Task.Run(() => WatchKubernetesResourceAsync<
Service
>(ProcessServiceChange)),
560
private async Task ProcessServiceChange(WatchEventType watchEventType,
Service
service)
861
await CreateResourcesAsync<
Service
>(cancellationToken).ConfigureAwait(false);
897
IAsyncEnumerable<(WatchEventType,
Service
)> serviceChangeEnumerator = kubernetesService.WatchAsync<
Service
>(cancellationToken: attemptCancellationToken);
921
var dcpSvc = await kubernetesService.GetAsync<
Service
>(sar.Service.Metadata.Name, cancellationToken: cancellationToken).ConfigureAwait(false);
978
var
svc = (
Service
)sp.DcpResource;
1022
var
svc =
Service
.Create(uniqueServiceName);
1976
await DeleteResourcesAsync<
Service
>("service", cancellationToken).ConfigureAwait(false);
2057
.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)