headscale/hscontrol/types
Kristoffer Dalby 4cca63155d
Some checks are pending
Build / build-nix (push) Waiting to run
Build / build-cross (GOARCH=amd64 GOOS=darwin) (push) Waiting to run
Build / build-cross (GOARCH=amd64 GOOS=linux) (push) Waiting to run
Build / build-cross (GOARCH=arm64 GOOS=darwin) (push) Waiting to run
Build / build-cross (GOARCH=arm64 GOOS=linux) (push) Waiting to run
Check Generated Files / check-generated (push) Waiting to run
Build (main) / container (push) Waiting to run
Build (main) / binaries (amd64, darwin) (push) Waiting to run
Build (main) / binaries (amd64, linux) (push) Waiting to run
Build (main) / binaries (arm64, darwin) (push) Waiting to run
Build (main) / binaries (arm64, linux) (push) Waiting to run
NixOS Module Tests / nix-module-check (push) Waiting to run
Tests / test (push) Waiting to run
all: apply godoc [Name] link conventions across comments
Every Go-identifier reference in // and /* */ comments now uses
godoc's [Name] linking syntax so pkg.go.dev and `go doc` render
them as clickable cross-references. No behaviour change.

Pattern applied across the tree:
  In-package         [Foo], [Foo.Bar]
  Cross-package      [pkg.Foo], [pkg.Foo.Bar]
  Stdlib             [netip.Prefix], [errors.Is], [context.Context]
  Tailscale          [tailcfg.MapResponse], [tailcfg.Node.CapMap],
                     [tailcfg.NodeAttrSuggestExitNode]

Skip rules:
  - File:line refs left as plain text
  - HuJSON wire keys inside backtick raw strings untouched
  - ACL/policy syntax tokens (tag:foo, autogroup:self, ...) not Go
    symbols, left as plain text
  - JSON/OIDC wire keys, gorm tags, RFC IPv6 placeholders, markdown
    link tags, decorative dividers — all left as-is
2026-05-19 09:55:22 +02:00
..
change all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
testcapture all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
testdata Restore support for "Override local DNS" (#2438) 2025-04-17 17:16:59 +02:00
api_key.go all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
common.go all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
common_test.go all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
config.go all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
config_test.go all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
const.go improve testing of route failover logic 2024-04-15 12:31:53 +02:00
debug_routes.go types: move DebugRoutes from routes to types 2026-04-29 18:08:39 +01:00
main_test.go all: fix test flakiness and improve test infrastructure 2026-03-14 02:52:28 -07:00
node.go all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
node_benchmark_test.go types: avoid NodeView clone in CanAccess 2026-02-26 19:15:07 -08:00
node_tags_test.go all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
node_test.go all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
policy.go feat: implements apis for managing headscale policy (#1792) 2024-07-18 07:38:25 +02:00
preauth_key.go all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
preauth_key_test.go all: upgrade to Go 1.26rc2 and modernize codebase 2026-02-08 12:35:23 +01:00
registration.go all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
routes.go all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
slices.go all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
testlog.go all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
types_clone.go types: persist Node JSON slices via named IsZero types 2026-05-15 11:21:58 +02:00
types_view.go all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
users.go all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
users_test.go oidc: handle groups claim as string or array (FlexibleStringSlice) 2026-05-04 15:26:53 +02:00
version.go all: apply formatter changes 2026-04-13 17:23:47 +01:00