health

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServeProbe

func ServeProbe(addr string, r *runner.Runner, validatorPrompt string)

ServeProbe starts HTTP health endpoints on addr.

  • GET /healthz — basic liveness: always 200 if the process is running.
  • GET /readyz — readiness check. Behaviour depends on whether a validatorPrompt is set (controlled by ArkAgent.spec.livenessProbe):
  • No prompt (type: ping): returns 200 immediately — process-level readiness only.
  • Prompt set (type: semantic): calls the LLM API and checks that the response contains "HEALTHY" before returning 200.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL