Skip to main content

Module reverse

Module reverse 

Source
Expand description

Runtime-side adapter that wires the eggress-routing engine into the eggress-protocol-reverse client.

The reverse client dials a fixed external host:port and forwards the resulting connections back over the control channel. The runtime is still in charge of authorization: each reconnect consults the router against a synthetic RouteRequest (transport = ReverseTcp, listener = the configured reverse listener name, target = the external target) and rejects the connection with a structured reason when the policy says no.

The adapter implements the TargetResolver trait from the protocol crate without requiring the protocol crate to depend on the routing crate directly.

Structsยง

RouteEngineTargetResolver
Adapter that gates a fixed external target through a SharedRoutingService.