ContainerDashboard/backend/Services/ContainerService.cs
2025-12-20 16:27:56 +00:00

34 lines
No EOL
702 B
C#

using ContainerDashboard.Models;
using ContainerDashboard.Repositories;
namespace ContainerDashboard.Services;
public class ContainerService : IContainerService
{
private IContainerHandler _handler;
public ContainerService(IContainerHandler handler)
{
_handler = handler;
}
public Task<Container> GetContainer(string containerName, string? containerNamespace)
{
throw new NotImplementedException();
}
public async Task<Container[]> GetContainers()
{
return await _handler.GetContainers();
}
public Task StartContainer(Container container)
{
throw new NotImplementedException();
}
public Task StopContainer(Container container)
{
throw new NotImplementedException();
}
}