PHP Class Scalr_Service_Chef_Client

Afficher le fichier Open project: scalr/scalr Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $url, $username, $privateKey )
createClient ( $name )
createEnvironment ( $name, $description, $cookbook, $attributes )
createRole ( $name, $description, $runList, $attributes, $environment = [] )
getChef ( $url, $username, $privateKey )
getClient ( $name = '' )
getCookbook ( $name )
getEnvironment ( $name )
getRole ( $name )
listCookbooks ( $env = '' )
listEnvironmentRecipes ( $env = '' )
listEnvironments ( )
listRecipes ( $cookbookName, $cookbookVersion = '_latest' )
listRoles ( )
removeClient ( $name )
removeEnvironment ( $name )
removeNode ( $name )
removeRole ( $name )
sign ( $string )
updateEnvironment ( $name, $description, $cookbook, $attributes )
updateRole ( $name, $description, $runList, $attributes, $environment = [] )

Private Methods

Méthode Description
request ( $path, $method, $data = "" )

Method Details

__construct() public méthode

public __construct ( $url, $username, $privateKey )

createClient() public méthode

public createClient ( $name )

createEnvironment() public méthode

public createEnvironment ( $name, $description, $cookbook, $attributes )

createRole() public méthode

public createRole ( $name, $description, $runList, $attributes, $environment = [] )

getChef() public static méthode

public static getChef ( $url, $username, $privateKey )

getClient() public méthode

public getClient ( $name = '' )

getCookbook() public méthode

public getCookbook ( $name )

getEnvironment() public méthode

public getEnvironment ( $name )

getRole() public méthode

public getRole ( $name )

listCookbooks() public méthode

public listCookbooks ( $env = '' )

listEnvironmentRecipes() public méthode

public listEnvironmentRecipes ( $env = '' )

listEnvironments() public méthode

public listEnvironments ( )

listRecipes() public méthode

public listRecipes ( $cookbookName, $cookbookVersion = '_latest' )

listRoles() public méthode

public listRoles ( )

removeClient() public méthode

public removeClient ( $name )

removeEnvironment() public méthode

public removeEnvironment ( $name )

removeNode() public méthode

public removeNode ( $name )

removeRole() public méthode

public removeRole ( $name )

sign() public méthode

public sign ( $string )

updateEnvironment() public méthode

public updateEnvironment ( $name, $description, $cookbook, $attributes )

updateRole() public méthode

public updateRole ( $name, $description, $runList, $attributes, $environment = [] )