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

Method deploy

supervisor/client/src/lib.rs:117–119  ·  view source on GitHub ↗
(&self, config: &ProcessConfig)

Source from the content-addressed store, hash-verified

115// Async API
116impl SupervisorClient {
117 pub async fn deploy(&self, config: &ProcessConfig) -> Result<()> {
118 self.http_request("POST", "/deploy", config).await
119 }
120
121 pub async fn start(&self, id: &str) -> Result<()> {
122 self.http_request("POST", &format!("/start/{}", id), ())

Callers 2

mainFunction · 0.45
start_vmMethod · 0.45

Calls 1

http_requestMethod · 0.80

Tested by

no test coverage detected