PHP Class Scalr_UI_Controller_Farms_Builder

Inheritance: extends Scalr_UI_Controller
Afficher le fichier Open project: scalr/scalr

Méthodes publiques

Свойство Type Description
$errors

Méthodes publiques

Méthode Description
getFarm2 ( $farmId )
hasAccess ( )
xBuildAction ( )
xGetInstanceTypeHourlyRateAction ( string $platform, string $cloudLocation, string $instanceType, string $osFamily ) : float
xGetRoleChefSettingsAction ( integer $roleId )
xGetScriptsAction ( integer $roleId )
xGetStorageConfigAction ( )
xGetTeamsAction ( )
xListElasticLoadBalancersAction ( string $cloudLocation, string $placement = null )
xListSecurityGroupsAction ( string $platform, string $cloudLocation, JsonData $filters = null ) Lists security groups
xRemoveStorageVolumeAction ( )

Private Methods

Méthode Description
checkBounds ( string $farmRoleId, string $name, string | number $boundMin, string | number $boundMax, string $validator, boolean $allowEqual = false, mixed $errorMessage ) : array | false Validate bounds.
checkFarmConfigurationIntegrity ( integer $farmId, array $farmSettings, array $roles = [], array $rolesToRemove = [] ) : boolean Checks farm configuration integrity
checkInteger ( string $farmRoleId, string $name, string $value, string $title = null, string $min = null, string $max = null ) : integer | false Validate integer and set builder error if value is not valid
checkString ( string $farmRoleId, string $name, string $value, string $errorMessage, string $regexp ) : string | false Validate string using regular expression
getInitialSecurityGroupsList ( DBFarmRole $dbFarmRole )
getInstanceTypeHourlyRate ( string $platform, string $cloudLocation, string $instanceType, string $osFamily ) : float Gets instance type houry rate
isFarmConfigurationValid ( $farmId, array $farmSettings, array $roles = [] ) : boolean
isFarmRoleConfigurationValid ( )
setBuildError ( $setting, $message, $roleId = null, $isFinal = false )

Method Details

getFarm2() public méthode

public getFarm2 ( $farmId )

hasAccess() public méthode

See also: Scalr_UI_Controller::hasAccess()
public hasAccess ( )

xBuildAction() public méthode

public xBuildAction ( )

xGetInstanceTypeHourlyRateAction() public méthode

public xGetInstanceTypeHourlyRateAction ( string $platform, string $cloudLocation, string $instanceType, string $osFamily ) : float
$platform string
$cloudLocation string
$instanceType string
$osFamily string
Résultat float

xGetRoleChefSettingsAction() public méthode

public xGetRoleChefSettingsAction ( integer $roleId )
$roleId integer

xGetScriptsAction() public méthode

public xGetScriptsAction ( integer $roleId )
$roleId integer

xGetStorageConfigAction() public méthode

xGetTeamsAction() public méthode

public xGetTeamsAction ( )

xListElasticLoadBalancersAction() public méthode

public xListElasticLoadBalancersAction ( string $cloudLocation, string $placement = null )
$cloudLocation string Ec2 region
$placement string optional Placement

xListSecurityGroupsAction() public méthode

Lists security groups
public xListSecurityGroupsAction ( string $platform, string $cloudLocation, JsonData $filters = null )
$platform string Platform
$cloudLocation string Cloud location
$filters Scalr\UI\Request\JsonData

xRemoveStorageVolumeAction() public méthode

Property Details

$errors public_oe property

public $errors