(&self, config: &ProcessConfig)
| 115 | // Async API |
| 116 | impl 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), ()) |
no test coverage detected