Skip to main content

Module runtime_endpoints

Module runtime_endpoints 

Constantsยง

DESCRIPTION
TAG

Functionsยง

get_health_router
Returns an unprotected router with /health only. Used by the public server so runtimes can check liveness without going through auth.
get_internal_router
Returns an unprotected router with /health and /runtimes/register endpoints. Used by the internal server only.
get_protected_router
Returns a protected router with /runtimes and /runtime/{runtime_id}/restart endpoints
health ๐Ÿ”’
Health endpoint
list_runtimes ๐Ÿ”’
new_runtime ๐Ÿ”’
Registers a new runtime TODO: proper authentication of the server needs to be implemented TODO: This service should listen only on 127.0.0.1
restart_runtime ๐Ÿ”’
start_runtime ๐Ÿ”’