PHP Класс REBELinBLUE\Deployer\Http\Controllers\DeploymentController

Наследование: extends Controller
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( REBELinBLUE\Deployer\Contracts\Repositories\ProjectRepositoryInterface $projectRepository, REBELinBLUE\Deployer\Contracts\Repositories\DeploymentRepositoryInterface $deploymentRepository ) DeploymentController constructor.
abort ( integer $deployment_id ) : Illuminate\Http\RedirectResponse Abort a deployment.
deploy ( Illuminate\Http\Request $request, integer $project_id ) : Illuminate\Http\RedirectResponse Adds a deployment for the specified project to the queue.
log ( ServerLog $log ) : ServerLog Gets the log output of a particular deployment step.
project ( integer $project_id ) : Illuminate\View\View The details of an individual project.
rollback ( Illuminate\Http\Request $request, integer $deployment_id ) : Illuminate\Http\RedirectResponse Loads a previous deployment and then creates a new deployment based on it.
show ( integer $deployment_id ) : Illuminate\View\View Show the deployment details.

Описание методов

__construct() публичный Метод

DeploymentController constructor.
public __construct ( REBELinBLUE\Deployer\Contracts\Repositories\ProjectRepositoryInterface $projectRepository, REBELinBLUE\Deployer\Contracts\Repositories\DeploymentRepositoryInterface $deploymentRepository )
$projectRepository REBELinBLUE\Deployer\Contracts\Repositories\ProjectRepositoryInterface
$deploymentRepository REBELinBLUE\Deployer\Contracts\Repositories\DeploymentRepositoryInterface

abort() публичный Метод

Abort a deployment.
public abort ( integer $deployment_id ) : Illuminate\Http\RedirectResponse
$deployment_id integer
Результат Illuminate\Http\RedirectResponse

deploy() публичный Метод

Adds a deployment for the specified project to the queue.
public deploy ( Illuminate\Http\Request $request, integer $project_id ) : Illuminate\Http\RedirectResponse
$request Illuminate\Http\Request
$project_id integer
Результат Illuminate\Http\RedirectResponse

log() публичный Метод

Gets the log output of a particular deployment step.
public log ( ServerLog $log ) : ServerLog
$log REBELinBLUE\Deployer\ServerLog
Результат REBELinBLUE\Deployer\ServerLog

project() публичный Метод

The details of an individual project.
public project ( integer $project_id ) : Illuminate\View\View
$project_id integer
Результат Illuminate\View\View

rollback() публичный Метод

Loads a previous deployment and then creates a new deployment based on it.
public rollback ( Illuminate\Http\Request $request, integer $deployment_id ) : Illuminate\Http\RedirectResponse
$request Illuminate\Http\Request
$deployment_id integer
Результат Illuminate\Http\RedirectResponse

show() публичный Метод

Show the deployment details.
public show ( integer $deployment_id ) : Illuminate\View\View
$deployment_id integer
Результат Illuminate\View\View