Skip to content

Commit

Permalink
tailcfg: document peer node capability
Browse files Browse the repository at this point in the history
Updates tailscale/corp#17516

Signed-off-by: Claire Wang <claire@tailscale.com>
  • Loading branch information
clairew committed Mar 8, 2024
1 parent 74e33b9 commit 53e0a6a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tailcfg/tailcfg.go
Expand Up @@ -326,6 +326,9 @@ type Node struct {
// "https://tailscale.com/cap/file-sharing"
//
// Deprecated: use CapMap instead.
// CapMap and Capabilities are both ways for control to send metadata about a peer node.
// By accessing a self node's peers - a self node can check the peer's capabilities.
// Capabilities can be used to label information about a peer.
Capabilities []NodeCapability `json:",omitempty"`

// CapMap is a map of capabilities to their optional argument/data values.
Expand Down

0 comments on commit 53e0a6a

Please sign in to comment.