[#312] control: Define HealthStatus enum

Define enumeration of the statuses of storage node application.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-01-15 13:13:41 +03:00 committed by Alex Vanin
parent 71fcbd3ed4
commit 0abb8acef3
3 changed files with 93 additions and 14 deletions

View file

@ -306,7 +306,7 @@ type HealthCheckResponse_Body struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Network map status of storage node.
// Status of the storage node in NeoFS network map.
NetmapStatus NetmapStatus `protobuf:"varint,1,opt,name=netmap_status,json=netmapStatus,proto3,enum=control.NetmapStatus" json:"netmap_status,omitempty"`
}