Versions in this module Expand all Collapse all v0 v0.2.0 Mar 1, 2024 v0.1.0 Feb 29, 2024 Changes in this version + type Report struct + HealthChecks map[string]*healthpb.Check + IsLive bool + IsReady bool + IsRunning bool + NumHealthCheckUpdates uint32 + NumLivenessSetFalse uint32 + NumLivenessSetTrue uint32 + NumLivenessStateChanges uint32 + NumReadinessSetFalse uint32 + NumReadinessSetTrue uint32 + NumReadinessStateChanges uint32 + NumRunningStateChanges uint32 + func (r Report) MarshalJSON() ([]byte, error) + type Reporter struct + func FromReporter(r health.Reporter) (*Reporter, bool) + func (t *Reporter) Report() Report + func (t *Reporter) Run(_ context.Context) error + func (t *Reporter) SetLiveness(_ context.Context, b bool) + func (t *Reporter) SetReadiness(_ context.Context, b bool) + func (t *Reporter) Stop(_ context.Context) error + func (t *Reporter) UpdateHealthChecks(_ context.Context, m map[string]*healthpb.Check)