PHP 클래스 DataSift\Storyplayer\ProvisioningLib\Provisioners\DsbuildProvisioner

저자: Stuart Herbert ([email protected])
상속: extends Provisioner
파일 보기 프로젝트 열기: datasift/storyplayer

공개 메소드들

메소드 설명
__construct ( StoryTeller $st )
buildDefinitionFor ( $env )
provisionHosts ( DataSift\Storyplayer\ProvisioningLib\ProvisioningDefinition $hosts, $provConfig )

보호된 메소드들

메소드 설명
flattenData ( mixed $inputData, string $prefix = "" ) : array converts a tree of data into underscore_notation
getDsbuildFilename ( string $baseFolder, DataSift\Stone\ObjectLib\BaseObject $provConfig, string $hostId ) : string | null find the provisioning script to run for a given hostId
writeDsbuildParamsShellFile ( array $vars )
writeDsbuildParamsYamlFile ( array $vars )

메소드 상세

__construct() 공개 메소드

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

buildDefinitionFor() 공개 메소드

public buildDefinitionFor ( $env )

flattenData() 보호된 메소드

converts a tree of data into underscore_notation
protected flattenData ( mixed $inputData, string $prefix = "" ) : array
$inputData mixed the data to flatten
$prefix string the path to the parent of the inputData
리턴 array the flattened data

getDsbuildFilename() 보호된 메소드

find the provisioning script to run for a given hostId
protected getDsbuildFilename ( string $baseFolder, DataSift\Stone\ObjectLib\BaseObject $provConfig, string $hostId ) : string | null
$baseFolder string the folder we should look in
$provConfig DataSift\Stone\ObjectLib\BaseObject the "provisioning" section from the test environment config
$hostId string the ID of the host that we are provisioning
리턴 string | null path to the file to execute

provisionHosts() 공개 메소드

public provisionHosts ( DataSift\Storyplayer\ProvisioningLib\ProvisioningDefinition $hosts, $provConfig )
$hosts DataSift\Storyplayer\ProvisioningLib\ProvisioningDefinition

writeDsbuildParamsShellFile() 보호된 메소드

protected writeDsbuildParamsShellFile ( array $vars )
$vars array

writeDsbuildParamsYamlFile() 보호된 메소드

protected writeDsbuildParamsYamlFile ( array $vars )
$vars array