Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
command
|
|
|
cmd
command
|
|
|
Package cluster demonstrates the Cluster Extension point.
|
Package cluster demonstrates the Cluster Extension point. |
|
cmd
command
|
|
|
Package clusterasyncrouter demonstrates body-driven upstream selection using the async ClusterLBCompletion pattern documented at docs/envoy-dynamic-module-upstream-selection.md (lines 154–235).
|
Package clusterasyncrouter demonstrates body-driven upstream selection using the async ClusterLBCompletion pattern documented at docs/envoy-dynamic-module-upstream-selection.md (lines 154–235). |
|
cmd
command
|
|
|
Package clusterdfp demonstrates model-based upstream selection with the Cluster Extension.
|
Package clusterdfp demonstrates model-based upstream selection with the Cluster Extension. |
|
cmd
command
|
|
|
Package clusterfilterstate demonstrates passing filter state from an HTTP filter to a Cluster Extension.
|
Package clusterfilterstate demonstrates passing filter state from an HTTP filter to a Cluster Extension. |
|
cmd
command
|
|
|
Package clustergroup demonstrates how to use up.BaseCluster, up.ClusterGroup, and up.RunRetry together to build a cluster extension that discovers upstream hosts from an external source at runtime.
|
Package clustergroup demonstrates how to use up.BaseCluster, up.ClusterGroup, and up.RunRetry together to build a cluster extension that discovers upstream hosts from an external source at runtime. |
|
cmd
command
|
|
|
Package clusterleastconn demonstrates the Cluster Extension point with a least-connections load balancer.
|
Package clusterleastconn demonstrates the Cluster Extension point with a least-connections load balancer. |
|
cmd
command
|
|
|
Package clusterrouter demonstrates request-aware host selection with a Cluster Extension plus upstream request shaping from Go.
|
Package clusterrouter demonstrates request-aware host selection with a Cluster Extension plus upstream request shaping from Go. |
|
cmd
command
|
|
|
Package clustershardrouter demonstrates request-aware shard selection with a Cluster Extension plus upstream request shaping from Go.
|
Package clustershardrouter demonstrates request-aware shard selection with a Cluster Extension plus upstream request shaping from Go. |
|
cmd
command
|
|
|
cmd
command
|
|
|
Package grpc_callout demonstrates using up.GRPCCallout to call a rate-limit service (envoy.service.ratelimit.v3.RateLimitService/ShouldRateLimit) from a request body handler.
|
Package grpc_callout demonstrates using up.GRPCCallout to call a rate-limit service (envoy.service.ratelimit.v3.RateLimitService/ShouldRateLimit) from a request body handler. |
|
cmd
command
|
|
|
cmd
command
|
|
|
cmd
command
|
|
|
Package main demonstrates how to wire HostSet and HostRefreshLoop together.
|
Package main demonstrates how to wire HostSet and HostRefreshLoop together. |
|
internal
|
|
|
e2etest
Package e2etest holds the small bits of Envoy e2e harness code that every example otherwise ends up copying.
|
Package e2etest holds the small bits of Envoy e2e harness code that every example otherwise ends up copying. |
|
otelsink
Package otelsink provides an in-memory OTLP gRPC receiver (logs, metrics, traces) for e2e tests.
|
Package otelsink provides an in-memory OTLP gRPC receiver (logs, metrics, traces) for e2e tests. |
|
cmd
command
|
|
|
Package lbpolicy demonstrates the LB Policy extension point: Envoy manages the host set via static config or EDS; the module only implements ChooseHost.
|
Package lbpolicy demonstrates the LB Policy extension point: Envoy manages the host set via static config or EDS; the module only implements ChooseHost. |
|
cmd
command
|
|
|
cmd
command
|
|
|
Package lbpolicymetadataroute demonstrates capability-based routing using Envoy endpoint filter_metadata.
|
Package lbpolicymetadataroute demonstrates capability-based routing using Envoy endpoint filter_metadata. |
|
cmd
command
|
|
|
Package lbpolicyretryaware demonstrates the LB Policy extension point with a retry-aware selection strategy.
|
Package lbpolicyretryaware demonstrates the LB Policy extension point with a retry-aware selection strategy. |
|
cmd
command
|
|
|
cmd
command
|
|
|
cmd
command
|
|
|
cmd
command
|
|
|
modules/alacarte
command
|
|
|
modules/combo
command
|
|
|
Package metadata demonstrates metadata-driven routing: an HTTP filter reads static route filter_metadata, writes the tier to dynamic metadata for access logs, and passes the tier via filter state so the Cluster Extension can pick the correct upstream host.
|
Package metadata demonstrates metadata-driven routing: an HTTP filter reads static route filter_metadata, writes the tier to dynamic metadata for access logs, and passes the tier via filter state so the Cluster Extension can pick the correct upstream host. |
|
cmd
command
|
|
|
Package observability is a Transit Envoy dynamic module example that demonstrates observability via the active tracing span (OTEL export path) and dynamic metadata for access logs.
|
Package observability is a Transit Envoy dynamic module example that demonstrates observability via the active tracing span (OTEL export path) and dynamic metadata for access logs. |
|
cmd
command
|
|
|
spike
command
Monitor OTLP metrics, logs, and traces for investigation.
|
Monitor OTLP metrics, logs, and traces for investigation. |
|
Package requestui is a transit filter that records every request and response into a Postgres database (or in-memory ring buffer) and serves a near-realtime web UI.
|
Package requestui is a transit filter that records every request and response into a Postgres database (or in-memory ring buffer) and serves a near-realtime web UI. |
|
cmd
command
Package main builds the request-ui dynamic module.
|
Package main builds the request-ui dynamic module. |
|
cmd/simulate
command
simulate feeds synthetic request records into the request-ui sink so you can see the UI working without Envoy or Docker Compose.
|
simulate feeds synthetic request records into the request-ui sink so you can see the UI working without Envoy or Docker Compose. |
|
e2e/testserver
command
testserver is a minimal HTTP backend for request-ui e2e tests.
|
testserver is a minimal HTTP backend for request-ui e2e tests. |
|
sink
Package sink provides a request log store with an SSE broadcaster and a JSON HTTP API for the request-ui example.
|
Package sink provides a request log store with an SSE broadcaster and a JSON HTTP API for the request-ui example. |
|
Package spa demonstrates serving a Vite + React SPA directly from an Envoy dynamic module — no file system access, no separate web server.
|
Package spa demonstrates serving a Vite + React SPA directly from an Envoy dynamic module — no file system access, no separate web server. |
|
cmd
command
|
|
|
Package ssetap taps an SSE response stream to extract LLM token usage without buffering the full body.
|
Package ssetap taps an SSE response stream to extract LLM token usage without buffering the full body. |
|
cmd
command
|
|
|
tiered-single-envoy
|
|
|
cmd
command
Package main renders envoy.tmpl.yaml with default ports for manual inspection.
|
Package main renders envoy.tmpl.yaml with default ports for manual inspection. |
|
Package tracepropagation is a Transit Envoy dynamic module example that demonstrates W3C trace context propagation through a full four-hop path.
|
Package tracepropagation is a Transit Envoy dynamic module example that demonstrates W3C trace context propagation through a full four-hop path. |
|
cmd
command
|
|
|
Package wsproxy demonstrates the embedded WebSocket proxy pattern using up.Register + up.WithGroup, with a complete implementation for the OpenAI Responses API WebSocket mode at /v1/responses.
|
Package wsproxy demonstrates the embedded WebSocket proxy pattern using up.Register + up.WithGroup, with a complete implementation for the OpenAI Responses API WebSocket mode at /v1/responses. |
|
cmd
command
|
Click to show internal directories.
Click to hide internal directories.