Implemented interface member:
method
ListAsync<T>
Aspire.Hosting.Dcp.IKubernetesService.ListAsync<T>(System.String, System.Threading.CancellationToken)
20 references to ListAsync
Aspire.Hosting.Tests (20)
Dcp\KubernetesServiceTests.cs (20)
319await Assert.ThrowsAsync<TimeoutRejectedException>(() => service.ListAsync<Container>(cancellationToken: cts.Token)) 1383Assert.Empty(await service.ListAsync<Container>(cancellationToken: cts.Token)); 1481Assert.Empty(await service.ListAsync<Container>(cancellationToken: cts.Token)); 1661Assert.Empty(await service.ListAsync<Container>(cancellationToken: cts.Token).DefaultTimeout()); 1832var listTask = service.ListAsync<Container>(cancellationToken: cts.Token); 1856var listTask = service.ListAsync<Container>(cancellationToken: cts.Token); 1883Assert.Empty(await service.ListAsync<Container>(cancellationToken: cts.Token)); 1885() => service.ListAsync<Container>(cancellationToken: cts.Token)); 1903() => service.ListAsync<Container>(cancellationToken: cts.Token)); 1937var listTask = service.ListAsync<Container>(cancellationToken: cts.Token); 2019var listTask = service.ListAsync<Container>(cancellationToken: cts.Token); 2042var result = await service.ListAsync<Container>(cancellationToken: cts.Token); 2047() => service.ListAsync<Container>(cancellationToken: cts.Token)); 2067Assert.Empty(await service.ListAsync<Container>(cancellationToken: cts.Token)); 2072nameof(KubernetesService.ListAsync) => () => service.ListAsync<Container>(cancellationToken: cts.Token), 2117var listTask = service.ListAsync<Container>(cancellationToken: cts.Token); 2124() => service.ListAsync<Container>(cancellationToken: cts.Token)); 2152Assert.Empty(await service.ListAsync<Container>(cancellationToken: cts.Token)); 2181Assert.Empty(await service.ListAsync<Container>(cancellationToken: cts.Token)); 2331var listTask = service.ListAsync<Container>(cancellationToken: cts.Token);