PHP Class Scalr_Net_Scalarizr_UpdateClient

Afficher le fichier Open project: scalr/scalr Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( DBServer $dbServer, $port = 8008, $timeout = 5 )
configure ( $repo, $schedule )
executeCmd ( $cmd )
getStatus ( $cached = false )
putFile ( $path, $contents )
restartScalarizr ( $force = false )
setTimeout ( integer $timeout )
updateScalarizr ( $force = false )

Private Methods

Méthode Description
request ( $method, $params = null )

Method Details

__construct() public méthode

public __construct ( DBServer $dbServer, $port = 8008, $timeout = 5 )
$dbServer DBServer

configure() public méthode

public configure ( $repo, $schedule )

executeCmd() public méthode

public executeCmd ( $cmd )

getStatus() public méthode

public getStatus ( $cached = false )

putFile() public méthode

public putFile ( $path, $contents )

restartScalarizr() public méthode

public restartScalarizr ( $force = false )

setTimeout() public méthode

public setTimeout ( integer $timeout )
$timeout integer Timeout in seconds

updateScalarizr() public méthode

public updateScalarizr ( $force = false )