Hetzner Service, DTOs, provision script

This commit is contained in:
2025-03-28 13:56:07 +00:00
parent 891079fd99
commit d21250ce66
9 changed files with 296 additions and 5 deletions

View File

@@ -0,0 +1,24 @@
<?php
namespace App\Services\ServerProviders;
use Illuminate\Support\Collection;
use Saloon\Http\Connector;
interface ServerProviderService
{
protected Connector $connector;
public function createServer(
string $name,
string $serverType,
string $location,
string $image,
): bool;
public function listServerTypes(): Collection;
public function listLocations(): Collection;
public function listImages(): Collection;
}