Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
proxy
command
|
|
|
Package e2e contains black-box, full-stack integration tests that drive the proxy the way production does: a client through the inbound server, router, per-upstream proxy, 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 inbound server, router, per-upstream proxy, 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.
|
Package api reaches the extension servers an operator runs: gRPC services implementing one of the contracts published under api/, currently api.kms.v1.EncryptionService. |
|
auth
Package auth provides application-layer authentication for the proxy: authenticating inbound requests (Authenticator) and presenting credentials on outbound requests to upstreams (CredentialProvider).
|
Package auth provides application-layer authentication for the proxy: authenticating inbound requests (Authenticator) and presenting credentials on outbound requests to upstreams (CredentialProvider). |
|
config
Package config loads and validates the proxy YAML configuration.
|
Package config loads and validates the proxy YAML configuration. |
|
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. |
|
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 serves the Temporal WorkflowService on a local unix socket, forwarding every request to an upstream Temporal frontend over gRPC.
|
Package proxy serves the Temporal WorkflowService on a local unix socket, forwarding every request to an upstream Temporal frontend over gRPC. |
|
router
Package router transparently forwards inbound gRPC traffic to an upstream connection without decoding it.
|
Package router transparently forwards inbound gRPC traffic to an upstream connection without decoding it. |
|
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 gRPC metadata contract carried between the router and the per-upstream proxy: the router stamps the request namespace it already extracted so the proxy can resolve a templated upstream address without parsing the payload again.
|
Package meta defines the internal gRPC metadata contract carried between the router and the per-upstream proxy: the router stamps the request namespace it already extracted so the proxy can resolve a templated upstream address without parsing the payload again. |
|
transport/socket
Package socket defines the addressing contract for the proxy's local unix socket.
|
Package socket defines the addressing contract for the proxy's local unix socket. |
|
pkg
|
|
|
crypto
Package crypto implements envelope encryption.
|
Package crypto implements envelope encryption. |
|
logger
Package logger provides a small, leveled, structured logging interface for the proxy along with a zerolog-backed implementation and a no-op implementation for tests.
|
Package logger provides a small, leveled, structured logging interface for the proxy along with a zerolog-backed implementation and a no-op implementation 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.