[#1307] object: Implement Patch
method
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
This commit is contained in:
parent
a4a1c3f18b
commit
e890f1b4b1
19 changed files with 430 additions and 81 deletions
|
@ -31,8 +31,8 @@ type PutObjectStream interface {
|
|||
CloseAndRecv(context.Context) (*object.PutResponse, error)
|
||||
}
|
||||
|
||||
// PatchObjectstream is an interface of FrostFS API v2 compatible patch streamer.
|
||||
type PatchObjectstream interface {
|
||||
// PatchObjectStream is an interface of FrostFS API v2 compatible patch streamer.
|
||||
type PatchObjectStream interface {
|
||||
Send(context.Context, *object.PatchRequest) error
|
||||
CloseAndRecv(context.Context) (*object.PatchResponse, error)
|
||||
}
|
||||
|
@ -42,7 +42,7 @@ type PatchObjectstream interface {
|
|||
type ServiceServer interface {
|
||||
Get(*object.GetRequest, GetObjectStream) error
|
||||
Put() (PutObjectStream, error)
|
||||
Patch() (PatchObjectstream, error)
|
||||
Patch() (PatchObjectStream, error)
|
||||
Head(context.Context, *object.HeadRequest) (*object.HeadResponse, error)
|
||||
Search(*object.SearchRequest, SearchStream) error
|
||||
Delete(context.Context, *object.DeleteRequest) (*object.DeleteResponse, error)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue