Method
on_docker_host_list
(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; |
Tested by
no test coverage detected