Skip to main content

Module ctp

Module ctp 

Source
Expand description

Compute CTP connection and the Hello step of the controller handshake. Generic: it sends any ComputeCommand and receives any ComputeResponse.

Only Hello (the transport/version step) happens here; the controller handshake proper — CreateInstance, UpdateConfiguration, InitializationComplete — is driven by explicit caller commands, so the caller controls the instance config, the peek-stash setting, and exactly when the reconciliation window opens and closes.

Functions§

connect_and_hello
Connects to a clusterd compute controller address and sends Hello, leaving the controller handshake (CreateInstance onward) to the caller.

Type Aliases§

ComputeCtpClient