pkg/

directory
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: AGPL-3.0

Directories

Path Synopsis
auth
Package auth contains APIServer authentication helpers.
Package auth contains APIServer authentication helpers.
controllers
Package controllers implements Apoxy Control Plane-side controllers.
Package controllers implements Apoxy Control Plane-side controllers.
extensions
Package extensions implements extensions controllers.
Package extensions implements extensions controllers.
gateway
Package gateway implements Gateway API controllers.
Package gateway implements Gateway API controllers.
migration
Package migration holds one-shot storage migrations run at apiserver startup.
Package migration holds one-shot storage migrations run at apiserver startup.
policy
Package policy implements API Server policy controllers.
Package policy implements API Server policy controllers.
secretstore
Package secretstore implements the REST plumbing that makes SecretStore values write-only: a redacting wrapper that strips stored values from every main-resource response, a "values" subresource that is the single path through which values are written and (by internal identities only) read, and the authorizer gate that enforces the read restriction.
Package secretstore implements the REST plumbing that makes SecretStore values write-only: a redacting wrapper that strips stored values from every main-resource response, a "values" subresource that is the single path through which values are written and (by internal identities only) read, and the authorizer gate that enforces the read restriction.
backplane
logs
Package logs provides logging facilities for Envoy.
Package logs provides logging facilities for Envoy.
logs/logtail
Package logtail consumes log files and manages compaction using fallocate.
Package logtail consumes log files and manages compaction using fallocate.
metrics
Package metrics provides an HTTP handler for proxying metrics requests to specific upstream endpoints using net/http/httputil.ReverseProxy.
Package metrics provides an HTTP handler for proxying metrics requests to specific upstream endpoints using net/http/httputil.ReverseProxy.
otel
Package otel provides functionality for managing OpenTelemetry collector processes.
Package otel provides functionality for managing OpenTelemetry collector processes.
portforward
Package portforward watches a port on a ProxyReplica and forwards from a local port to the remote port on the ProxyReplica.
Package portforward watches a port on a ProxyReplica and forwards from a local port to the remote port on the ProxyReplica.
wasm/manifest
Package manifest implements Edge Function Manifest utilities.
Package manifest implements Edge Function Manifest utilities.
Package cert provides X.509 fingerprint helpers used by the CLI's cert subcommands.
Package cert provides X.509 fingerprint helpers used by the CLI's cert subcommands.
reload
Package reload provides hot-reloading of TLS keypairs that are rotated in place on disk (e.g.
Package reload provides hot-reloading of TLS keypairs that are rotated in place on disk (e.g.
clickhouse
migrations
Package migrations provides database migrations for ClickHouse.
Package migrations provides database migrations for ClickHouse.
cmd
compute
Package compute provides the `apoxy compute` command tree for managing compute.apoxy.dev objects: services and their revisions.
Package compute provides the `apoxy compute` command tree for managing compute.apoxy.dev objects: services and their revisions.
run
vpc
Package vpc provides the `apoxy vpc` command tree for managing vpc.apoxy.dev objects: networks, services, relays, and tunnels.
Package vpc provides the `apoxy vpc` command tree for managing vpc.apoxy.dev objects: networks, services, relays, and tunnels.
Package diag implements the agent-side debug surface that runs over the existing QUIC control channel to tunnelproxy.
Package diag implements the agent-side debug surface that runs over the existing QUIC control channel to tunnelproxy.
commands
Package commands holds the built-in diag commands.
Package commands holds the built-in diag commands.
protocol
Package protocol defines the wire format for the agent diag channel: nd-json frames over one long-lived HTTP/3 stream, demuxed by Id so multiple commands can interleave.
Package protocol defines the wire format for the agent diag channel: nd-json frames over one long-lived HTTP/3 stream, demuxed by Id so multiple commands can interleave.
Package drivers implements common interfaces and utilities for Apoxy service drivers
Package drivers implements common interfaces and utilities for Apoxy service drivers
controller
Package controller implements the edge function controller that manages per-namespace edge runtimes with multiple dynamically-loaded functions.
Package controller implements the edge function controller that manages per-namespace edge runtimes with multiple dynamically-loaded functions.
runc
Package runc implements container runtime based on OpenContainers libcontainer package.
Package runc implements container runtime based on OpenContainers libcontainer package.
runc/network/iptables
Package iptables container useful routines for manipulating iptables rules.
Package iptables container useful routines for manipulating iptables rules.
ir
xds/cache
This file contains code derived from Contour, https://github.com/projectcontour/contour from the source file https://github.com/projectcontour/contour/blob/main/internal/xds/v3/snapshotter.go and is provided here subject to the following: Copyright Project Contour Authors SPDX-License-Identifier: Apache-2.0
This file contains code derived from Contour, https://github.com/projectcontour/contour from the source file https://github.com/projectcontour/contour/blob/main/internal/xds/v3/snapshotter.go and is provided here subject to the following: Copyright Project Contour Authors SPDX-License-Identifier: Apache-2.0
xds/extensions
Import all Envoy filter types so they are registered and deserialization does not fail when using them in the "typed_config" attributes.
Import all Envoy filter types so they are registered and deserialization does not fail when using them in the "typed_config" attributes.
kube-controller
apiregistration
Package apiregistration handles Apoxy API service registration with Kubernetes API Aggregation
Package apiregistration handles Apoxy API service registration with Kubernetes API Aggregation
Package log provides logging routines based on slog package.
Package log provides logging routines based on slog package.
net
dns
dns/vpcdns
Package vpcdns is the serving core of the Apoxy VPC name plane: a CoreDNS plugin that answers, authoritatively, for names bound into a project's VPC (tunnel endpoints today, VPC-bound Services later) and passes everything else to the next plugin in the chain (typically cache -> upstream).
Package vpcdns is the serving core of the Apoxy VPC name plane: a CoreDNS plugin that answers, authoritatively, for names bound into a project's VPC (tunnel endpoints today, VPC-bound Services later) and passes everything else to the next plugin in the chain (typically cache -> upstream).
Package netns wraps the LockOSThread + setns + restore dance for running code — most notably dials — inside a named network namespace.
Package netns wraps the LockOSThread + setns + restore dance for running code — most notably dials — inside a named network namespace.
icx_network.go
icx_network.go
Package sandbox is the tenant-neutral gVisor/runsc sandbox runtime spine shared by apoxy's workerd host and the clrk agent worker.
Package sandbox is the tenant-neutral gVisor/runsc sandbox runtime spine shared by apoxy's workerd host and the clrk agent worker.
sentrystack
The InitStr envelope is pure JSON with no gvisor dependencies — leave it without a //go:build constraint so cross-platform unit tests can exercise Encode/Decode without pulling in linux-only gvisor packages.
The InitStr envelope is pure JSON with no gvisor dependencies — leave it without a //go:build constraint so cross-platform unit tests can exercise Encode/Decode without pulling in linux-only gvisor packages.
sentrystack/egressfwd
Package egressfwd installs the in-Sentry egress forwarders for compute-worker sandboxes — the APO-713 data path that makes a worker fetch() actually leave the box.
Package egressfwd installs the in-Sentry egress forwarders for compute-worker sandboxes — the APO-713 data path that makes a worker fetch() actually leave the box.
sentrystack/egresswire
Package egresswire is the pure wire framing shared by the two ends of the compute egress data path: the in-Sentry forwarder (pkg/sandbox/sentrystack/ egressfwd) writes the preamble, and the host egress bridge (pkg/workerd/host) reads it.
Package egresswire is the pure wire framing shared by the two ends of the compute egress data path: the in-Sentry forwarder (pkg/sandbox/sentrystack/ egressfwd) writes the preamble, and the host egress bridge (pkg/workerd/host) reads it.
agent
Package agent implements the tunnel agent: the client side of the vpc.apoxy.dev relay stack.
Package agent implements the tunnel agent: the client side of the vpc.apoxy.dev relay stack.
api
bfdl
Package bfdl implements a BFD-lite (RFC 5880 subset) protocol for application-level liveness detection between tunnel agents and the tunnelproxy server.
Package bfdl implements a BFD-lite (RFC 5880 subset) protocol for application-level liveness detection between tunnel agents and the tunnelproxy server.
conntrack
Package conntrack provides a lightweight TCP connection tracker that implements connection.PacketObserver.
Package conntrack provides a lightweight TCP connection tracker that implements connection.PacketObserver.
conntrackpc
Package conntrackpc provides a conntrack-style multiplexer for net.PacketConn, suitable for QUIC clients that want multiple "virtual" PacketConns over one UDP socket.
Package conntrackpc provides a conntrack-style multiplexer for net.PacketConn, suitable for QUIC clients that want multiple "virtual" PacketConns over one UDP socket.
dns
endpointselect
Package endpointselect provides endpoint selection strategies for tunnel connections.
Package endpointselect provides endpoint selection strategies for tunnel connections.
fasttun
Package fasttun implements a high-performance interface to Linux TUN devices with support for multi-queue and batched packet I/O.
Package fasttun implements a high-performance interface to Linux TUN devices with support for multi-queue and batched packet I/O.
ipalloc
Package ipalloc holds the relay-side, in-process connection address allocators for the vpc.apoxy.dev relay (APO-825 §2.8, where a slot is called a "block").
Package ipalloc holds the relay-side, in-process connection address allocators for the vpc.apoxy.dev relay (APO-825 §2.8, where a slot is called a "block").
net
vni
docker
Package docker implements Docker utils.
Package docker implements Docker utils.
vm
workerd
build
Package build turns a JS/TS project into a staged compute service bundle: esbuild runs in-process (wrangler-style: ESM output, workerd conditions) with a module-collector plugin that turns wasm/text/data imports into separate bundle modules instead of inlining them.
Package build turns a JS/TS project into a staged compute service bundle: esbuild runs in-process (wrangler-style: ESM output, workerd conditions) with a module-collector plugin that turns wasm/text/data imports into separate bundle modules instead of inlining them.
bundle
Package bundle packs, pushes, and stages compute service bundles: the OCI artifact shape the workerd data plane pulls (pkg/workerd/host).
Package bundle packs, pushes, and stages compute service bundles: the OCI artifact shape the workerd data plane pulls (pkg/workerd/host).
config
Package workerdconfig contains generated Go bindings for workerd's config schema.
Package workerdconfig contains generated Go bindings for workerd's config schema.
manager
Package manager implements the APO-796 ServiceManager: the control-plane Service->ServiceRevision minting reconciler (platform-neutral, this file) and the data-plane resident reconciler (resident_reconciler.go) that drives the workerd resident and publishes this node's serveable routing.
Package manager implements the APO-796 ServiceManager: the control-plane Service->ServiceRevision minting reconciler (platform-neutral, this file) and the data-plane resident reconciler (resident_reconciler.go) that drives the workerd resident and publishes this node's serveable routing.
names
Package names is the single owner of the workerd resident naming scheme.
Package names is the single owner of the workerd resident naming scheme.

Jump to

Keyboard shortcuts

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