List runners in queue

This commit is contained in:
Joscha 2023-08-10 23:04:34 +02:00
parent c3c597897c
commit f3d646c8d5
10 changed files with 243 additions and 61 deletions

View file

@ -86,4 +86,8 @@ impl Runners {
pub fn get(&self, name: &str) -> Option<RunnerInfo> {
self.runners.get(name).cloned()
}
pub fn get_all(&self) -> HashMap<String, RunnerInfo> {
self.runners.clone()
}
}