Extract Ladill Servers as standalone app at servers.ladill.com.
VPS and dedicated server ordering, managed panels, SSO, billing, and launcher integration — forked from hosting infrastructure with server-focused routes and dashboard. 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