PHP 클래스 Scalr_UI_Controller_Farms_Builder

상속: extends Scalr_UI_Controller
파일 보기 프로젝트 열기: scalr/scalr

공개 프로퍼티들

프로퍼티 타입 설명
$errors

공개 메소드들

메소드 설명
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 ( )

비공개 메소드들

메소드 설명
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 )

메소드 상세

getFarm2() 공개 메소드

public getFarm2 ( $farmId )

hasAccess() 공개 메소드

또한 보기: Scalr_UI_Controller::hasAccess()
public hasAccess ( )

xBuildAction() 공개 메소드

public xBuildAction ( )

xGetInstanceTypeHourlyRateAction() 공개 메소드

public xGetInstanceTypeHourlyRateAction ( string $platform, string $cloudLocation, string $instanceType, string $osFamily ) : float
$platform string
$cloudLocation string
$instanceType string
$osFamily string
리턴 float

xGetRoleChefSettingsAction() 공개 메소드

public xGetRoleChefSettingsAction ( integer $roleId )
$roleId integer

xGetScriptsAction() 공개 메소드

public xGetScriptsAction ( integer $roleId )
$roleId integer

xGetStorageConfigAction() 공개 메소드

xGetTeamsAction() 공개 메소드

public xGetTeamsAction ( )

xListElasticLoadBalancersAction() 공개 메소드

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

xListSecurityGroupsAction() 공개 메소드

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() 공개 메소드

프로퍼티 상세

$errors 공개적으로 프로퍼티

public $errors