Implemented restorer, runtime and dummy statistics. Added service registering and fixed server factory. Moved logger to server context
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using MoonlightServers.Daemon.ServerSystem.Interfaces;
|
||||
using MoonlightServers.Daemon.ServerSystem.Models;
|
||||
|
||||
namespace MoonlightServers.Daemon.ServerSystem.Docker;
|
||||
|
||||
public class DockerStatistics : IStatistics
|
||||
{
|
||||
public Task InitializeAsync()
|
||||
=> Task.CompletedTask;
|
||||
|
||||
public Task AttachRuntimeAsync()
|
||||
=> Task.CompletedTask;
|
||||
|
||||
public Task AttachInstallationAsync()
|
||||
=> Task.CompletedTask;
|
||||
|
||||
public Task ClearCacheAsync()
|
||||
=> Task.CompletedTask;
|
||||
|
||||
public Task<IEnumerable<StatisticsData>> GetCacheAsync()
|
||||
=> Task.FromResult<IEnumerable<StatisticsData>>([]);
|
||||
|
||||
public ValueTask DisposeAsync()
|
||||
=> ValueTask.CompletedTask;
|
||||
}
|
||||
Reference in New Issue
Block a user