Adding bulk reinstall command

This commit is contained in:
Jamsheed Mistri 2018-12-02 23:39:40 -08:00
parent 8385ba48b3
commit 9cf7432835
4 changed files with 146 additions and 0 deletions

View file

@ -36,6 +36,15 @@ interface ServerRepositoryInterface extends RepositoryInterface, SearchableInter
*/
public function getDataForRebuild(int $server = null, int $node = null): Collection;
/**
* Return a collection of servers with their associated data for reinstall operations.
*
* @param int|null $server
* @param int|null $node
* @return \Illuminate\Support\Collection
*/
public function getDataForReinstall(int $server = null, int $node = null): Collection;
/**
* Return a server model and all variables associated with the server.
*