mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
refactoring (#116)
- refactoring architecture - fix incomplete ssh logs - code editor for scripts in the app - remove Jobs and SSHCommands
This commit is contained in:
28
app/ServerProviders/ServerProvider.php
Executable file
28
app/ServerProviders/ServerProvider.php
Executable file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\ServerProviders;
|
||||
|
||||
interface ServerProvider
|
||||
{
|
||||
public function createRules(array $input): array;
|
||||
|
||||
public function credentialValidationRules(array $input): array;
|
||||
|
||||
public function credentialData(array $input): array;
|
||||
|
||||
public function data(array $input): array;
|
||||
|
||||
public function connect(?array $credentials = null): bool;
|
||||
|
||||
public function plans(): array;
|
||||
|
||||
public function regions(): array;
|
||||
|
||||
public function generateKeyPair(): void;
|
||||
|
||||
public function create(): void;
|
||||
|
||||
public function isRunning(): bool;
|
||||
|
||||
public function delete(): void;
|
||||
}
|
Reference in New Issue
Block a user