Files
PLDpro.Web/Services/IStorageService.cs
Erik 46d7b7e6d8
Some checks failed
Build & Deploy PLDpro.Web Test to 192.168.1.100 / build-and-deploy (push) Failing after 54s
S3 Test
2026-01-24 20:46:25 +01:00

13 lines
493 B
C#

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);
}