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.
- Filesystem
Entry - Portable guest metadata used by compatibility protocol adapters.
- Filesystem
Request - Generation-fenced filesystem request sent to the workload guest.
- Filesystem
Response - Result of one workload filesystem metadata or mutation operation.
Enums§
- Exec
Event - A streaming exec event — a chunk of output, a flush acknowledgement, or the final exit.
- FileOp
- File transfer operation type.
- Filesystem
Entry Kind - Entry type returned by a workload filesystem operation.
- Filesystem
Op - Metadata operation performed inside a managed workload filesystem.
- Guest
Session Request - Versioned non-exec request sent over the guest execution session.
- Stream
Type - Which output stream a chunk belongs to.
Constants§
- DEFAULT_
EXEC_ TIMEOUT_ NS - Default exec timeout: 5 seconds.
- EXEC_
VSOCK_ PORT - Vsock port for the exec server.
- FRAME_
EXEC_ CHUNK - Frame type byte for streaming exec chunks.
- FRAME_
EXEC_ EXIT - Frame type byte for streaming exec exit.
- MAX_
ONE_ SHOT_ OUTPUT_ BYTES - Maximum captured one-shot output size per stream: 1 MiB.
- MAX_
OUTPUT_ BYTES - Maximum buffered streaming output size per stream (stdout/stderr): 16 MiB.
- PORT_
FWD_ VSOCK_ PORT - Vsock port for the Windows host-port forward control channel.
- WINDOWS_
CONTROL_ SIGNAL_ FRAME - Host-control frame that asks guest init to signal the container main process.
- WINDOWS_
STOP_ REQUEST_ FILE - Host-only request file watched by the Windows control worker.
- WINDOWS_
STOP_ REQUEST_ TEMP_ FILE - Temporary sibling used to publish a Windows stop request atomically.