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

Method on_docker_host_list

kuma-client/src/client.rs:197–202  ·  view source on GitHub ↗
(self: &Arc<Self>, docker_host_list: DockerHostList)

Source from the content-addressed store, hash-verified

195 }
196
197 async fn on_docker_host_list(self: &Arc<Self>, docker_host_list: DockerHostList) -> Result<()> {
198 *self.docker_hosts.lock().await = docker_host_list;
199 self.is_ready.lock().await.docker_host_list = true;
200
201 Ok(())
202 }
203
204 async fn on_info(self: &Arc<Self>) -> Result<()> {
205 *self.is_connected.lock().await = true;

Callers 1

on_eventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected