[#211] blobstor: Define DeleteSmall operation

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
remotes/KirillovDenis/release/v0.21.1
Leonard Lyubich 2020-11-25 12:11:39 +03:00 committed by Alex Vanin
parent 65da2025e5
commit 915243c69e
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
package blobstor
// DeleteSmallPrm groups the parameters of DeleteSmall operation.
type DeleteSmallPrm struct {
address
}
// DeleteSmallRes groups resulting values of DeleteSmall operation.
type DeleteSmallRes struct{}
// DeleteSmall removes object from blobovnicza of BLOB storage.
//
// If blobovnicza ID is not set or set to nil, BlobStor tries to
// find and remove object from any blobovnicza.
//
// Returns any error encountered that did not allow
// to completely remove the object.
//
// Returns ErrObjectNotFound if there is no object to delete.
func (b *BlobStor) DeleteSmall(prm *DeleteSmallPrm) (*DeleteSmallRes, error) {
panic("implement me")
}