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

Method start

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

Source from the content-addressed store, hash-verified

119 }
120
121 pub async fn start(&self, id: &str) -> Result<()> {
122 self.http_request("POST", &format!("/start/{}", id), ())
123 .await
124 }
125
126 pub async fn stop(&self, id: &str) -> Result<()> {
127 self.http_request("POST", &format!("/stop/{}", id), ())

Callers 1

mainFunction · 0.45

Calls 1

http_requestMethod · 0.80

Tested by

no test coverage detected