Files
2026-05-03 07:59:03 +02:00

15 lines
381 B
Go

package handler
import (
"net/http"
"github.com/gin-gonic/gin"
)
// HealthzHandler is the technical liveness probe used by Runtime Manager
// and operator tooling. It returns 200 with {"status":"ok"} regardless
// of whether the engine has been initialised through POST /api/v1/admin/init.
func HealthzHandler(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{"status": "ok"})
}