mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 22:46:16 +00:00
init
This commit is contained in:
26
app/Contracts/ServerProvider.php
Executable file
26
app/Contracts/ServerProvider.php
Executable file
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace App\Contracts;
|
||||
|
||||
interface ServerProvider
|
||||
{
|
||||
public function createValidationRules(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 create(): void;
|
||||
|
||||
public function isRunning(): bool;
|
||||
|
||||
public function delete(): void;
|
||||
}
|
Reference in New Issue
Block a user