Skip to main content

cmd/taisce/health.go

cmd/taisce · 158 lines · 7 declarations · source

Declarations​

type processFormationHealth​

type processFormationHealth struct{ last atomic.Int64 }

source

method processFormationHealth.responsive​

func (h *processFormationHealth) responsive()

source

method processFormationHealth.current​

func (h *processFormationHealth) current() bool

source

func formationRequired​

func formationRequired() (bool, error)

source

func workerHealthAddress​

func workerHealthAddress() (string, error)

source

func healthCommand​

func healthCommand(ctx context.Context, args []string, out io.Writer) error

source

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.

source