forked from TrueCloudLab/frostfs-node
[#1559] local_object_storage: Allow to set mode for all components
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
1e786233bf
commit
3df62769c0
16 changed files with 230 additions and 28 deletions
|
@ -3,6 +3,7 @@ package pilorama
|
|||
import (
|
||||
"errors"
|
||||
|
||||
"github.com/nspcc-dev/neofs-node/pkg/local_object_storage/shard/mode"
|
||||
cidSDK "github.com/nspcc-dev/neofs-sdk-go/container/id"
|
||||
)
|
||||
|
||||
|
@ -41,6 +42,7 @@ type ForestStorage interface {
|
|||
Init() error
|
||||
Open(bool) error
|
||||
Close() error
|
||||
SetMode(m mode.Mode) error
|
||||
Forest
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue