Moved daemon api client
This commit is contained in:
@@ -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
|
||||
{
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace Moonlight.App.Models.Daemon.Resources;
|
||||
namespace Moonlight.App.ApiClients.Daemon.Resources;
|
||||
|
||||
public class ContainerStats
|
||||
{
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace Moonlight.App.Models.Daemon.Resources;
|
||||
namespace Moonlight.App.ApiClients.Daemon.Resources;
|
||||
|
||||
public class CpuStats
|
||||
{
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace Moonlight.App.Models.Daemon.Resources;
|
||||
namespace Moonlight.App.ApiClients.Daemon.Resources;
|
||||
|
||||
public class DiskStats
|
||||
{
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace Moonlight.App.Models.Daemon.Resources;
|
||||
namespace Moonlight.App.ApiClients.Daemon.Resources;
|
||||
|
||||
public class MemoryStats
|
||||
{
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user