PHP Class DataSift\Storyplayer\HostLib\PhysicalHosts

Inheritance: implements DataSift\Storyplayer\HostLib\SupportedHost
显示文件 Open project: datasift/storyplayer

Protected Properties

Property Type Description
$st DataSift\Storyplayer\PlayerLib\StoryTeller

Public Methods

Method Description
__construct ( StoryTeller $st )
createHost ( stdClass $groupDef, array $provisioningVars = [] ) : void
destroyHost ( stdClass $groupDef ) : void
determineIpAddress ( stdClass $vmDetails ) : string
isRunning ( stdClass $vmDetails ) : boolean
powerOffHost ( stdClass $envDetails ) : void
restartHost ( stdClass $envDetails ) : void
runCommandAgainstHostManager ( stdClass $envDetails, string $command ) : CommandResult
runCommandViaHostManager ( stdClass $envDetails, string $command ) : CommandResult
startHost ( stdClass $envDetails ) : void
stopHost ( stdClass $envDetails ) : void

Method Details

__construct() public method

public __construct ( StoryTeller $st )
$st DataSift\Storyplayer\PlayerLib\StoryTeller

createHost() public method

public createHost ( stdClass $groupDef, array $provisioningVars = [] ) : void
$groupDef stdClass
$provisioningVars array
return void

destroyHost() public method

public destroyHost ( stdClass $groupDef ) : void
$groupDef stdClass
return void

determineIpAddress() public method

public determineIpAddress ( stdClass $vmDetails ) : string
$vmDetails stdClass
return string

isRunning() public method

public isRunning ( stdClass $vmDetails ) : boolean
$vmDetails stdClass
return boolean

powerOffHost() public method

public powerOffHost ( stdClass $envDetails ) : void
$envDetails stdClass
return void

restartHost() public method

public restartHost ( stdClass $envDetails ) : void
$envDetails stdClass
return void

runCommandAgainstHostManager() public method

public runCommandAgainstHostManager ( stdClass $envDetails, string $command ) : CommandResult
$envDetails stdClass
$command string
return DataSift\Storyplayer\CommandLib\CommandResult

runCommandViaHostManager() public method

public runCommandViaHostManager ( stdClass $envDetails, string $command ) : CommandResult
$envDetails stdClass
$command string
return DataSift\Storyplayer\CommandLib\CommandResult

startHost() public method

public startHost ( stdClass $envDetails ) : void
$envDetails stdClass
return void

stopHost() public method

public stopHost ( stdClass $envDetails ) : void
$envDetails stdClass
return void

Property Details

$st protected_oe property

protected StoryTeller,DataSift\Storyplayer\PlayerLib $st
return DataSift\Storyplayer\PlayerLib\StoryTeller