frostfs-node/pkg/services/control/ir/server/deps.go
Alexander Chuprov d83879d4b8 [#1431] node: Fix comment format
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2024-10-15 08:53:59 +00:00

13 lines
481 B
Go

package control
import control "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/services/control/ir"
// HealthChecker is component interface for calculating
// the current health status of a node.
type HealthChecker interface {
// HealthStatus must calculate and return current health status of the IR application.
//
// If status can not be calculated for any reason,
// control.HealthStatus_HEALTH_STATUS_UNDEFINED should be returned.
HealthStatus() control.HealthStatus
}