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

Method get_instance_latest_handshake

gateway/src/main_service.rs:1353–1355  ·  view source on GitHub ↗

Get latest handshake for an instance from KvStore (max across all nodes)

(&self, instance_id: &str)

Source from the content-addressed store, hash-verified

1351
1352 /// Get latest handshake for an instance from KvStore (max across all nodes)
1353 pub(crate) fn get_instance_latest_handshake(&self, instance_id: &str) -> Option<u64> {
1354 self.kv_store.get_instance_latest_handshake(instance_id)
1355 }
1356
1357 /// Get all nodes from KvStore (for admin API - includes all nodes)
1358 pub(crate) fn get_all_nodes(&self) -> Vec<GatewayNodeInfo> {

Callers 1

recycleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected