Started with adding container creation and a server state machine
This commit is contained in:
12
MoonlightServers.Daemon/Models/Server.cs
Normal file
12
MoonlightServers.Daemon/Models/Server.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using MoonlightServers.Daemon.Helpers;
|
||||
using MoonlightServers.Daemon.Models.Cache;
|
||||
|
||||
namespace MoonlightServers.Daemon.Models;
|
||||
|
||||
public class Server
|
||||
{
|
||||
public ServerState State => StateMachine.CurrentState;
|
||||
public StateMachine<ServerState> StateMachine { get; set; }
|
||||
public ServerConfiguration Configuration { get; set; }
|
||||
public string? ContainerId { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user