mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-10 02:13:44 +02:00
Complete base implementation of services for administrative server creation
This commit is contained in:
@@ -47,9 +47,10 @@ interface ServerRepositoryInterface extends BaseRepositoryInterface
|
||||
/**
|
||||
* Mark a server to be reinstalled on the system.
|
||||
*
|
||||
* @param array|null $data
|
||||
* @return \Psr\Http\Message\ResponseInterface
|
||||
*/
|
||||
public function reinstall();
|
||||
public function reinstall($data = null);
|
||||
|
||||
/**
|
||||
* Mark a server as needing a container rebuild the next time the server is booted.
|
||||
@@ -71,4 +72,11 @@ interface ServerRepositoryInterface extends BaseRepositoryInterface
|
||||
* @return \Psr\Http\Message\ResponseInterface
|
||||
*/
|
||||
public function unsuspend();
|
||||
|
||||
/**
|
||||
* Delete a server on the daemon.
|
||||
*
|
||||
* @return \Psr\Http\Message\ResponseInterface
|
||||
*/
|
||||
public function delete();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user