Added method to run tailscale up without authkey

This commit is contained in:
Juan Font Alonso 2022-11-03 16:56:19 +01:00 committed by Juan Font
parent 1f8bd24a0d
commit f9c44f11d6
2 changed files with 39 additions and 4 deletions

View file

@ -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)