MCPcopy Create free account
hub / github.com/BigBoot/AutoKuma / test_docker_host

Method test_docker_host

kuma-client/src/client.rs:1222–1233  ·  view source on GitHub ↗
(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?;

Callers 1

handleFunction · 0.80

Calls 1

callMethod · 0.45

Tested by

no test coverage detected