Method | Description | |
---|---|---|
NewPlatform ( string $platform ) : Scalr\Modules\PlatformModuleInterface | Create platform instance | |
getCanonicalOpenstackPlatforms ( ) : array | Gets the list of canonical OpenStack based clouds | |
getCloudstackBasedPlatforms ( ) : array | Gets the list of CloudStack based clouds | |
getOpenstackBasedPlatforms ( ) : array | Gets the list of OpenStack based clouds | |
getPublicPlatforms ( ) : array | Gets the list of public clouds | |
getRackspacePlatforms ( ) : array | Returns the list of Rackspace clouds | |
isCloudstack ( string $platform ) : boolean | Checks wheter specified cloud is CloudStack based | |
isOpenstack ( string $platform, boolean $canonical = false ) : boolean | Checks wheter specified cloud is OpenStack based | |
isPublic ( string $platform ) : boolean | Checks wheter specified cloud is public | |
isRackspace ( string $platform ) : boolean | Checks wheter specified cloud is Rackspace cloud | |
warmup ( ) | Clears static cache |
public static NewPlatform ( string $platform ) : Scalr\Modules\PlatformModuleInterface | ||
$platform | string | |
return | Scalr\Modules\PlatformModuleInterface |
public static getCanonicalOpenstackPlatforms ( ) : array | ||
return | array |
public static getCloudstackBasedPlatforms ( ) : array | ||
return | array | Returns the list of CloudStack based clouds |
public static getOpenstackBasedPlatforms ( ) : array | ||
return | array | Returns the list of OpenStack based clouds |
public static getPublicPlatforms ( ) : array | ||
return | array | Returns the list of public clouds |
public static getRackspacePlatforms ( ) : array | ||
return | array |
public static isCloudstack ( string $platform ) : boolean | ||
$platform | string | A platform name |
return | boolean | Returns true if specified cloud is CloudStack based or false otherwise |
public static isRackspace ( string $platform ) : boolean | ||
$platform | string | A platform name |
return | boolean | Returns true if specified cloud is Rackspace cloud or false otherwise |