MCPcopy Create free account
hub / github.com/dtormoen/tsk-tsk / ping

Method ping

src/context/docker_client.rs:918–925  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

916 }
917
918 async fn ping(&self) -> Result<String, String> {
919 let version = self
920 .docker
921 .ping()
922 .await
923 .map_err(|e| format!("Docker ping failed: {e}"))?;
924 Ok(version)
925 }
926
927 async fn exec_in_container(&self, id: &str, cmd: Vec<String>) -> Result<i64, String> {
928 use bollard::exec::{CreateExecOptions, StartExecOptions};

Callers 1

executeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected