garm/auth
Gabriel Adrian Samfira 31ad45eeb6 Allow referencing runners by ID
Although runner names are unique, we still have an ID on the model
which is used as a primary key. We should allow using that ID to
reference a runner in the API.

This change allows users to specify ID or runner name.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-16 23:00:55 +00:00
..
admin_required.go Add copyright header 2025-05-20 09:43:29 +00:00
auth.go Switch to fmt.Errorf 2025-08-16 22:19:05 +00:00
context.go Add some tests 2025-05-19 19:45:45 +00:00
init_required.go Add SPA UI for GARM 2025-08-16 09:09:13 +00:00
instance_middleware.go Allow referencing runners by ID 2025-08-16 23:00:55 +00:00
interfaces.go Add some tests 2025-05-19 19:45:45 +00:00
jwt.go Allow cookie login to API endpoints 2025-08-12 12:48:48 +00:00
metrics.go Add copyright header 2025-05-20 09:43:29 +00:00