cmd/taisce/health.go
cmd/taisce · 158 lines · 7 declarations · source
Declarations
type processFormationHealth
type processFormationHealth struct{ last atomic.Int64 }
method processFormationHealth.responsive
func (h *processFormationHealth) responsive()
method processFormationHealth.current
func (h *processFormationHealth) current() bool
func formationRequired
func formationRequired() (bool, error)
func workerHealthAddress
func workerHealthAddress() (string, error)
func healthCommand
func healthCommand(ctx context.Context, args []string, out io.Writer) error
func probeCommand
func probeCommand(ctx context.Context, args []string) error
The distroless image probes with its own binary; no curl or shell dependency is needed.