[#28] Client: Use external GRPC Channnel
Signed-off-by: Pavel Gross <p.gross@yadro.com>
This commit is contained in:
parent
9bb7b5eff8
commit
c9418a1894
27 changed files with 520 additions and 438 deletions
|
@ -6,7 +6,7 @@ using Frostfs.V2.Ape;
|
|||
|
||||
namespace FrostFS.SDK.Client.Interfaces;
|
||||
|
||||
public interface IFrostFSClient : IDisposable
|
||||
public interface IFrostFSClient
|
||||
{
|
||||
#region Network
|
||||
Task<FrostFsNetmapSnapshot> GetNetmapSnapshotAsync(CallContext ctx);
|
||||
|
@ -47,7 +47,9 @@ public interface IFrostFSClient : IDisposable
|
|||
|
||||
Task<ReadOnlyMemory<byte>[]> GetRangeHashAsync(PrmRangeHashGet args, CallContext ctx);
|
||||
|
||||
Task<FrostFsObjectId> PutObjectAsync(PrmObjectPut args, CallContext ctx);
|
||||
Task<IObjectWriter> PutObjectAsync(PrmObjectPut args, CallContext ctx);
|
||||
|
||||
Task<FrostFsObjectId> PutClientCutObjectAsync(PrmObjectClientCutPut args, CallContext ctx);
|
||||
|
||||
Task<FrostFsObjectId> PutSingleObjectAsync(PrmSingleObjectPut args, CallContext ctx);
|
||||
|
||||
|
@ -63,6 +65,4 @@ public interface IFrostFSClient : IDisposable
|
|||
#endregion
|
||||
|
||||
public Task<string?> Dial(CallContext ctx);
|
||||
|
||||
public void Close();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue