forked from TrueCloudLab/frostfs-node
[#222] Support Inhume and Delete in object service
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
21708d5408
commit
351e4b4592
5 changed files with 46 additions and 20 deletions
|
@ -35,8 +35,8 @@ type cfg struct {
|
|||
|
||||
// Remover is an interface of the component that stores objects.
|
||||
type Remover interface {
|
||||
// Delete removes (or marks to remove) object from physical storage.
|
||||
Delete(*object.Address) error
|
||||
// Delete removes object from physical storage.
|
||||
Delete(...*object.Address) error
|
||||
}
|
||||
|
||||
func defaultCfg() *cfg {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue