PHP Interface Deployer\Server\ServerInterface

Datei anzeigen Open project: elfet/deployer

Public Methods

Method Description
connect ( ) Connect to remote server.
download ( string $local, string $remote ) Download file from remote server.
getConfiguration ( ) : Configuration
run ( string $command ) : string Run shell command on remote server.
upload ( string $local, string $remote ) Upload file to remote server.

Method Details

connect() public method

Connect to remote server.
public connect ( )

download() public method

Download file from remote server.
public download ( string $local, string $remote )
$local string Where to download file on local machine.
$remote string Which file to download from remote server.

getConfiguration() public method

public getConfiguration ( ) : Configuration
return Configuration

run() public method

Run shell command on remote server.
public run ( string $command ) : string
$command string
return string Output of command.

upload() public method

Upload file to remote server.
public upload ( string $local, string $remote )
$local string Local path to file.
$remote string Remote path where upload.