Initial working prototype
This commit is contained in:
parent
3f6ff87370
commit
ccc5337dc1
17 changed files with 506 additions and 57 deletions
|
|
@ -12,23 +12,18 @@ public class ContainerService : IContainerService
|
|||
_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)
|
||||
public async Task StartContainer(string containerName, string? containerNamespace)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
await _handler.StartContainer(containerName, containerNamespace);
|
||||
}
|
||||
|
||||
public Task StopContainer(Container container)
|
||||
public async Task StopContainer(string containerName, string? containerNamespace)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
await _handler.StopContainer(containerName, containerNamespace);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue