PHP Class DataSift\Storyplayer\HostLib\Blackboxes

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 $groupDef ) : string
isRunning ( stdClass $vmDetails ) : boolean
powerOffHost ( stdClass $groupDef ) : void
restartHost ( stdClass $groupDef ) : void
runCommandAgainstHostManager ( stdClass $groupDef, string $command ) : CommandResult
runCommandViaHostManager ( stdClass $groupDef, string $command ) : CommandResult
startHost ( stdClass $groupDef ) : void
stopHost ( stdClass $groupDef ) : 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 $groupDef ) : string
$groupDef stdClass
return string

isRunning() public method

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

powerOffHost() public method

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

restartHost() public method

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

runCommandAgainstHostManager() public method

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

runCommandViaHostManager() public method

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

startHost() public method

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

stopHost() public method

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

Property Details

$st protected_oe property

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