types/netmap,tailcfg: update documentation for Services cap

Updates tailscale/corp#40052

Signed-off-by: Adriano Sela Aviles <adriano@tailscale.com>
This commit is contained in:
Adriano Sela Aviles
2026-04-13 08:59:28 -07:00
committed by Adriano Sela Aviles
parent e2fa9ff140
commit 4ce1643929
2 changed files with 8 additions and 4 deletions
+4 -2
View File
@@ -2794,9 +2794,11 @@ const (
const (
// NodeAttrPrefixServices is the prefix for per-service [NodeCapMap]
// entries describing Services visible (accessible) to this node. The full
// key for a service named "svc:foo" is NodeAttrPrefixServices+"foo".
// entries describing Services visible (accessible) to this node.
// Each value under such a key is of type [ServiceDetails].
// The suffix after the prefix is an opaque server-chosen identifier;
// consumers must use [ServiceDetails.Name] as the canonical service name
// rather than parsing it from the map key.
NodeAttrPrefixServices NodeCapabilityPrefix = "services/"
)