pkg/

directory
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2026 License: Apache-2.0

Directories

Path Synopsis
Package policycore resolves Tailscale policy selectors against concrete values.
Package policycore resolves Tailscale policy selectors against concrete values.
addrspace
Package addrspace provides policy-agnostic address-space primitives for comparing route CIDRs and deriving site IDs from Tailscale 4via6 prefixes.
Package addrspace provides policy-agnostic address-space primitives for comparing route CIDRs and deriving site IDs from Tailscale 4via6 prefixes.
alpha
Package alpha is the shared convention for hand-modeling a Tailscale feature that is alpha or unreleased in the pinned tailscale.com/client/tailscale/v2 SDK, so a tool in this repo can pick up an alpha feature early instead of waiting for the SDK to catch up.
Package alpha is the shared convention for hand-modeling a Tailscale feature that is alpha or unreleased in the pinned tailscale.com/client/tailscale/v2 SDK, so a tool in this repo can pick up an alpha feature early instead of waiting for the SDK to catch up.
cliflags
Package cliflags adapts stdlib-flag-era command lines to pflag parsing.
Package cliflags adapts stdlib-flag-era command lines to pflag parsing.
hujsonedit
Package hujsonedit provides schema-agnostic, comment-preserving RFC 6902 edits to HuJSON documents: build PatchOperation values with PatchAdd, PatchRemove, PatchComment, and PatchCommentOverwrite, then apply them with WritePatch to a file or with PatchBytes to a document held in memory.
Package hujsonedit provides schema-agnostic, comment-preserving RFC 6902 edits to HuJSON documents: build PatchOperation values with PatchAdd, PatchRemove, PatchComment, and PatchCommentOverwrite, then apply them with WritePatch to a file or with PatchBytes to a document held in memory.
ipcalc
Package ipcalc provides policy-agnostic subnet arithmetic.
Package ipcalc provides policy-agnostic subnet arithmetic.
posture
Package posture evaluates Tailscale device-posture rule expressions against a captured device's facts.
Package posture evaluates Tailscale device-posture rule expressions against a captured device's facts.
sanitize
Package sanitize defines the repository-wide output-sanitization contract.
Package sanitize defines the repository-wide output-sanitization contract.
sanitize/sanitizetest
Package sanitizetest provides assertions for output-sanitization tests.
Package sanitizetest provides assertions for output-sanitization tests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL