mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-20 10:21:37 +00:00
- refactoring architecture - fix incomplete ssh logs - code editor for scripts in the app - remove Jobs and SSHCommands
24 lines
530 B
PHP
Executable File
24 lines
530 B
PHP
Executable File
<?php
|
|
|
|
namespace App\SSH\Services\Webserver;
|
|
|
|
use App\Models\Site;
|
|
use App\Models\Ssl;
|
|
|
|
interface Webserver
|
|
{
|
|
public function createVHost(Site $site): void;
|
|
|
|
public function updateVHost(Site $site, bool $noSSL = false, ?string $vhost = null): void;
|
|
|
|
public function getVHost(Site $site): string;
|
|
|
|
public function deleteSite(Site $site): void;
|
|
|
|
public function changePHPVersion(Site $site, string $version): void;
|
|
|
|
public function setupSSL(Ssl $ssl): void;
|
|
|
|
public function removeSSL(Ssl $ssl): void;
|
|
}
|