Reapply "S3 Test"
Some checks failed
Build & Deploy PLDpro.Web Test to 192.168.1.100 / build-and-deploy (push) Failing after 47s

This reverts commit 35f4133001.
This commit is contained in:
2026-01-24 20:52:11 +01:00
parent 35f4133001
commit 0f39159d39
13 changed files with 304 additions and 3 deletions

View File

@@ -0,0 +1,12 @@
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);
}