Method
test_docker_host
(self: &Arc<Self>, docker_host: &DockerHost)
Source from the content-addressed store, hash-verified
| 1220 | } |
| 1221 | |
| 1222 | pub async fn test_docker_host(self: &Arc<Self>, docker_host: &DockerHost) -> Result<String> { |
| 1223 | let msg: String = self |
| 1224 | .call( |
| 1225 | "testDockerHost", |
| 1226 | vec![serde_json::to_value(docker_host).unwrap()], |
| 1227 | "/msg", |
| 1228 | true, |
| 1229 | ) |
| 1230 | .await?; |
| 1231 | |
| 1232 | Ok(msg) |
| 1233 | } |
| 1234 | |
| 1235 | pub async fn get_database_size(self: &Arc<Self>) -> Result<u64> { |
| 1236 | let size: u64 = self.call("getDatabaseSize", vec![], "/size", true).await?; |
Tested by
no test coverage detected