Expand description
Host-only control protocol, independent of the guest agent’s generation.
Structs§
- Capabilities
- Facilities available for this runtime and VM configuration.
- Control
Error - A recoverable peer error. Codes stay strings for future interoperability.
- Control
Hello - Opening framed-control offer. The envelope generation is always one.
- Control
Message Type Iter - An iterator over the variants of ControlMessageType
- Control
Welcome - Selected generation and limits. The welcome envelope is always generation one.
- CpuState
- CPU capacity, accepted target, observation, and enforcement.
- CpuTarget
- Native CPU-target payload.
- Empty
- Empty map payload for state and capability queries.
- Json
Control Response - Existing JSON response with an additive discovery advertisement.
- Memory
State - Accepted and observed memory quantities, all in MiB.
- Memory
Target - Native memory-target payload, without SDK convergence policy.
- Secret
Value - Secret material that is redacted in diagnostics and cleared on drop.
- Secrets
Update - Sequential, non-transactional secret modifications.
Enums§
- Control
Message Type - Known control wire names. The strum spelling is the authoritative mapping.
- Control
Request - Legacy JSON request, also used as a checked dispatch representation.
- Error
Effect - State mutation certainty reported by an operation error.
- Secret
Change - One ordered host secret modification, preserving the JSON operation tags.
- Secrets
Result - Completion of a sequential secret batch.
Constants§
- CONTROL_
GENERATION - Current framed host-control generation.
- CONTROL_
PROTOCOL - Stable protocol discriminator; it does not authenticate a peer.
- DEFAULT_
MAX_ IN_ FLIGHT - Maximum outstanding control IDs on a default connection.
- DEFAULT_
REQUEST_ TIMEOUT - Default local request wait, which never cancels or retries a mutation.
- DEFAULT_
SETUP_ TIMEOUT - Default deadline for the complete automatic connection setup.
- MAX_
DISCOVERY_ RESPONSE_ SIZE - Bound for JSON capability responses consumed during discovery.
- MAX_
HANDSHAKE_ FRAME_ SIZE - The opening frame stays small and zero-prefixed across future generations.