1 implementation of GetStreamAsync
Microsoft.NET.Build.Containers (1)
Registry\DefaultBlobOperations.cs (1)
55public async Task<Stream> GetStreamAsync(string repositoryName, string digest, CancellationToken cancellationToken)
5 references to GetStreamAsync
Microsoft.NET.Build.Containers (1)
Registry\Registry.cs (1)
426using Stream responseStream = await _registryAPI.Blob.GetStreamAsync(repository, descriptor.Digest, cancellationToken).ConfigureAwait(false);
Microsoft.NET.Build.Containers.UnitTests (4)
RegistryTests.cs (4)
560.SetupSequence(api => api.Blob.GetStreamAsync(repoName, descriptor.Digest, cancellationToken)) 576mockRegistryAPI.Verify(api => api.Blob.GetStreamAsync(repoName, descriptor.Digest, cancellationToken), Times.Exactly(3)); // Verify retries 601.SetupSequence(api => api.Blob.GetStreamAsync(repoName, descriptor.Digest, cancellationToken)) 616mockRegistryAPI.Verify(api => api.Blob.GetStreamAsync(repoName, descriptor.Digest, cancellationToken), Times.Exactly(5));