Started with servers sync to daemon
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
namespace MoonlightServers.DaemonShared.Http.Responses.Statistics;
|
||||
namespace MoonlightServers.DaemonShared.DaemonSide.Http.Responses.Statistics;
|
||||
|
||||
public class StatisticsApplicationResponse
|
||||
{
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace MoonlightServers.DaemonShared.Http.Responses.Statistics;
|
||||
namespace MoonlightServers.DaemonShared.DaemonSide.Http.Responses.Statistics;
|
||||
|
||||
public class StatisticsDockerResponse
|
||||
{
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace MoonlightServers.DaemonShared.Http.Responses.Statistics;
|
||||
namespace MoonlightServers.DaemonShared.DaemonSide.Http.Responses.Statistics;
|
||||
|
||||
public class StatisticsHostResponse
|
||||
{
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace MoonlightServers.DaemonShared.Http.Responses.Sys;
|
||||
namespace MoonlightServers.DaemonShared.DaemonSide.Http.Responses.Sys;
|
||||
|
||||
public class SystemStatusResponse
|
||||
{
|
||||
@@ -7,7 +7,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Http\Requests\" />
|
||||
<Folder Include="DaemonSide\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace MoonlightServers.DaemonShared.PanelSide.Http.Responses;
|
||||
|
||||
public class AllocationDataResponse
|
||||
{
|
||||
public string IpAddress { get; set; }
|
||||
public int Port { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
namespace MoonlightServers.DaemonShared.PanelSide.Http.Responses;
|
||||
|
||||
public class ServerDataResponse
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string StartupCommand { get; set; }
|
||||
public string OnlineDetection { get; set; }
|
||||
public string StopCommand { get; set; }
|
||||
public string DockerImage { get; set; }
|
||||
public bool PullDockerImage { get; set; }
|
||||
public string ParseConiguration { get; set; }
|
||||
|
||||
public int Cpu { get; set; }
|
||||
public int Memory { get; set; }
|
||||
public int Disk { get; set; }
|
||||
|
||||
public bool UseVirtualDisk { get; set; }
|
||||
public int Bandwidth { get; set; }
|
||||
|
||||
public AllocationDataResponse[] Allocations { get; set; }
|
||||
public Dictionary<string, string> Variables { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user