PHP Interface DeploymentBackend

Afficher le fichier Open project: silverstripe/deploynaut

Méthodes publiques

Méthode Description
dataTransfer ( DNDataTransfer $dataTransfer, DeploynautLogFile $log ) Transfer data from an environment to a local file, or from a local file back into an environment. See {@link DNDataTransfer} for details.
deploy ( DNEnvironment $environment, DeploynautLogFile $log, DNProject $project, array $options ) Deploy the given build to the given environment.
disableMaintenance ( DNEnvironment $environment, DeploynautLogFile $log, DNProject $project ) Disable the maintenance page
enableMaintenance ( DNEnvironment $environment, DeploynautLogFile $log, DNProject $project ) Put put the maintenance page
getDeployOptions ( DNEnvironment $environment ) : ArrayList Return a list of {@link DeployOption} for use on this environment.
ping ( DNEnvironment $environment, DeploynautLogFile $log, DNProject $project ) Checks the status of the environment
planDeploy ( DNEnvironment $environment, array $options ) : DeploymentStrategy Creates a deployment strategy that can be used to do some pre-flight checks.

Method Details

dataTransfer() public méthode

Transfer data from an environment to a local file, or from a local file back into an environment. See {@link DNDataTransfer} for details.
public dataTransfer ( DNDataTransfer $dataTransfer, DeploynautLogFile $log )
$dataTransfer DNDataTransfer
$log DeploynautLogFile

deploy() public méthode

Deploy the given build to the given environment.
public deploy ( DNEnvironment $environment, DeploynautLogFile $log, DNProject $project, array $options )
$environment DNEnvironment
$log DeploynautLogFile
$project DNProject
$options array

disableMaintenance() public méthode

Disable the maintenance page
public disableMaintenance ( DNEnvironment $environment, DeploynautLogFile $log, DNProject $project )
$environment DNEnvironment
$log DeploynautLogFile
$project DNProject

enableMaintenance() public méthode

Put put the maintenance page
public enableMaintenance ( DNEnvironment $environment, DeploynautLogFile $log, DNProject $project )
$environment DNEnvironment
$log DeploynautLogFile
$project DNProject

getDeployOptions() public méthode

Return a list of {@link DeployOption} for use on this environment.
public getDeployOptions ( DNEnvironment $environment ) : ArrayList
$environment DNEnvironment
Résultat ArrayList

ping() public méthode

Checks the status of the environment
public ping ( DNEnvironment $environment, DeploynautLogFile $log, DNProject $project )
$environment DNEnvironment
$log DeploynautLogFile
$project DNProject

planDeploy() public méthode

Creates a deployment strategy that can be used to do some pre-flight checks.
public planDeploy ( DNEnvironment $environment, array $options ) : DeploymentStrategy
$environment DNEnvironment
$options array An unsanitised array of request parameters from $request->requestVars.
Résultat DeploymentStrategy