garm/client
Gabriel Adrian Samfira 42cfd1b3c6 Add agent mode
This change adds a new "agent mode" to GARM. The agent enables GARM to
set up a persistent websocket connection between the garm server and the
runners it spawns. The goal is to be able to easier keep track of state,
even without subsequent webhooks from the forge.

The Agent will report via websockets when the runner is actually online,
when it started a job and when it finished a job.

Additionally, the agent allows us to enable optional remote shell between
the user and any runner that is spun up using agent mode. The remote shell
is multiplexed over the same persistent websocket connection the agent
sets up with the server (the agent never listens on a port).

Enablement has also been done in the web UI for this functionality.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2026-02-08 00:27:47 +02:00
..
controller Move URLs from default section of config to DB 2024-06-07 09:27:24 +00:00
controller_info Update go-swagger and run generate 2024-05-23 10:24:44 +00:00
credentials Add Gitea endpoints and credentials 2025-05-14 00:34:54 +00:00
endpoints Add Gitea endpoints and credentials 2025-05-14 00:34:54 +00:00
enterprises Add a rudimentary filter option when listing entities 2025-06-18 21:23:34 +00:00
first_run Update go-swagger and run generate 2024-05-23 10:24:44 +00:00
instances Add API endpoint for some scaleset ops 2025-05-03 22:29:40 +00:00
jobs Update go-swagger and run generate 2024-05-23 10:24:44 +00:00
login Update go-swagger and run generate 2024-05-23 10:24:44 +00:00
metrics_token Update go-swagger and run generate 2024-05-23 10:24:44 +00:00
objects Add API, CLI and web UI integration for objects 2025-10-08 22:22:58 +03:00
organizations Add a rudimentary filter option when listing entities 2025-06-18 21:23:34 +00:00
pools Update go-swagger and run generate 2024-05-23 10:24:44 +00:00
providers Update go-swagger and run generate 2024-05-23 10:24:44 +00:00
repositories Add a rudimentary filter option when listing entities 2025-06-18 21:23:34 +00:00
scalesets Add API endpoint for some scaleset ops 2025-05-03 22:29:40 +00:00
templates Add agent mode 2026-02-08 00:27:47 +02:00
tools Add agent mode 2026-02-08 00:27:47 +02:00
garm_api_client.go Add agent mode 2026-02-08 00:27:47 +02:00