forked from TrueCloudLab/frostfs-node
[#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
|
@ -37,7 +37,7 @@ type putStreamSigner struct {
|
|||
|
||||
type patchStreamSigner struct {
|
||||
sigSvc *util.SignService
|
||||
stream PatchObjectstream
|
||||
stream PatchObjectStream
|
||||
err error
|
||||
}
|
||||
|
||||
|
@ -142,7 +142,7 @@ func (s *patchStreamSigner) CloseAndRecv(ctx context.Context) (resp *object.Patc
|
|||
return resp, s.sigSvc.SignResponse(resp, err)
|
||||
}
|
||||
|
||||
func (s *SignService) Patch() (PatchObjectstream, error) {
|
||||
func (s *SignService) Patch() (PatchObjectStream, error) {
|
||||
stream, err := s.svc.Patch()
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("could not create Put object streamer: %w", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue