forked from TrueCloudLab/frostfs-node
[#60] control: Add GetNetmapStatus method
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
9ac74efc41
commit
a83eeddb1d
9 changed files with 1770 additions and 1160 deletions
|
@ -50,6 +50,8 @@ type NodeState interface {
|
|||
// ForceMaintenance works like SetNetmapStatus(control.NetmapStatus_MAINTENANCE)
|
||||
// but starts local maintenance regardless of the network settings.
|
||||
ForceMaintenance() error
|
||||
|
||||
GetNetmapStatus() (control.NetmapStatus, uint64, error)
|
||||
}
|
||||
|
||||
// LocalOverrideStorageDecorator interface provides methods to decorate LocalOverrideEngine
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue