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

Method stop

supervisor/client/src/lib.rs:126–129  ·  view source on GitHub ↗
(&self, id: &str)

Source from the content-addressed store, hash-verified

124 }
125
126 pub async fn stop(&self, id: &str) -> Result<()> {
127 self.http_request("POST", &format!("/stop/{}", id), ())
128 .await
129 }
130
131 pub async fn remove(&self, id: &str) -> Result<()> {
132 self.http_request("DELETE", &format!("/remove/{}", id), ())

Callers 1

mainFunction · 0.45

Calls 1

http_requestMethod · 0.80

Tested by

no test coverage detected