Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
proxy
command
Command proxy runs the Temporal proxy: a gRPC gateway between Temporal SDK clients, workers, and the Temporal UI and one or more upstream Temporal Services, handling namespace translation, TLS, and payload encryption.
|
Command proxy runs the Temporal proxy: a gRPC gateway between Temporal SDK clients, workers, and the Temporal UI and one or more upstream Temporal Services, handling namespace translation, TLS, and payload encryption. |
|
Package e2e contains black-box, full-stack integration tests that drive the proxy the way production does: a client through the gateway, router, per-upstream forwarder, and out to a fake upstream.
|
Package e2e contains black-box, full-stack integration tests that drive the proxy the way production does: a client through the gateway, router, per-upstream forwarder, and out to a fake upstream. |
|
internal
|
|
|
api
Package api reaches the extension servers an operator runs: gRPC services implementing one of the contracts published under api/, currently api.kms.v1.EncryptionService and api.auth.v1.AuthService.
|
Package api reaches the extension servers an operator runs: gRPC services implementing one of the contracts published under api/, currently api.kms.v1.EncryptionService and api.auth.v1.AuthService. |
|
auth
Package auth authenticates requests arriving at the proxy.
|
Package auth authenticates requests arriving at the proxy. |
|
auth/outbound
Package outbound presents the proxy's own credentials on connections it dials.
|
Package outbound presents the proxy's own credentials on connections it dials. |
|
cloud
Package cloud holds the rules that are specific to Temporal Cloud rather than to any Temporal Service.
|
Package cloud holds the rules that are specific to Temporal Cloud rather than to any Temporal Service. |
|
cloud/translation
Package translation rewrites one gRPC method call into another on the hop to the upstream.
|
Package translation rewrites one gRPC method call into another on the hop to the upstream. |
|
codecserver
Package codecserver serves the Temporal codec server HTTP endpoints, so a client that reaches a Temporal Service without passing through the gateway can still read payloads the proxy sealed.
|
Package codecserver serves the Temporal codec server HTTP endpoints, so a client that reaches a Temporal Service without passing through the gateway can still read payloads the proxy sealed. |
|
config
Package config loads and validates the proxy YAML configuration.
|
Package config loads and validates the proxy YAML configuration. |
|
dataplane
Package dataplane assembles the proxy's request path: one inbound gateway that routes by namespace, and one forwarder per upstream that translates namespaces, attaches outbound credentials, and optionally encrypts payloads before forwarding to a Temporal Service.
|
Package dataplane assembles the proxy's request path: one inbound gateway that routes by namespace, and one forwarder per upstream that translates namespaces, attaches outbound credentials, and optionally encrypts payloads before forwarding to a Temporal Service. |
|
dataplane/dataplanetest
Package dataplanetest runs a dataplane for a test, either constructed directly or assembled from the production fx modules, together with the fake upstreams and connections needed to drive it.
|
Package dataplanetest runs a dataplane for a test, either constructed directly or assembled from the production fx modules, together with the fake upstreams and connections needed to drive it. |
|
httpserver
Package httpserver serves every HTTP route group, such as the codec server, on one port separate from the gateway's.
|
Package httpserver serves every HTTP route group, such as the codec server, on one port separate from the gateway's. |
|
kms
Package kms wires the proxy's encryption configuration into a running crypto.Vault.
|
Package kms wires the proxy's encryption configuration into a running crypto.Vault. |
|
metrics
Package metrics wires Prometheus metrics into the proxy.
|
Package metrics wires Prometheus metrics into the proxy. |
|
pprofserver
Package pprofserver serves the runtime's profiles on the shared HTTP listener: the standard net/http/pprof endpoints under /debug/pprof.
|
Package pprofserver serves the runtime's profiles on the shared HTTP listener: the standard net/http/pprof endpoints under /debug/pprof. |
|
protoutil
Package protoutil provides helpers for working with Temporal's protobuf request types at the gRPC boundary, without the caller needing to know the concrete message type for a given method.
|
Package protoutil provides helpers for working with Temporal's protobuf request types at the gRPC boundary, without the caller needing to know the concrete message type for a given method. |
|
proxy
Package proxy forwards requests to an upstream Temporal Service over gRPC, applying namespace translation and payload codecs on the way.
|
Package proxy forwards requests to an upstream Temporal Service over gRPC, applying namespace translation and payload codecs on the way. |
|
router
Package router routes inbound gRPC traffic to the upstream that serves it.
|
Package router routes inbound gRPC traffic to the upstream that serves it. |
|
rpc
Package rpc holds the gRPC helpers the proxy's forwarding paths share: stream plumbing, method-name parsing, outgoing metadata, and caller-facing errors.
|
Package rpc holds the gRPC helpers the proxy's forwarding paths share: stream plumbing, method-name parsing, outgoing metadata, and caller-facing errors. |
|
server
Package server provides the gRPC server the gateway listens on, with a built-in health service and a periodic health check.
|
Package server provides the gRPC server the gateway listens on, with a built-in health service and a periodic health check. |
|
services
Package services names the gRPC services the proxy can forward and resolves their descriptors.
|
Package services names the gRPC services the proxy can forward and resolves their descriptors. |
|
template
Package template renders the templated fields used by the proxy against per-request values.
|
Package template renders the templated fields used by the proxy against per-request values. |
|
transport/connect
Package connect manages a pool of reusable gRPC client connections keyed by a caller-supplied logical key, distinct from the dial target.
|
Package connect manages a pool of reusable gRPC client connections keyed by a caller-supplied logical key, distinct from the dial target. |
|
transport/creds
Package creds resolves TLS transport credentials for Temporal proxy connections from a small set of options.
|
Package creds resolves TLS transport credentials for Temporal proxy connections from a small set of options. |
|
transport/meta
Package meta defines the internal contract for what the gateway learns about a request once and every later stage reads: the Target on the context, and the namespace stamped on outgoing metadata for the forwarder's resolver and client interceptors.
|
Package meta defines the internal contract for what the gateway learns about a request once and every later stage reads: the Target on the context, and the namespace stamped on outgoing metadata for the forwarder's resolver and client interceptors. |
|
transport/resolve
Package resolve provides gRPC name resolvers.
|
Package resolve provides gRPC name resolvers. |
|
version
Package version holds the build identity stamped into the binary at link time.
|
Package version holds the build identity stamped into the binary at link time. |
|
pkg
|
|
|
api/ext/v1
Package ext holds KeyMaterial, an optional framing an extension server can marshal as the ciphertext it returns from Encrypt, along with helpers to validate, marshal, and unmarshal it.
|
Package ext holds KeyMaterial, an optional framing an extension server can marshal as the ciphertext it returns from Encrypt, along with helpers to validate, marshal, and unmarshal it. |
|
codec
Package codec converts Temporal payloads on their way to and from an upstream.
|
Package codec converts Temporal payloads on their way to and from an upstream. |
|
crypto
Package crypto implements envelope encryption.
|
Package crypto implements envelope encryption. |
|
ext
Package ext is a starting point for building a temporal-proxy extension server.
|
Package ext is a starting point for building a temporal-proxy extension server. |
|
logger
Package logger provides a small, leveled, structured logging interface for the proxy along with a zerolog-backed implementation, plus a no-op implementation and a recording TestLogger for tests.
|
Package logger provides a small, leveled, structured logging interface for the proxy along with a zerolog-backed implementation, plus a no-op implementation and a recording TestLogger for tests. |
|
logger/tag
Package tag provides typed key/value pairs used to attach structured context to log entries.
|
Package tag provides typed key/value pairs used to attach structured context to log entries. |
|
match
Package match implements the simple glob matching used by routing rules to compare namespaces and metadata values.
|
Package match implements the simple glob matching used by routing rules to compare namespaces and metadata values. |
|
testutil
Package testutil provides helpers and utilities to make testing easier and less tedious.
|
Package testutil provides helpers and utilities to make testing easier and less tedious. |
|
validation
Package validation provides structured error primitives plus a small rule-based API for accumulating validation failures.
|
Package validation provides structured error primitives plus a small rule-based API for accumulating validation failures. |
|
validation/certs
Package certs provides reusable validation.Check building blocks for inspecting X.509 certificates and PEM material: expiry, CA basic constraint, signature-algorithm and key-type strength, and key size.
|
Package certs provides reusable validation.Check building blocks for inspecting X.509 certificates and PEM material: expiry, CA basic constraint, signature-algorithm and key-type strength, and key size. |
Click to show internal directories.
Click to hide internal directories.