Moved daemon api client

This commit is contained in:
Marcel Baumgartner
2023-05-05 04:40:38 +02:00
parent e54077fc55
commit 3a47a67ec4
11 changed files with 14 additions and 11 deletions

View File

@@ -3,7 +3,7 @@ using Moonlight.App.Exceptions;
using Newtonsoft.Json;
using RestSharp;
namespace Moonlight.App.Helpers;
namespace Moonlight.App.ApiClients.Daemon;
public class DaemonApiHelper
{

View File

@@ -1,4 +1,4 @@
namespace Moonlight.App.Models.Daemon.Resources;
namespace Moonlight.App.ApiClients.Daemon.Resources;
public class ContainerStats
{

View File

@@ -1,4 +1,4 @@
namespace Moonlight.App.Models.Daemon.Resources;
namespace Moonlight.App.ApiClients.Daemon.Resources;
public class CpuStats
{

View File

@@ -1,4 +1,4 @@
namespace Moonlight.App.Models.Daemon.Resources;
namespace Moonlight.App.ApiClients.Daemon.Resources;
public class DiskStats
{

View File

@@ -1,4 +1,4 @@
namespace Moonlight.App.Models.Daemon.Resources;
namespace Moonlight.App.ApiClients.Daemon.Resources;
public class MemoryStats
{

View File

@@ -2,10 +2,10 @@
using Microsoft.EntityFrameworkCore;
using MineStatLib;
using Moonlight.App.Database.Entities;
using Moonlight.App.Models.Daemon.Resources;
using Moonlight.App.Repositories;
using Moonlight.App.Repositories.Servers;
using Logging.Net;
using Moonlight.App.ApiClients.Daemon.Resources;
using Moonlight.App.ApiClients.Wings;
using Moonlight.App.Events;
using Newtonsoft.Json;

View File

@@ -1,8 +1,9 @@
using Moonlight.App.ApiClients.Wings;
using Moonlight.App.ApiClients.Daemon;
using Moonlight.App.ApiClients.Daemon.Resources;
using Moonlight.App.ApiClients.Wings;
using Moonlight.App.ApiClients.Wings.Resources;
using Moonlight.App.Database.Entities;
using Moonlight.App.Helpers;
using Moonlight.App.Models.Daemon.Resources;
using Moonlight.App.Repositories;
namespace Moonlight.App.Services;

View File

@@ -71,8 +71,9 @@
<ItemGroup>
<Folder Include="App\ApiClients\CloudPanel\Resources\" />
<Folder Include="App\ApiClients\Daemon\Requests\" />
<Folder Include="App\Http\Middleware" />
<Folder Include="App\Models\Daemon\Requests" />
<Folder Include="App\Models\Daemon\" />
<Folder Include="App\Models\Google\Resources" />
</ItemGroup>

View File

@@ -3,6 +3,7 @@ using BlazorTable;
using CurrieTechnologies.Razor.SweetAlert2;
using Logging.Net;
using Moonlight.App.ApiClients.CloudPanel;
using Moonlight.App.ApiClients.Daemon;
using Moonlight.App.ApiClients.Wings;
using Moonlight.App.Database;
using Moonlight.App.Events;

View File

@@ -3,9 +3,9 @@
@using Moonlight.App.Repositories
@using Moonlight.App.Database.Entities
@using Moonlight.App.Helpers
@using Moonlight.App.Models.Daemon.Resources
@using Moonlight.App.Services
@using Moonlight.App.ApiClients.Wings.Resources
@using Moonlight.App.ApiClients.Daemon.Resources
@inject NodeRepository NodeRepository
@inject NodeService NodeService

View File

@@ -4,9 +4,9 @@
@using Moonlight.App.Services
@using Moonlight.App.Services.Interop
@using Moonlight.App.Database.Entities
@using Moonlight.App.Models.Daemon.Resources
@using BlazorTable
@using Microsoft.EntityFrameworkCore
@using Moonlight.App.ApiClients.Daemon.Resources
@using Moonlight.App.ApiClients.Wings
@using Moonlight.App.Helpers