mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-22 08:51:41 +00:00
ipn/ipnstate: update field docs on PeerStatus.
Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
parent
2f4df30c75
commit
89bd414be6
@ -186,10 +186,15 @@ type PeerStatus struct {
|
|||||||
ID tailcfg.StableNodeID
|
ID tailcfg.StableNodeID
|
||||||
PublicKey key.NodePublic
|
PublicKey key.NodePublic
|
||||||
HostName string // HostInfo's Hostname (not a DNS name or necessarily unique)
|
HostName string // HostInfo's Hostname (not a DNS name or necessarily unique)
|
||||||
|
|
||||||
|
// DNSName is the Peer's FQDN. It ends with a dot.
|
||||||
|
// It has the form "host.<MagicDNSSuffix>."
|
||||||
DNSName string
|
DNSName string
|
||||||
OS string // HostInfo.OS
|
OS string // HostInfo.OS
|
||||||
UserID tailcfg.UserID
|
UserID tailcfg.UserID
|
||||||
TailscaleIPs []netip.Addr // Tailscale IP(s) assigned to this node
|
|
||||||
|
// TailscaleIPs are the IP addresses assigned to the node.
|
||||||
|
TailscaleIPs []netip.Addr
|
||||||
|
|
||||||
// Tags are the list of ACL tags applied to this node.
|
// Tags are the list of ACL tags applied to this node.
|
||||||
// See tailscale.com/tailcfg#Node.Tags for more information.
|
// See tailscale.com/tailcfg#Node.Tags for more information.
|
||||||
@ -223,7 +228,15 @@ type PeerStatus struct {
|
|||||||
// change.
|
// change.
|
||||||
Active bool
|
Active bool
|
||||||
|
|
||||||
|
// PeerAPIURL are the URLs of the node's PeerAPI servers.
|
||||||
PeerAPIURL []string
|
PeerAPIURL []string
|
||||||
|
|
||||||
|
// Capabilities are capabilities that the node has.
|
||||||
|
// They're free-form strings, but should be in the form of URLs/URIs
|
||||||
|
// such as:
|
||||||
|
// "https://tailscale.com/cap/is-admin"
|
||||||
|
// "https://tailscale.com/cap/file-sharing"
|
||||||
|
// "funnel"
|
||||||
Capabilities []string `json:",omitempty"`
|
Capabilities []string `json:",omitempty"`
|
||||||
|
|
||||||
// SSH_HostKeys are the node's SSH host keys, if known.
|
// SSH_HostKeys are the node's SSH host keys, if known.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user