Add logout method to tsic

This commit is contained in:
Juan Font 2022-12-21 22:29:52 +00:00
parent b54c0e3d22
commit b7d7fc57c4
3 changed files with 11 additions and 1 deletions

View file

@ -15,6 +15,7 @@ type TailscaleClient interface {
Execute(command []string) (string, string, error)
Up(loginServer, authKey string) error
UpWithLoginURL(loginServer string) (*url.URL, error)
Logout() error
IPs() ([]netip.Addr, error)
FQDN() (string, error)
Status() (*ipnstate.Status, error)