Expand description
Exec types for host-to-guest command execution.
Shared request/response types used by both the guest exec server and the host exec client.
Structs§
- Exec
Chunk - A chunk of streaming output from a running command.
- Exec
Exit - Final exit notification from a streaming exec.
- Exec
Metrics - Metrics collected during command execution.
- Exec
Output - Output from an executed command.
- Exec
Request - Request to execute a command in the guest.
- File
Request - File transfer request for upload/download between host and guest.
- File
Response - File transfer response.
Enums§
- Exec
Event - A streaming exec event — either a chunk of output or the final exit.
- FileOp
- File transfer operation type.
- Stream
Type - Which output stream a chunk belongs to.
Constants§
- DEFAULT_
EXEC_ TIMEOUT_ NS - Default exec timeout: 5 seconds.
- FRAME_
EXEC_ CHUNK - Frame type byte for streaming exec chunks.
- FRAME_
EXEC_ EXIT - Frame type byte for streaming exec exit.
- MAX_
OUTPUT_ BYTES - Maximum output size per stream (stdout/stderr): 16 MiB.