Initial Backend
This commit is contained in:
parent
bcf92c21e6
commit
3f6ff87370
15 changed files with 782 additions and 0 deletions
11
backend/Services/IContainerService.cs
Normal file
11
backend/Services/IContainerService.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
using ContainerDashboard.Models;
|
||||
|
||||
namespace ContainerDashboard.Services;
|
||||
|
||||
public interface IContainerService
|
||||
{
|
||||
public Task<Container[]> GetContainers();
|
||||
public Task<Container> GetContainer(string containerName, string? containerNamespace);
|
||||
public Task StartContainer(Container container);
|
||||
public Task StopContainer(Container container);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue