Re-organised statistic endpoints and services/helpers

This commit is contained in:
2024-12-13 20:35:22 +01:00
parent d15c5326ed
commit edc91229e1
13 changed files with 218 additions and 191 deletions

View File

@@ -1,11 +0,0 @@
namespace MoonlightServers.DaemonShared.Http.Responses.Sys;
public class SystemDataUsageResponse
{
public long ImagesUsed { get; set; }
public long ImagesReclaimable { get; set; }
public long ContainersUsed { get; set; }
public long ContainersReclaimable { get; set; }
public long BuildCacheUsed { get; set; }
public long BuildCacheReclaimable { get; set; }
}

View File

@@ -1,11 +0,0 @@
namespace MoonlightServers.DaemonShared.Http.Responses.Sys;
public class SystemInfoResponse
{
public string DockerVersion { get; set; }
public string Version { get; set; }
public string OsName { get; set; }
public long MemoryUsage { get; set; }
public TimeSpan Uptime { get; set; }
public int CpuUsage { get; set; }
}