Initial Ladill Hosting app with Gitea deploy pipeline.
Deploy Ladill Hosting / deploy (push) Failing after 17s
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>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?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;
|
||||
}
|
||||
Reference in New Issue
Block a user