chore: add http debug support to pgcoord (#8795)

This commit is contained in:
Colin Adler
2023-07-28 17:59:31 -05:00
committed by GitHub
parent a75346dd32
commit 0b4f333a6f
10 changed files with 362 additions and 100 deletions

View File

@ -59,11 +59,20 @@ SELECT *
FROM tailnet_agents
WHERE id = $1;
-- name: GetAllTailnetAgents :many
SELECT *
FROM tailnet_agents;
-- name: GetTailnetClientsForAgent :many
SELECT *
FROM tailnet_clients
WHERE agent_id = $1;
-- name: GetAllTailnetClients :many
SELECT *
FROM tailnet_clients
ORDER BY agent_id;
-- name: UpsertTailnetCoordinator :one
INSERT INTO
tailnet_coordinators (