@@ -1,12 +0,0 @@
|
||||
|
||||
using Pldpro.Web.Services.Models;
|
||||
|
||||
namespace Pldpro.Web.Services;
|
||||
|
||||
public interface IStorageService
|
||||
{
|
||||
Task<IEnumerable<BucketItem>> ListBucketsAsync(CancellationToken ct = default);
|
||||
Task CreateBucketAsync(string bucketName, CancellationToken ct = default);
|
||||
Task<IEnumerable<ObjectItem>> ListObjectsAsync(string bucket, CancellationToken ct = default);
|
||||
Task UploadObjectAsync(string bucket, string key, Stream content, string contentType, CancellationToken ct = default);
|
||||
}
|
||||
Reference in New Issue
Block a user