Versions in this module Expand all Collapse all v1 v1.0.7 Jan 8, 2026 Changes in this version + var NetworkCheckerInstance = &NetworkChecker + var VMCheckerInstance = &VMChecker + func IsHealthy(checks []HealthCheck) bool + type CheckData struct + Contract uint64 + Network func(ctx context.Context, id zos.NetID) string + Twin uint32 + VM func(ctx context.Context, id string) bool + Workload gridtypes.Workload + type Checker interface + Name func() string + Run func(ctx context.Context, data *CheckData) []HealthCheck + type HealthCheck struct + Evidence map[string]interface{} + Message string + Name string + OK bool + func Run(ctx context.Context, workloadType gridtypes.WorkloadType, data *CheckData) []HealthCheck + type NetworkChecker struct + func (nc *NetworkChecker) Name() string + func (nc *NetworkChecker) Run(ctx context.Context, data *CheckData) []HealthCheck + type SystemChecker struct + func NewSystemChecker(command string) *SystemChecker + func (sc *SystemChecker) Name() string + func (sc *SystemChecker) Run(ctx context.Context, data *CheckData) []HealthCheck + type VMChecker struct + func (vc *VMChecker) Name() string + func (vc *VMChecker) Run(ctx context.Context, data *CheckData) []HealthCheck