mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-21 19:01:37 +00:00
- refactoring architecture - fix incomplete ssh logs - code editor for scripts in the app - remove Jobs and SSHCommands
20 lines
365 B
PHP
20 lines
365 B
PHP
<?php
|
|
|
|
namespace App\StorageProviders;
|
|
|
|
use App\Models\Server;
|
|
use App\SSH\Storage\Storage;
|
|
|
|
interface StorageProvider
|
|
{
|
|
public function validationRules(): array;
|
|
|
|
public function credentialData(array $input): array;
|
|
|
|
public function connect(): bool;
|
|
|
|
public function ssh(Server $server): Storage;
|
|
|
|
public function delete(array $paths): void;
|
|
}
|