forked from TrueCloudLab/frostfs-node
[#1523] local_object_storage: Unify parameters for the Delete
operation
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
36c88f0dc8
commit
d75d030a90
6 changed files with 44 additions and 49 deletions
15
pkg/local_object_storage/blobstor/common/delete.go
Normal file
15
pkg/local_object_storage/blobstor/common/delete.go
Normal file
|
@ -0,0 +1,15 @@
|
|||
package common
|
||||
|
||||
import (
|
||||
"github.com/nspcc-dev/neofs-node/pkg/local_object_storage/blobovnicza"
|
||||
oid "github.com/nspcc-dev/neofs-sdk-go/object/id"
|
||||
)
|
||||
|
||||
// DeletePrm groups the parameters of Delete operation.
|
||||
type DeletePrm struct {
|
||||
Address oid.Address
|
||||
BlobovniczaID *blobovnicza.ID
|
||||
}
|
||||
|
||||
// DeleteRes groups the resulting values of Delete operation.
|
||||
type DeleteRes struct{}
|
Loading…
Add table
Add a link
Reference in a new issue