Started with servers sync to daemon
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
namespace MoonlightServers.DaemonShared.DaemonSide.Http.Responses.Statistics;
|
||||
|
||||
public class StatisticsApplicationResponse
|
||||
{
|
||||
public int CpuUsage { get; set; }
|
||||
public long MemoryUsage { get; set; }
|
||||
public TimeSpan Uptime { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
namespace MoonlightServers.DaemonShared.DaemonSide.Http.Responses.Statistics;
|
||||
|
||||
public class StatisticsDockerResponse
|
||||
{
|
||||
public string Version { get; set; }
|
||||
|
||||
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; }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace MoonlightServers.DaemonShared.DaemonSide.Http.Responses.Statistics;
|
||||
|
||||
public class StatisticsHostResponse
|
||||
{
|
||||
public string OperatingSystem { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace MoonlightServers.DaemonShared.DaemonSide.Http.Responses.Sys;
|
||||
|
||||
public class SystemStatusResponse
|
||||
{
|
||||
public bool TripSuccess { get; set; }
|
||||
public TimeSpan TripTime { get; set; }
|
||||
public string? TripError { get; set; }
|
||||
public string Version { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user