Свойство | Type | Description | |
---|---|---|---|
$config | OpenStack config |
Méthode | Description | |
---|---|---|
__construct ( |
Constructor | |
auth ( ) : object | Performs an authentication request | |
call ( $service, $path = '/', array $options = null, $verb = 'GET', Scalr\Service\OpenStack\Type\AppFormat $accept = null, $auth = true ) | ||
getConfig ( ) : |
Gets OpenStack config | |
resetDebug ( ) : |
Resets debug mode | |
setDebug ( boolean $bDebug = true ) : |
Sets debug mode |
Méthode | Description | |
---|---|---|
createHttpRequest ( ) : Scalr\System\Http\Client\Request | Creates new http Request object | |
tryCall ( Scalr\System\Http\Client\Request $httpRequest, integer $attempts = 1, integer $interval = 200 ) : http\Client\Response | Tries to send request on several attempts. |
public __construct ( |
||
$config | A OpenStack config. |
protected createHttpRequest ( ) : Scalr\System\Http\Client\Request | ||
Résultat | Scalr\System\Http\Client\Request | Returns new http Request object |
public getConfig ( ) : |
||
Résultat | A OpenStack config. |
public resetDebug ( ) : |
||
Résultat |
protected tryCall ( Scalr\System\Http\Client\Request $httpRequest, integer $attempts = 1, integer $interval = 200 ) : http\Client\Response | ||
$httpRequest | Scalr\System\Http\Client\Request | |
$attempts | integer | Attempts count. |
$interval | integer | An sleep interval between an attempts in microseconds. |
Résultat | http\Client\Response | Returns http Response if success. |