Expand description
Wire shapes for alien debug sessions.
These types are the contract between the CLI, the manager (push mode), and the agent (pull mode). Pure data + a small AWS-host parser; no cloud-client dependencies, so any layer in the dep graph can speak them.
The credential translator — projecting a resolved crate::ClientConfig
onto a DebugSessionResponse::Push payload — lives in alien-platform-core,
one tier above the cloud-client crates.
Structs§
- Debug
Cred File - Pending
Debug Session - Async-session handle. The CLI polls
poll_urluntil the manager has received the agent’s tunnel-ready signal and can return aPullpayload whose kubeconfig points at the per-session HTTPS proxy on the manager. - Pull
Debug Session - Push
Debug Session - Push
Tunnel Debug Session - Runtime
Tunnel Debug Session
Enums§
- Debug
Session Error - Errors raised by the debug-session producer (manager or agent). Callers wrap into their own error type when surfacing across crate boundaries.
- Debug
Session Kind - What kind of debug session the caller is requesting.
- Debug
Session Response - Wire response. Discriminated by
kind. Identical shape on both ends so the CLI can deserialize a session regardless of who produced it (manager or agent). - Runtime
Agent Frame - Agent-to-client runtime debug frames, relayed by the manager.
- Runtime
Client Frame - Client-to-agent runtime debug frames, relayed by the manager.
Functions§
- extract_
aws_ service_ and_ region - Derive
(service, signing_region)from an AWS API URL host.