diff --git a/Watcher/Controllers/ContainerController.cs b/Watcher/Controllers/ContainerController.cs index f3f5c63..2263d06 100644 --- a/Watcher/Controllers/ContainerController.cs +++ b/Watcher/Controllers/ContainerController.cs @@ -31,4 +31,25 @@ public class ContainerController : Controller return View(viewModel); } + public async Task RestartContainer(string container_id) + { + //Befehl an Agent schicken?? + + throw new NotImplementedException(); + } + + public async Task StopContainer(string container_id) + { + //Befehl an Agent schicken?? + + throw new NotImplementedException(); + } + + public async Task UpdateContainer(string container_id) + { + //Befehl an Agent schicken?? + + throw new NotImplementedException(); + } + } diff --git a/Watcher/Views/Container/Overview.cshtml b/Watcher/Views/Container/Overview.cshtml index e3edfc3..8e36d45 100644 --- a/Watcher/Views/Container/Overview.cshtml +++ b/Watcher/Views/Container/Overview.cshtml @@ -25,9 +25,18 @@ @container.ContainerId @container.Name @container.Image - - @container.ServerId - nicht verfügbar + @container.ServerId + + + Neustart + + + Stop + + + Update + + }