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

Method start

supervisor/src/supervisor.rs:75–79  ·  view source on GitHub ↗
(&self, id: &str)

Source from the content-addressed store, hash-verified

73 }
74
75 pub fn start(&self, id: &str) -> Result<()> {
76 let process = self.processes.get(id).context("Process not found")?;
77 info!("Starting process {id}");
78 process.start()
79 }
80
81 pub fn stop(&self, id: &str) -> Result<()> {
82 let process = self.processes.get(id).context("Process not found")?;

Callers 1

deployMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected