Documentation
¶
Index ¶
Constants ¶
View Source
const AIGPUTag = "tag:ai-gpu"
Variables ¶
This section is empty.
Functions ¶
func EnrollmentTagHelp ¶ added in v0.18.1
func EnrollmentTagHelp() string
EnrollmentTagHelp explains how to mark AI GPU servers in Tailscale.
func InstallInstructions ¶
func InstallInstructions() string
InstallInstructions returns platform-specific install instructions.
Types ¶
type Peer ¶
type Peer struct {
HostName string `json:"HostName"`
DNSName string `json:"DNSName"`
TailAddr string `json:"TailscaleIPs"` // parsed from array
IPs []string // parsed from TailscaleIPs
Online bool `json:"Online"`
OS string `json:"OS"`
Tags []string `json:"Tags"`
}
Peer represents a Tailscale peer device.
func (Peer) HighlightedTags ¶ added in v0.18.1
HighlightedTags returns Yokai-recognized tags in display order.
type Status ¶
type Status struct {
BackendState string `json:"BackendState"` // "Running", "Stopped", "NeedsLogin"
Self *statusPeer `json:"Self"`
Peers map[string]*statusPeer `json:"Peer"`
}
Status represents the result of `tailscale status --json`.
func (*Status) NeedsLogin ¶
NeedsLogin returns true if Tailscale needs authentication.
func (*Status) OnlinePeers ¶
OnlinePeers returns only peers that are currently online.
Click to show internal directories.
Click to hide internal directories.