Documentation
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
dev
command
cmd/dev starts a local headscale development server with a pre-created user and pre-auth key, ready for connecting tailscale nodes via mts.
|
cmd/dev starts a local headscale development server with a pre-created user and pre-auth key, ready for connecting tailscale nodes via mts. |
|
headscale
command
|
|
|
hi
command
|
|
|
mapresponses
command
|
|
|
vendorhash
command
vendorhash maintains the Nix SRI hash for the Go module vendor tree and stores it in flakehashes.json alongside a content fingerprint of go.mod and go.sum.
|
vendorhash maintains the Nix SRI hash for the Go module vendor tree and stores it in flakehashes.json alongside a content fingerprint of go.mod and go.sum. |
|
gen
|
|
|
go/headscale/v1
Package v1 is a reverse proxy.
|
Package v1 is a reverse proxy. |
|
nolint
|
nolint |
|
assets
Package assets provides embedded static assets for Headscale.
|
Package assets provides embedded static assets for Headscale. |
|
db/sqliteconfig
Package sqliteconfig provides type-safe configuration for SQLite databases with proper enum validation and URL generation for modernc.org/sqlite driver.
|
Package sqliteconfig provides type-safe configuration for SQLite databases with proper enum validation and URL generation for modernc.org/sqlite driver. |
|
policy/policyutil
Package policyutil contains pure functions that transform compiled policy rules for a specific node.
|
Package policyutil contains pure functions that transform compiled policy rules for a specific node. |
|
servertest
Package servertest provides an in-process test harness for Headscale's control plane.
|
Package servertest provides an in-process test harness for Headscale's control plane. |
|
types/change
Package change declares the Change type: a compact description of what must land in a tailcfg.MapResponse.
|
Package change declares the Change type: a compact description of what must land in a tailcfg.MapResponse. |
|
types/testcapture
Package testcapture defines the on-disk format used by Headscale's policy v2 compatibility tests for golden data captured from a Tailscale-hosted control plane by an external capture tool.
|
Package testcapture defines the on-disk format used by Headscale's policy v2 compatibility tests for golden data captured from a Tailscale-hosted control plane by an external capture tool. |
|
util/zlog
Package zlog provides zerolog utilities for safe and consistent logging.
|
Package zlog provides zerolog utilities for safe and consistent logging. |
|
util/zlog/zf
Package zf provides zerolog field name constants for consistent logging.
|
Package zf provides zerolog field name constants for consistent logging. |
|
tsric
Package tsric provides a TailscaleRustInContainer (tsric) implementation that runs the tailscale-rs axum example inside a Docker container for integration testing with headscale.
|
Package tsric provides a TailscaleRustInContainer (tsric) implementation that runs the tailscale-rs axum example inside a Docker container for integration testing with headscale. |
|
wasmic/wasmclient
command
This package only does something when built for GOOS=js (see main.go).
|
This package only does something when built for GOOS=js (see main.go). |
|
tools
|
|
|
capver
command
|
Click to show internal directories.
Click to hide internal directories.
