UI options for deletion WIP

This commit is contained in:
ayntk-ai
2024-08-08 12:31:37 +02:00
parent 74bea37b43
commit 4d0acee95c
3 changed files with 30 additions and 9 deletions

View File

@@ -10,7 +10,7 @@ class DeleteService
{
use AsAction;
public function handle(Service $service)
public function handle(Service $service, bool $deleteConfigurations, bool $deleteVolumes, bool $deleteImages, bool $deleteNetworks)
{
try {
$server = data_get($service, 'server');
@@ -61,4 +61,4 @@ class DeleteService
CleanupDocker::run($server, true);
}
}
}
}