Method | Description | |
---|---|---|
determineHostname ( HostDetails $hostDetails, DataSift\Storyplayer\HostLib\SupportedHost $vm ) : string | ||
determineIpAddress ( HostDetails $hostDetails, DataSift\Storyplayer\HostLib\SupportedHost $vm ) : string | ||
downloadFile ( HostDetails $hostDetails, string $sourceFilename, string $destFilename ) : void | download a file from a (possibly) remote host to wherever Storyplayer is running | |
getFileDetails ( HostDetails $hostDetails, string $filename ) : stdClass | get details about a filesystem entry | |
getInstalledPackageDetails ( HostDetails $hostDetails, string $packageName ) : stdClass | ||
getPid ( HostDetails $hostDetails, string $processName ) : integer | ||
getProcessIsRunning ( HostDetails $hostDetails, string $processName ) : boolean | ||
runCommand ( HostDetails $hostDetails, string $command ) : |
||
uploadFile ( HostDetails $hostDetails, string $sourceFilename, string $destFilename ) : void | upload a file from wherever Storyplayer is running to the (possibly) remote host |
public determineHostname ( HostDetails $hostDetails, DataSift\Storyplayer\HostLib\SupportedHost $vm ) : string | ||
$hostDetails | HostDetails | |
$vm | DataSift\Storyplayer\HostLib\SupportedHost | |
return | string |
public determineIpAddress ( HostDetails $hostDetails, DataSift\Storyplayer\HostLib\SupportedHost $vm ) : string | ||
$hostDetails | HostDetails | |
$vm | DataSift\Storyplayer\HostLib\SupportedHost | |
return | string |
public getFileDetails ( HostDetails $hostDetails, string $filename ) : stdClass | ||
$hostDetails | HostDetails | the details of the host to query |
$filename | string | path to the file/folder to query |
return | stdClass |
public getInstalledPackageDetails ( HostDetails $hostDetails, string $packageName ) : stdClass | ||
$hostDetails | HostDetails | |
$packageName | string | |
return | stdClass |
public getProcessIsRunning ( HostDetails $hostDetails, string $processName ) : boolean | ||
$hostDetails | HostDetails | |
$processName | string | |
return | boolean |
public runCommand ( HostDetails $hostDetails, string $command ) : |
||
$hostDetails | HostDetails | |
$command | string | |
return |