Deploy Ladill Hosting / deploy (push) Failing after 17s
Shared web hosting extracted from the platform monolith, with CI deploy to /var/www/ladill-hosting matching Bird/Domains/Email. Co-authored-by: Cursor <cursoragent@cursor.com>
26 lines
736 B
PHP
26 lines
736 B
PHP
<?php
|
|
|
|
namespace App\Services\Hosting\Contracts;
|
|
|
|
use App\Models\HostedSite;
|
|
use App\Models\AppInstallation;
|
|
|
|
interface AppInstallerInterface
|
|
{
|
|
public function getSupportedApps(): array;
|
|
|
|
public function getAppVersions(string $appType): array;
|
|
|
|
public function install(HostedSite $site, string $appType, array $config): AppInstallation;
|
|
|
|
public function uninstall(AppInstallation $installation): bool;
|
|
|
|
public function update(AppInstallation $installation, ?string $version = null): bool;
|
|
|
|
public function getStatus(AppInstallation $installation): array;
|
|
|
|
public function backup(AppInstallation $installation): string;
|
|
|
|
public function restore(AppInstallation $installation, string $backupPath): bool;
|
|
}
|