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

Function handshake_prefix

gateway/src/kv/mod.rs:295–297  ·  view source on GitHub ↗

Prefix to iterate all handshake observations for an instance

(instance_id: &str)

Source from the content-addressed store, hash-verified

293
294 /// Prefix to iterate all handshake observations for an instance
295 pub fn handshake_prefix(instance_id: &str) -> String {
296 format!("{HANDSHAKE_PREFIX}{instance_id}/")
297 }
298
299 pub fn last_seen_node(node_id: NodeId, seen_by: NodeId) -> String {
300 format!("{LAST_SEEN_NODE_PREFIX}{node_id}/{seen_by}")

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected