Documentation
¶
Index ¶
- func ExtractAuthURL(output string) string
- func Status(machineName string) string
- func StatusWithSSH(machineName string, sshFn SSHFunc) string
- func Up(machineName, hostname string) (string, error)
- func UpWithSSH(machineName, hostname string, sshFn SSHFunc) (string, error)
- func WaitForDaemon(machineName string, timeout time.Duration) error
- func WaitForDaemonWithSSH(machineName string, timeout time.Duration, sshFn SSHFunc) error
- type SSHFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractAuthURL ¶
ExtractAuthURL scans output for a Tailscale login URL and returns it. Exported for testing.
func Status ¶
Status returns a brief status string from tailscale inside the VM. Uses the legacy podman.SSH call.
func StatusWithSSH ¶ added in v0.3.0
StatusWithSSH returns a brief status string using the provided SSH function.
func Up ¶
Up runs tailscale up inside the VM and returns the auth URL if one is printed. Uses the legacy podman.SSH call.
func WaitForDaemon ¶
WaitForDaemon polls until the tailscaled container is running inside the VM. Uses the legacy podman.SSH call for backward compatibility.
Types ¶
Click to show internal directories.
Click to hide internal directories.