Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServeProbe ¶
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.
Click to show internal directories.
Click to hide internal directories.