vito/app/ServerProviders/ServerProvider.php
Saeed Vaziry 428140b931
refactoring (#116)
- refactoring architecture
- fix incomplete ssh logs
- code editor for scripts in the app
- remove Jobs and SSHCommands
2024-03-14 20:03:43 +01:00

29 lines
597 B
PHP
Executable File

<?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;
}