Skip to main content

Module exec

Module exec 

Source
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§

ExecChunk
A chunk of streaming output from a running command.
ExecExit
Final exit notification from a streaming exec.
ExecMetrics
Metrics collected during command execution.
ExecOutput
Output from an executed command.
ExecRequest
Request to execute a command in the guest.
FileRequest
File transfer request for upload/download between host and guest.
FileResponse
File transfer response.
FilesystemEntry
Portable guest metadata used by compatibility protocol adapters.
FilesystemRequest
Generation-fenced filesystem request sent to the workload guest.
FilesystemResponse
Result of one workload filesystem metadata or mutation operation.

Enums§

ExecEvent
A streaming exec event — a chunk of output, a flush acknowledgement, or the final exit.
FileOp
File transfer operation type.
FilesystemEntryKind
Entry type returned by a workload filesystem operation.
FilesystemOp
Metadata operation performed inside a managed workload filesystem.
GuestSessionRequest
Versioned non-exec request sent over the guest execution session.
StreamType
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.