mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-12 03:07:34 +00:00
Added method to run tailscale up without authkey
This commit is contained in:

committed by
Juan Font

parent
1f8bd24a0d
commit
f9c44f11d6
@@ -2,6 +2,7 @@ package integration
|
||||
|
||||
import (
|
||||
"net/netip"
|
||||
"net/url"
|
||||
|
||||
"tailscale.com/ipn/ipnstate"
|
||||
)
|
||||
@@ -12,6 +13,7 @@ type TailscaleClient interface {
|
||||
Version() string
|
||||
Execute(command []string) (string, string, error)
|
||||
Up(loginServer, authKey string) error
|
||||
UpWithLoginURL(loginServer string) (*url.URL, error)
|
||||
IPs() ([]netip.Addr, error)
|
||||
FQDN() (string, error)
|
||||
Status() (*ipnstate.Status, error)
|
||||
|
Reference in New Issue
Block a user