MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / handshake

Function handshake

gateway/src/kv/mod.rs:290–292  ·  view source on GitHub ↗

Key for instance handshake timestamp observed by a specific node Format: handshake/{instance_id}/{observer_node_id}

(instance_id: &str, observer_node_id: NodeId)

Source from the content-addressed store, hash-verified

288 /// Key for instance handshake timestamp observed by a specific node
289 /// Format: handshake/{instance_id}/{observer_node_id}
290 pub fn handshake(instance_id: &str, observer_node_id: NodeId) -> String {
291 format!("{HANDSHAKE_PREFIX}{instance_id}/{observer_node_id}")
292 }
293
294 /// Prefix to iterate all handshake observations for an instance
295 pub fn handshake_prefix(instance_id: &str) -> String {

Callers 2

sync_delete_instanceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected