forked from TrueCloudLab/frostfs-node
Alex Vanin
20de74a505
Due to source code relocation from GitHub. Signed-off-by: Alex Vanin <a.vanin@yadro.com>
13 lines
468 B
Go
13 lines
468 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 {
|
|
// 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
|
|
}
|