프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$config | OpenStack config |
메소드 | 설명 | |
---|---|---|
__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 |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | Scalr\System\Http\Client\Request | Returns new http Request object |
public getConfig ( ) : |
||
리턴 | A OpenStack config. |
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. |
리턴 | http\Client\Response | Returns http Response if success. |