[#1] Add Object Head/Put/Delete operations
Signed-off-by: Ivan Pchelintsev <i.pchelintsev@yadro.com>
This commit is contained in:
parent
ee1bf29304
commit
013d8a8436
13 changed files with 192 additions and 12 deletions
|
@ -1,3 +1,4 @@
|
|||
using FrostFS.Object;
|
||||
using FrostFS.Refs;
|
||||
|
||||
namespace FrostFS.SDK.ClientV2;
|
||||
|
@ -7,5 +8,8 @@ public interface IFrostFSClient
|
|||
Task<Container.ListResponse> ListContainersAsync();
|
||||
Task<Container.PutResponse> CreateContainerAsync(Container.Container container);
|
||||
Task<Container.GetResponse> GetContainerAsync(ContainerID containerId);
|
||||
Task<Container.DeleteResponse> DeleteContainerAsync(ContainerID cid);
|
||||
Task<Container.DeleteResponse> DeleteContainerAsync(ContainerID containerId);
|
||||
Task<HeadResponse> GetObjectHeadAsync(ContainerID containerId, ObjectID objectId);
|
||||
Task<Object.PutResponse> PutObjectAsync(ContainerID containerId, Stream data);
|
||||
Task<Object.DeleteResponse> DeleteObjectAsync(ContainerID containerId, ObjectID objectId);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue