[#1] Add object Get operation + code quality
Signed-off-by: Ivan Pchelintsev <i.pchelintsev@yadro.com>
This commit is contained in:
parent
9aa93d123d
commit
b307c2c899
17 changed files with 182 additions and 99 deletions
|
@ -5,7 +5,7 @@ using DeleteResponse = FrostFS.Container.DeleteResponse;
|
|||
using GetResponse = FrostFS.Container.GetResponse;
|
||||
using PutResponse = FrostFS.Container.PutResponse;
|
||||
|
||||
namespace FrostFS.SDK.ClientV2;
|
||||
namespace FrostFS.SDK.ClientV2.Interfaces;
|
||||
|
||||
public interface IFrostFSClient
|
||||
{
|
||||
|
@ -14,6 +14,7 @@ public interface IFrostFSClient
|
|||
Task<GetResponse> GetContainerAsync(ContainerID containerId);
|
||||
Task<DeleteResponse> DeleteContainerAsync(ContainerID containerId);
|
||||
Task<HeadResponse> GetObjectHeadAsync(ContainerID containerId, ObjectID objectId);
|
||||
Task<Object.PutResponse> PutObjectAsync(Object.Header header, Stream payload);
|
||||
Task<Object.Object> GetObjectAsync(ContainerID containerId, ObjectID objectId);
|
||||
Task<Object.PutResponse> PutObjectAsync(Header header, Stream payload);
|
||||
Task<Object.DeleteResponse> DeleteObjectAsync(ContainerID containerId, ObjectID objectId);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue