Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
tnl
command
Command tnl is the client entry point for tnl.
|
Command tnl is the client entry point for tnl. |
|
tnld
command
Command tnld runs the tnl server daemon.
|
Command tnld runs the tnl server daemon. |
|
internal
|
|
|
benchworkload
Package benchworkload contains the publisher and visitor workloads shared by local runtime load tests.
|
Package benchworkload contains the publisher and visitor workloads shared by local runtime load tests. |
|
browserfonts
package browserfonts owns the bundled Fira Code assets used by tnl browser UI.
|
package browserfonts owns the bundled Fira Code assets used by tnl browser UI. |
|
browserpage
package browserpage owns tnl's standalone browser presentation.
|
package browserpage owns tnl's standalone browser presentation. |
|
client/auth
package clientauth separates ordinary authenticated requests from explicit login.
|
package clientauth separates ordinary authenticated requests from explicit login. |
|
client/authority
Package authorityclient calls the authority API.
|
Package authorityclient calls the authority API. |
|
client/control
Package controlclient calls the tnl control API.
|
Package controlclient calls the tnl control API. |
|
client/detached
package detached owns socket-bound child processes shared by publishers and connectors.
|
package detached owns socket-bound child processes shared by publishers and connectors. |
|
client/filelock
Package filelock acquires user-owned, mode-0600 regular lock files on Unix.
|
Package filelock acquires user-owned, mode-0600 regular lock files on Unix. |
|
client/project
package project selects and evaluates project configuration, including TypeScript files.
|
package project selects and evaluates project configuration, including TypeScript files. |
|
client/project/githubmetadata
package githubmetadata resolves immutable repository metadata during trusted apply.
|
package githubmetadata resolves immutable repository metadata during trusted apply. |
|
client/project/init
package projectinit owns project initialization planning, safe edits, and project-local dependency installation.
|
package projectinit owns project initialization planning, safe edits, and project-local dependency installation. |
|
client/project/meta
Package projectmeta validates and writes browser-safe project metadata.
|
Package projectmeta validates and writes browser-safe project metadata. |
|
client/project/resolve
package resolve composes project selection with client state and current server facts.
|
package resolve composes project selection with client state and current server facts. |
|
client/project/sourcestate
package sourcestate records bounded Git identifiers without saving source files.
|
package sourcestate records bounded Git identifiers without saving source files. |
|
client/project/workloadmanifest
package workloadmanifest owns the nonsecret build-to-runtime workload context.
|
package workloadmanifest owns the nonsecret build-to-runtime workload context. |
|
client/project/workloadsetup
package workloadsetup owns trusted workload setup and stable provider bindings.
|
package workloadsetup owns trusted workload setup and stable provider bindings. |
|
client/server
package clientserver selects the control URL shared by native clients.
|
package clientserver selects the control URL shared by native clients. |
|
client/state
package clientstate owns fresh v1 SQLite state, authenticated secret storage, and the transactional project journal shared by apps and publications.
|
package clientstate owns fresh v1 SQLite state, authenticated secret storage, and the transactional project journal shared by apps and publications. |
|
client/state/certificatestore
package certificatestore owns durable publisher certificate transitions.
|
package certificatestore owns durable publisher certificate transitions. |
|
client/telemetry
package telemetry owns optional native client collection and delivery.
|
package telemetry owns optional native client collection and delivery. |
|
cliflags
Package cliflags binds typed settings to pflag.
|
Package cliflags binds typed settings to pflag. |
|
clioutput
Package clioutput renders stable human-readable CLI diagrams.
|
Package clioutput renders stable human-readable CLI diagrams. |
|
config
Package config defines the versioned YAML and JSON configuration format.
|
Package config defines the versioned YAML and JSON configuration format. |
|
config/cmd/configgen
command
|
|
|
connector/kubeconfig
package kubeconfig prepares owned contexts without selecting a global context.
|
package kubeconfig prepares owned contexts without selecting a global context. |
|
connector/runtime
package connectionruntime owns one bounded connector session and its private local IPC.
|
package connectionruntime owns one bounded connector session and its private local IPC. |
|
connector/session
package session composes in-memory deployment connector authority and sessions.
|
package session composes in-memory deployment connector authority and sessions. |
|
connector/stream
package stream owns connector service preparation, local listeners and stream use.
|
package stream owns connector service preparation, local listeners and stream use. |
|
connector/workload
package workloadclient is the connector visitor authentication adapter for a provider workload.
|
package workloadclient is the connector visitor authentication adapter for a provider workload. |
|
control/api/authority
Package authorityapi serves the built-in authority HTTP API.
|
Package authorityapi serves the built-in authority HTTP API. |
|
control/api/private/ingress
Package ingressapi serves control's private API for ingress processes.
|
Package ingressapi serves control's private API for ingress processes. |
|
control/api/private/relay
Package relayapi serves control's private API for relay processes.
|
Package relayapi serves control's private API for relay processes. |
|
control/api/public
package public adapts control API requests and performs request preflight.
|
package public adapts control API requests and performs request preflight. |
|
control/api/serviceaccess
Package serviceaccess projects the existing exact-service access records for both the control-session API and the signed-human authority bridge.
|
Package serviceaccess projects the existing exact-service access records for both the control-session API and the signed-human authority bridge. |
|
control/certificates
Package certificates uses ACME to issue service and relay transport certificates.
|
Package certificates uses ACME to issue service and relay transport certificates. |
|
control/certificates/visitor
package visitorcert owns control's client-certificate issuer.
|
package visitorcert owns control's client-certificate issuer. |
|
control/dns
Package dnscontroller applies persistent DNS changes requested by control.
|
Package dnscontroller applies persistent DNS changes requested by control. |
|
control/email
package emaildelivery sends queued invitation emails to a mailer.
|
package emaildelivery sends queued invitation emails to a mailer. |
|
control/oidc
package oidcauth implements control-owned standard OIDC authentication.
|
package oidcauth implements control-owned standard OIDC authentication. |
|
control/proxy
package controlproxy admits HTTP requests from an explicitly trusted HTTPS terminator.
|
package controlproxy admits HTTP requests from an explicitly trusted HTTPS terminator. |
|
control/state
package state owns control's durable authorization and state transitions in PostgreSQL, not just database access.
|
package state owns control's durable authorization and state transitions in PostgreSQL, not just database access. |
|
control/storagekey
Package storagekey encrypts recoverable secrets stored by control.
|
Package storagekey encrypts recoverable secrets stored by control. |
|
control/webhooks
package webhookcatalog resolves bounded provider sender policies for control.
|
package webhookcatalog resolves bounded provider sender policies for control. |
|
daemon/config
Package tnldconfig loads and validates tnld process configuration.
|
Package tnldconfig loads and validates tnld process configuration. |
|
development/dns/cmd/dnsdev
command
dnsdev is a disposable, in-memory Route 53 wire fixture and authoritative DNS server for local development.
|
dnsdev is a disposable, in-memory Route 53 wire fixture and authoritative DNS server for local development. |
|
development/oidc
Package devoidc is a local development OIDC provider.
|
Package devoidc is a local development OIDC provider. |
|
development/oidc/cmd/oidcdev
command
|
|
|
failure
package failure defines shared error reasons, retry policies, and safe messages.
|
package failure defines shared error reasons, retry policies, and safe messages. |
|
failure/cmd/cataloggen
command
|
|
|
failure/diagnostic
Code generated by scripts/generate/diagnostic-codes.ts.
|
Code generated by scripts/generate/diagnostic-codes.ts. |
|
failure/problem
Package problemtype defines canonical API problem type URIs.
|
Package problemtype defines canonical API problem type URIs. |
|
httpclient
Package httpclient contains shared HTTP client policy for internal clients.
|
Package httpclient contains shared HTTP client policy for internal clients. |
|
httpjson
Package httpjson reads and writes size-limited JSON.
|
Package httpjson reads and writes size-limited JSON. |
|
ingress
package ingress accepts public visitor connections and forwards each to one eligible publisher path using current service admission and connected relays.
|
package ingress accepts public visitor connections and forwards each to one eligible publisher path using current service admission and connected relays. |
|
ingress/clienthello
Package router reads a size-limited TLS ClientHello and preserves every byte so the connection can replay it.
|
Package router reads a size-limited TLS ClientHello and preserves every byte so the connection can replay it. |
|
installed
package installed owns installed publisher and connector job definitions, operating-system service setup, reconciliation, supervision, and joined stop.
|
package installed owns installed publisher and connector job definitions, operating-system service setup, reconciliation, supervision, and joined stop. |
|
naming
Package naming defines public-hostname rules used by control and ingress.
|
Package naming defines public-hostname rules used by control and ingress. |
|
naming/ingresspool
package ingresspool names the public ingress-address placement boundary.
|
package ingresspool names the public ingress-address placement boundary. |
|
naming/opaqueid
Package opaqueid creates and validates prefixed, cryptographically random identifiers.
|
Package opaqueid creates and validates prefixed, cryptographically random identifiers. |
|
naming/tcpport
package tcpport defines network TCP port bounds.
|
package tcpport defines network TCP port bounds. |
|
observability
package observability owns tnl's OTel instruments, process-scoped metrics and trace providers, bounded optional OTLP/HTTPS export, and Prometheus exposition.
|
package observability owns tnl's OTel instruments, process-scoped metrics and trace providers, bounded optional OTLP/HTTPS export, and Prometheus exposition. |
|
observability/cmd/vocabulary
command
|
|
|
observability/operatorlog
Package operatorlog presents typed failures in compact one-line tnld logs.
|
Package operatorlog presents typed failures in compact one-line tnld logs. |
|
observability/serviceaudit
package serviceaudit defines the allowlisted service audit boundary.
|
package serviceaudit defines the allowlisted service audit boundary. |
|
policy/applicationlimits
package applicationlimits owns validation shared by control and publishers.
|
package applicationlimits owns validation shared by control and publishers. |
|
policy/authorization
package authorization holds current control authorization errors and IP rules.
|
package authorization holds current control authorization errors and IP rules. |
|
policy/controloutage
package controloutage defines the operator's serving allowance and converts authenticated control observations to conservative local deadlines.
|
package controloutage defines the operator's serving allowance and converts authenticated control observations to conservative local deadlines. |
|
policy/ippolicy
package ippolicy verifies allowed CIDRs without exposing their network addresses.
|
package ippolicy verifies allowed CIDRs without exposing their network addresses. |
|
policy/publisherprovenance
package publisherprovenance validates publisher-reported deployment metadata.
|
package publisherprovenance validates publisher-reported deployment metadata. |
|
policy/serviceendpoint
package serviceendpoint validates service address facts shared by control, publishers, connectors, and project metadata.
|
package serviceendpoint validates service address facts shared by control, publishers, connectors, and project metadata. |
|
policy/target
package target validates target origins and path prefixes without network I/O.
|
package target validates target origins and path prefixes without network I/O. |
|
policy/tcptarget
package tcptarget validates the TCP target address used by a publisher.
|
package tcptarget validates the TCP target address used by a publisher. |
|
policy/trafficlimits
package trafficlimits defines process-local encrypted visitor traffic budgets.
|
package trafficlimits defines process-local encrypted visitor traffic budgets. |
|
policy/visitorlease
package visitorlease owns one scope's local visitor-policy deadline and the admissions using it.
|
package visitorlease owns one scope's local visitor-policy deadline and the admissions using it. |
|
policy/visitorscope
package visitorscope names the exact resource authorized by a visitor permission.
|
package visitorscope names the exact resource authorized by a visitor permission. |
|
policy/visitorsubject
package visitorsubject converts the tagged visitor principal at HTTP boundaries.
|
package visitorsubject converts the tagged visitor principal at HTTP boundaries. |
|
publisher/adhoc
package adhoc owns temporary HTTP service allocation, publication, and cleanup.
|
package adhoc owns temporary HTTP service allocation, publication, and cleanup. |
|
publisher/app
package clientruntime owns local app registration and publication observations.
|
package clientruntime owns local app registration and publication observations. |
|
publisher/demo
package demo serves a small local HTTP app for trying a public URL.
|
package demo serves a small local HTTP app for trying a public URL. |
|
publisher/deployment
package grouppublisher reconciles one signed deployment-publisher replica.
|
package grouppublisher reconciles one signed deployment-publisher replica. |
|
publisher/httpaccess
package httpaccess owns run-bound visitor policy refresh, browser handoffs, token renewal, cookie handling, and local HTTP authorization.
|
package httpaccess owns run-bound visitor policy refresh, browser handoffs, token renewal, cookie handling, and local HTTP authorization. |
|
publisher/identity/credentialfile
package credentialfile stores a portable publisher key and its exact grant.
|
package credentialfile stores a portable publisher key and its exact grant. |
|
publisher/identity/publishingtest
package publishingtest exercises service-only native clients against signed enrollment exchanges, exact service runs, and real publisher WSS/yamux streams.
|
package publishingtest exercises service-only native clients against signed enrollment exchanges, exact service runs, and real publisher WSS/yamux streams. |
|
publisher/integrations
package integrations maintains project integration services on this machine.
|
package integrations maintains project integration services on this machine. |
|
publisher/local
package local owns the project-scoped local publisher process and its API.
|
package local owns the project-scoped local publisher process and its API. |
|
publisher/localapi
package localpublisher owns the private HTTP boundary for one native project owner.
|
package localpublisher owns the private HTTP boundary for one native project owner. |
|
publisher/localapi/protocol
package privateprotocol owns the bounded, machine-local SDK protocol.
|
package privateprotocol owns the bounded, machine-local SDK protocol. |
|
publisher/processidentity
package processidentity binds one deployed publisher process to its signed identity and control lease.
|
package processidentity binds one deployed publisher process to its signed identity and control lease. |
|
publisher/proxy
package proxy forwards one public hostname to local HTTP or HTTPS targets.
|
package proxy forwards one public hostname to local HTTP or HTTPS targets. |
|
publisher/requestlimit
package requestlimit owns each publish or service run's HTTP request budget.
|
package requestlimit owns each publish or service run's HTTP request budget. |
|
publisher/service
package service owns a saved service run: preparation, certificates, two publisher connection slots, heartbeats, connector peers, and joined cleanup.
|
package service owns a saved service run: preparation, certificates, two publisher connection slots, heartbeats, connector peers, and joined cleanup. |
|
publisher/service/stream
package stream owns one service visitor's TLS and target-forwarding lifetime.
|
package stream owns one service visitor's TLS and target-forwarding lifetime. |
|
publisher/setup
package setup owns durable deployment signing identity provisioning.
|
package setup owns durable deployment signing identity provisioning. |
|
publisher/target
package publishertarget discovers exact, worktree-scoped private listeners.
|
package publishertarget discovers exact, worktree-scoped private listeners. |
|
publisher/target/discovery
package targetdiscovery resolves cloud targets in the publisher's credential and network boundary.
|
package targetdiscovery resolves cloud targets in the publisher's credential and network boundary. |
|
publisher/target/kubernetes
package kubernetes owns native Kubernetes request semantics, not tunnel transport.
|
package kubernetes owns native Kubernetes request semantics, not tunnel transport. |
|
publisher/toolbar
Package feedbacktoolbar serves the versioned development-only browser script.
|
Package feedbacktoolbar serves the versioned development-only browser script. |
|
region
package region owns provider-qualified deployment identities and their geographic metadata.
|
package region owns provider-qualified deployment identities and their geographic metadata. |
|
relay
package relay owns authenticated publisher connections, local reservations, connector delivery, and visitor streams for one leased relay process.
|
package relay owns authenticated publisher connections, local reservations, connector delivery, and visitor streams for one leased relay process. |
|
security/credentials
Package credentials creates and validates typed credentials.
|
Package credentials creates and validates typed credentials. |
|
security/publisherproof
package publisheridentity owns publisher-held Ed25519 proofs.
|
package publisheridentity owns publisher-held Ed25519 proofs. |
|
security/rdsroots
package rdsroots owns the pinned, regional Amazon RDS root trust library.
|
package rdsroots owns the pinned, regional Amazon RDS root trust library. |
|
security/rdsroots/cmd/update
command
command update refreshes the vendored public certificate data.
|
command update refreshes the vendored public certificate data. |
|
security/targettrust
package targettrust captures public CA material for publisher-to-target TLS.
|
package targettrust captures public CA material for publisher-to-target TLS. |
|
security/tlspolicy
package tlspolicy owns TLS key-agreement requirements shared by native transports and publisher visitor TLS.
|
package tlspolicy owns TLS key-agreement requirements shared by native transports and publisher visitor TLS. |
|
security/visitorcert
package visitorcert owns shared client-certificate rules.
|
package visitorcert owns shared client-certificate rules. |
|
security/visitortoken
package visitortoken owns the signed visitor credential and local verification.
|
package visitortoken owns the signed visitor credential and local verification. |
|
security/workloadproof
package workloadproof defines native workload key-possession proofs.
|
package workloadproof defines native workload key-possession proofs. |
|
serverhttp
package serverhttp owns shared server HTTP mechanics: bounded JSON requests, problem responses, control cookies, and private cluster bearer authentication.
|
package serverhttp owns shared server HTTP mechanics: bounded JSON requests, problem responses, control cookies, and private cluster bearer authentication. |
|
testutil/certificatetest
package certificatetest supplies private test CA chains without installing machine trust.
|
package certificatetest supplies private test CA chains without installing machine trust. |
|
testutil/controltest
Package controltest creates named OIDC session fixtures for tests whose boundary is authorization or publishing.
|
Package controltest creates named OIDC session fixtures for tests whose boundary is authorization or publishing. |
|
testutil/deploymentdiscovery
package deploymentdiscovery supplies local signed control/AWS HTTPS boundaries and a verified EKS TLS target.
|
package deploymentdiscovery supplies local signed control/AWS HTTPS boundaries and a verified EKS TLS target. |
|
testutil/githubtest
package githubtest serves signed GitHub workload fixtures without allowing tests to substitute a production issuer or contact GitHub.
|
package githubtest serves signed GitHub workload fixtures without allowing tests to substitute a production issuer or contact GitHub. |
|
testutil/ipdigest
package ipdigest supplies deterministic exact-IP digests for policy fixtures.
|
package ipdigest supplies deterministic exact-IP digests for policy fixtures. |
|
testutil/managedcert
package managedcert replaces only the external CA exchange in state tests.
|
package managedcert replaces only the external CA exchange in state tests. |
|
testutil/projectinit
package projectinittest supplies project fixtures for init operation and command presentation tests.
|
package projectinittest supplies project fixtures for init operation and command presentation tests. |
|
testutil/relayslots
Package relayslots declares the exact processes authorized by a test topology.
|
Package relayslots declares the exact processes authorized by a test topology. |
|
testutil/visitorfixture
package visitorfixture also supplies the authority-side HTTP session fixture.
|
package visitorfixture also supplies the authority-side HTTP session fixture. |
|
testutil/visitorpolicy
package visitorpolicy supplies bounded generated-wire fixtures for policy HTTP and publisher consumer tests.
|
package visitorpolicy supplies bounded generated-wire fixtures for policy HTTP and publisher consumer tests. |
|
testutil/workerobservation
package workerobservation records actual worker spans and operator diagnostics through a process-owned exporter and a local HTTPS collector.
|
package workerobservation records actual worker spans and operator diagnostics through a process-owned exporter and a local HTTPS collector. |
|
transport/httpstream
package httpstream serves HTTP over one already-selected upstream connection.
|
package httpstream serves HTTP over one already-selected upstream connection. |
|
transport/muxsession
Package muxsession carries multiplexed byte streams over supported transports.
|
Package muxsession carries multiplexed byte streams over supported transports. |
|
transport/peer
package peer owns packet delivery for one end-to-end QUIC session.
|
package peer owns packet delivery for one end-to-end QUIC session. |
|
transport/proxyproto
Package proxyproto implements tnl's strict PROXY protocol v2 boundary.
|
Package proxyproto implements tnl's strict PROXY protocol v2 boundary. |
|
transport/streamcopy
Package streamcopy copies bytes in both directions and preserves half-closes.
|
Package streamcopy copies bytes in both directions and preserves half-closes. |
|
transport/targettransport
package targettransport owns publisher-to-target negotiation.
|
package targettransport owns publisher-to-target negotiation. |
|
transport/tunnel
Package tunnel runs tunnelv1 sessions over supported transports.
|
Package tunnel runs tunnelv1 sessions over supported transports. |
|
workerloop
Package workerloop schedules bounded background-work iterations.
|
Package workerloop schedules bounded background-work iterations. |
|
packages
|
|
|
ts/wasm
command
|
|
|
pkg
|
|
|
api/control/authority/v1
Package authorityv1 provides primitives to interact with the openapi HTTP API.
|
Package authorityv1 provides primitives to interact with the openapi HTTP API. |
|
api/control/private/ingress/v1
Package ingressv1 provides primitives to interact with the openapi HTTP API.
|
Package ingressv1 provides primitives to interact with the openapi HTTP API. |
|
api/control/private/relay/v1
Package relayv1 provides primitives to interact with the openapi HTTP API.
|
Package relayv1 provides primitives to interact with the openapi HTTP API. |
|
api/control/public/v1
Package controlv1 provides primitives to interact with the openapi HTTP API.
|
Package controlv1 provides primitives to interact with the openapi HTTP API. |
|
api/integrations/telemetry/v1
Package telemetryv1 provides primitives to interact with the openapi HTTP API.
|
Package telemetryv1 provides primitives to interact with the openapi HTTP API. |
|
api/publisher/browser/v1
Package publisherv1 provides primitives to interact with the openapi HTTP API.
|
Package publisherv1 provides primitives to interact with the openapi HTTP API. |
|
api/publisher/local/v1
Package localpublisherv1 provides primitives to interact with the openapi HTTP API.
|
Package localpublisherv1 provides primitives to interact with the openapi HTTP API. |
|
protocol/tunnelv1
Package tunnelv1 defines messages for publisher connections and visitor streams.
|
Package tunnelv1 defines messages for publisher connections and visitor streams. |
|
tnl
package tnl publishes an application-owned HTTP handler as an ephemeral service.
|
package tnl publishes an application-owned HTTP handler as an ephemeral service. |
|
tests
|
|
|
integration/fixtures/compose-publisher
command
this disposable app gives each Compose container a distinct HTTP response.
|
this disposable app gives each Compose container a distinct HTTP response. |
Click to show internal directories.
Click to hide internal directories.