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,36 @@
|
||||
<?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;
|
||||
}
|
||||
Reference in New Issue
Block a user