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>
37 lines
1.0 KiB
PHP
37 lines
1.0 KiB
PHP
<?php
|
|
|
|
namespace App\Services\Hosting\Contracts;
|
|
|
|
interface ComputeProviderInterface
|
|
{
|
|
public function createInstance(array $config): array;
|
|
|
|
public function getInstance(string $instanceId): ?array;
|
|
|
|
public function listInstances(array $filters = []): array;
|
|
|
|
public function startInstance(string $instanceId): bool;
|
|
|
|
public function stopInstance(string $instanceId): bool;
|
|
|
|
public function rebootInstance(string $instanceId): bool;
|
|
|
|
public function deleteInstance(string $instanceId): bool;
|
|
|
|
public function reinstallInstance(string $instanceId, string $image): bool;
|
|
|
|
public function createSnapshot(string $instanceId, string $name): array;
|
|
|
|
public function listSnapshots(string $instanceId): array;
|
|
|
|
public function deleteSnapshot(string $snapshotId): bool;
|
|
|
|
public function restoreSnapshot(string $instanceId, string $snapshotId): bool;
|
|
|
|
public function getAvailableImages(): array;
|
|
|
|
public function getAvailableRegions(): array;
|
|
|
|
public function getAvailableProducts(): array;
|
|
}
|