feat(adminui): driver-snapshot GetAll() + pure Hosts driver-view builder (#8)

This commit is contained in:
Joseph Doherty
2026-06-18 11:40:37 -04:00
parent d203f31cb7
commit cb062fce90
4 changed files with 287 additions and 0 deletions
@@ -25,4 +25,7 @@ public sealed class InMemoryDriverStatusSnapshotStore : IDriverStatusSnapshotSto
/// <inheritdoc />
public bool TryGet(string driverInstanceId, out DriverHealthChanged snapshot)
=> _byInstance.TryGetValue(driverInstanceId, out snapshot!);
/// <inheritdoc />
public IReadOnlyCollection<DriverHealthChanged> GetAll() => _byInstance.Values.ToArray();
}