PHP Class DataSift\Storyplayer\HostLib\VagrantVms

Inheritance: implements DataSift\Storyplayer\HostLib\SupportedHost
Afficher le fichier Open project: datasift/storyplayer

Protected Properties

Свойство Type Description
$st DataSift\Storyplayer\PlayerLib\StoryTeller

Méthodes publiques

Méthode Description
__construct ( StoryTeller $st )
createHost ( stdClass $groupDef, array $provisioningVars = [] ) : void
destroyHost ( stdClass $groupDef ) : void
determineBridgedInterface ( ) : string
determineHostname ( stdClass $vmDetails ) : string
determineIpAddress ( stdClass $vmDetails ) : string
determinePrivateKey ( $vmDetails )
isRunning ( stdClass $envDetails ) : boolean
powerOffHost ( stdClass $envDetails ) : void
restartHost ( stdClass $envDetails ) : void
runCommandAgainstHostManager ( string $baseFolder, string $command ) : CommandResult
runCommandViaHostManager ( string $baseFolder, string $command ) : CommandResult
setVagrantBridgedInterface ( ) Set the VAGRANT_BRIDGE_ADAPTER and VIRTUALBOX_BRIDGE_ADAPTER environmental variables.
startHost ( stdClass $envDetails ) : void
stopHost ( stdClass $envDetails ) : void

Méthodes protégées

Méthode Description
checkGroupDefinition ( stdClass $groupDef ) Check environmental details
getVagrantDir ( stdClass $groupDef ) : string Get the Vagrant directory

Method Details

__construct() public méthode

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

checkGroupDefinition() protected méthode

Check environmental details
protected checkGroupDefinition ( stdClass $groupDef )
$groupDef stdClass

createHost() public méthode

public createHost ( stdClass $groupDef, array $provisioningVars = [] ) : void
$groupDef stdClass
$provisioningVars array
Résultat void

destroyHost() public méthode

public destroyHost ( stdClass $groupDef ) : void
$groupDef stdClass
Résultat void

determineBridgedInterface() public méthode

public determineBridgedInterface ( ) : string
Résultat string

determineHostname() public méthode

public determineHostname ( stdClass $vmDetails ) : string
$vmDetails stdClass
Résultat string

determineIpAddress() public méthode

public determineIpAddress ( stdClass $vmDetails ) : string
$vmDetails stdClass
Résultat string

determinePrivateKey() public méthode

public determinePrivateKey ( $vmDetails )

getVagrantDir() protected méthode

Get the Vagrant directory
protected getVagrantDir ( stdClass $groupDef ) : string
$groupDef stdClass
Résultat string

isRunning() public méthode

public isRunning ( stdClass $envDetails ) : boolean
$envDetails stdClass
Résultat boolean

powerOffHost() public méthode

public powerOffHost ( stdClass $envDetails ) : void
$envDetails stdClass
Résultat void

restartHost() public méthode

public restartHost ( stdClass $envDetails ) : void
$envDetails stdClass
Résultat void

runCommandAgainstHostManager() public méthode

public runCommandAgainstHostManager ( string $baseFolder, string $command ) : CommandResult
$baseFolder string
$command string
Résultat DataSift\Storyplayer\CommandLib\CommandResult

runCommandViaHostManager() public méthode

public runCommandViaHostManager ( string $baseFolder, string $command ) : CommandResult
$baseFolder string
$command string
Résultat DataSift\Storyplayer\CommandLib\CommandResult

setVagrantBridgedInterface() public méthode

Set the VAGRANT_BRIDGE_ADAPTER and VIRTUALBOX_BRIDGE_ADAPTER environmental variables.

startHost() public méthode

public startHost ( stdClass $envDetails ) : void
$envDetails stdClass
Résultat void

stopHost() public méthode

public stopHost ( stdClass $envDetails ) : void
$envDetails stdClass
Résultat void

Property Details

$st protected_oe property

protected StoryTeller,DataSift\Storyplayer\PlayerLib $st
Résultat DataSift\Storyplayer\PlayerLib\StoryTeller