PHP Class StackFormation\Profile\Manager

Afficher le fichier Open project: aoepeople/stackformation Class Usage Examples

Protected Properties

Свойство Type Description
$clients
$credentialProvider
$output
$sdk
$stackFactories

Méthodes publiques

Méthode Description
__construct ( YamlCredentialProvider $credentialProvider = null, Symfony\Component\Console\Output\OutputInterface $output = null )
getCfnClient ( $profile = null, array $args = [] ) : Aws\CloudFormation\CloudFormationClient
getClient ( string $client, string $profile = null, array $args = [] ) : Aws\AwsClientInterface
getEnvVarsFromProfile ( $profile )
getStackFactory ( $profile = null ) : StackFactory "StackFactory" Factory :)
listAllProfiles ( )
loadProfileToEnv ( $profile )
writeProfileToDotEnv ( $profile, $file = '.env' )

Méthodes protégées

Méthode Description
getSdk ( )
printDebug ( $client, $profile )

Private Methods

Méthode Description
getHttpHandler ( ) : Aws\Handler\GuzzleV6\GuzzleHandler

Method Details

__construct() public méthode

public __construct ( YamlCredentialProvider $credentialProvider = null, Symfony\Component\Console\Output\OutputInterface $output = null )
$credentialProvider YamlCredentialProvider
$output Symfony\Component\Console\Output\OutputInterface

getCfnClient() public méthode

public getCfnClient ( $profile = null, array $args = [] ) : Aws\CloudFormation\CloudFormationClient
$args array
Résultat Aws\CloudFormation\CloudFormationClient

getClient() public méthode

public getClient ( string $client, string $profile = null, array $args = [] ) : Aws\AwsClientInterface
$client string
$profile string
$args array
Résultat Aws\AwsClientInterface

getEnvVarsFromProfile() public méthode

public getEnvVarsFromProfile ( $profile )

getSdk() protected méthode

protected getSdk ( )

getStackFactory() public méthode

"StackFactory" Factory :)
public getStackFactory ( $profile = null ) : StackFactory
$profile
Résultat StackFormation\StackFactory

listAllProfiles() public méthode

public listAllProfiles ( )

loadProfileToEnv() public méthode

public loadProfileToEnv ( $profile )

printDebug() protected méthode

protected printDebug ( $client, $profile )

writeProfileToDotEnv() public méthode

public writeProfileToDotEnv ( $profile, $file = '.env' )

Property Details

$clients protected_oe property

protected $clients

$credentialProvider protected_oe property

protected $credentialProvider

$output protected_oe property

protected $output

$sdk protected_oe property

protected $sdk

$stackFactories protected_oe property

protected $stackFactories