Property | Type | Description | |
---|---|---|---|
$client | |||
$locations | |||
$service |
Method | Description | |
---|---|---|
bootNode ( |
||
cloneNode ( |
||
createNode ( Symfony\Component\HttpFoundation\ParameterBag $parameters ) | ||
destroyNode ( |
||
getClient ( ) : OpenCloud\Rackspace | ||
getService ( ) : OpenCloud\Compute\Service | ||
listImages ( $nodeImageId = null ) | ||
listLocations ( $nodeLocationId = null ) | ||
listNodes ( $nodeId = null ) | ||
listSizes ( $nodeSizeId = null ) | ||
rebootNode ( |
||
resizeNode ( |
||
setClient ( OpenCloud\Rackspace $client ) | ||
setService ( OpenCloud\Compute\Service $service ) | ||
shutdownNode ( |
||
updateNode ( |
Method | Description | |
---|---|---|
toFlavor ( |
Get a flavor instance represented by the supplied NodeSize. | |
toImage ( $response ) : |
Convert OpenCloud\Compute\Resource\Image to LibCloud\Compute\Model\NodeImage. | |
toLocation ( $response ) : |
Convert array to LibCloud\Compute\Model\NodeLocation. | |
toNode ( $response ) : |
Convert OpenCloud\Compute\Resource\Server to LibCloud\Compute\Model\Node. | |
toServer ( |
Get a server instance represented by the supplied Node, or an empty server instance if a Node is not supplied. | |
toSize ( $response ) : |
Convert OpenCloud\Compute\Resource\Flavor to LibCloud\Compute\Model\NodeSize. |
Method | Description | |
---|---|---|
getObjectVarsRecursively ( $var ) | ||
toNodeModelExtra ( object $response, array | null $exclude = null ) : array | Populate an array, suitable for Compute\Model\Node*.extra, with the public properties of an OpenCloud\Compute\Resource entity. | |
unserialiseCredentials ( string $accessToken ) : array | "username:api_key" -> ['username' => "username", 'apiKey' => "api_key"] |
public cloneNode ( |
||
$node | ||
$parameters | Symfony\Component\HttpFoundation\ParameterBag |
public createNode ( Symfony\Component\HttpFoundation\ParameterBag $parameters ) | ||
$parameters | Symfony\Component\HttpFoundation\ParameterBag |
public destroyNode ( |
||
$node | ||
return | Guzzle\Http\Message\Response |
public getService ( ) : OpenCloud\Compute\Service | ||
return | OpenCloud\Compute\Service |
public rebootNode ( |
||
$node | ||
return | Guzzle\Http\Message\Response |
public resizeNode ( |
||
$node | ||
$nodeSize | ||
return | Guzzle\Http\Message\Response |
public setClient ( OpenCloud\Rackspace $client ) | ||
$client | OpenCloud\Rackspace |
public setService ( OpenCloud\Compute\Service $service ) | ||
$service | OpenCloud\Compute\Service |
protected toFlavor ( |
||
$nodeSize | ||
return | OpenCloud\Compute\Resource\Flavor |
protected toImage ( $response ) : |
||
return |
protected toLocation ( $response ) : |
||
return |
protected toNode ( $response ) : |
||
return |
protected toServer ( |
||
$node | ||
return | OpenCloud\Compute\Resource\Server |
protected toSize ( $response ) : |
||
return |
public updateNode ( |
||
$node | ||
$parameters | Symfony\Component\HttpFoundation\ParameterBag | |
return | Guzzle\Http\Message\Response |