PHP 클래스 Scalr_Service_Chef_Client

파일 보기 프로젝트 열기: scalr/scalr 1 사용 예제들

공개 메소드들

메소드 설명
__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 = [] )

비공개 메소드들

메소드 설명
request ( $path, $method, $data = "" )

메소드 상세

__construct() 공개 메소드

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

createClient() 공개 메소드

public createClient ( $name )

createEnvironment() 공개 메소드

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

createRole() 공개 메소드

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

getChef() 공개 정적인 메소드

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

getClient() 공개 메소드

public getClient ( $name = '' )

getCookbook() 공개 메소드

public getCookbook ( $name )

getEnvironment() 공개 메소드

public getEnvironment ( $name )

getRole() 공개 메소드

public getRole ( $name )

listCookbooks() 공개 메소드

public listCookbooks ( $env = '' )

listEnvironmentRecipes() 공개 메소드

public listEnvironmentRecipes ( $env = '' )

listEnvironments() 공개 메소드

public listEnvironments ( )

listRecipes() 공개 메소드

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

listRoles() 공개 메소드

public listRoles ( )

removeClient() 공개 메소드

public removeClient ( $name )

removeEnvironment() 공개 메소드

public removeEnvironment ( $name )

removeNode() 공개 메소드

public removeNode ( $name )

removeRole() 공개 메소드

public removeRole ( $name )

sign() 공개 메소드

public sign ( $string )

updateEnvironment() 공개 메소드

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

updateRole() 공개 메소드

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