Commit Graph

3 Commits

Author SHA1 Message Date
Maisem Ali
2f00bead5a natlab: add NodeAgentClient
This adds a new NodeAgentClient type that can be used to
invoke the LocalAPI using the LocalClient instead of
handcrafted URLs. However, there are certain cases where
it does make sense for the node agent to provide more
functionality than whats possible with just the LocalClient,
as such it also exposes a http.Client to make requests directly.

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2024-08-07 21:31:50 -07:00
Brad Fitzpatrick
583f1b73c5 more WIP
Change-Id: I228007b4f361a2b63766689f09b1932f86955d0b
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2024-08-07 14:44:35 -07:00
Brad Fitzpatrick
602adde5dc WIP
Change-Id: Ib6804b5c56d8d8da4eb850ef09bc86fc3610ba92
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2024-08-07 12:41:26 -07:00