diff options
| author | Adriano Sela Aviles <adriano@tailscale.com> | 2026-04-13 08:59:28 -0700 |
|---|---|---|
| committer | Adriano Sela Aviles <adriano.selaviles@gmail.com> | 2026-04-13 14:36:48 -0700 |
| commit | 4ce16439295f5b3dd67b2993c6ff03d9f9060d8b (patch) | |
| tree | 0cb6162a41da16510aa16c9a07b2b03918e35bca /tailcfg | |
| parent | e2fa9ff140b9b1a65b2839cd0235bd506f0c6fc3 (diff) | |
| download | tailscale-4ce16439295f5b3dd67b2993c6ff03d9f9060d8b.tar.xz tailscale-4ce16439295f5b3dd67b2993c6ff03d9f9060d8b.zip | |
types/netmap,tailcfg: update documentation for Services cap
Updates tailscale/corp#40052
Signed-off-by: Adriano Sela Aviles <adriano@tailscale.com>
Diffstat (limited to 'tailcfg')
| -rw-r--r-- | tailcfg/tailcfg.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tailcfg/tailcfg.go b/tailcfg/tailcfg.go index bc3693dab..0811ecc9f 100644 --- a/tailcfg/tailcfg.go +++ b/tailcfg/tailcfg.go @@ -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/" ) |
