fix: cleanup agent and add to ci

This commit is contained in:
Aarnav Tale
2025-06-16 11:38:13 -04:00
parent ab7587e7a9
commit 4961e83a9c
13 changed files with 160 additions and 758 deletions
+4 -4
View File
@@ -5,16 +5,16 @@ import (
"os"
"path/filepath"
"github.com/tale/headplane/agent/internal/config"
"github.com/tale/headplane/agent/internal/util"
"tailscale.com/client/tailscale"
"github.com/tale/headplane/internal/config"
"github.com/tale/headplane/internal/util"
"tailscale.com/client/local"
"tailscale.com/tsnet"
)
// Wrapper type so we can add methods to the server.
type TSAgent struct {
*tsnet.Server
Lc *tailscale.LocalClient
Lc *local.Client
ID string
}