PHP 인터페이스 Deployer\Builder\BuilderInterface

파일 보기 프로젝트 열기: elfet/deployer 0 사용 예제들

공개 메소드들

메소드 설명
configFile ( string $file = '~/.ssh/config' ) : Deployer\Builder\BuilderInterface If you use an ssh config file you can user it.
forwardAgent ( ) : Deployer\Builder\BuilderInterface Using forward agent to authentication
identityFile ( string $publicKeyFile = '~/.ssh/id_rsa.pub', string $privateKeyFile = '~/.ssh/id_rsa', string $passPhrase = '' ) : Deployer\Builder\BuilderInterface Authenticate with public key
password ( string | null | Deployer\Server\Password\PasswordGetterInterface $password = null ) : Deployer\Builder\BuilderInterface Set password for connection
pemFile ( string $pemFile ) : Deployer\Builder\BuilderInterface
set ( string $name, array | integer | string $value ) : Deployer\Builder\BuilderInterface Set server configuration.
stage ( string | array $stages ) : Deployer\Builder\BuilderInterface
user ( string $name ) : Deployer\Builder\BuilderInterface Define user name for authentication.

메소드 상세

configFile() 공개 메소드

If you use an ssh config file you can user it.
public configFile ( string $file = '~/.ssh/config' ) : Deployer\Builder\BuilderInterface
$file string Config file path
리턴 Deployer\Builder\BuilderInterface

forwardAgent() 공개 메소드

Using forward agent to authentication
public forwardAgent ( ) : Deployer\Builder\BuilderInterface
리턴 Deployer\Builder\BuilderInterface

identityFile() 공개 메소드

Authenticate with public key
public identityFile ( string $publicKeyFile = '~/.ssh/id_rsa.pub', string $privateKeyFile = '~/.ssh/id_rsa', string $passPhrase = '' ) : Deployer\Builder\BuilderInterface
$publicKeyFile string
$privateKeyFile string
$passPhrase string
리턴 Deployer\Builder\BuilderInterface

password() 공개 메소드

Set password for connection
public password ( string | null | Deployer\Server\Password\PasswordGetterInterface $password = null ) : Deployer\Builder\BuilderInterface
$password string | null | Deployer\Server\Password\PasswordGetterInterface If you did not define password it will be asked on connection.
리턴 Deployer\Builder\BuilderInterface

pemFile() 공개 메소드

public pemFile ( string $pemFile ) : Deployer\Builder\BuilderInterface
$pemFile string
리턴 Deployer\Builder\BuilderInterface

set() 공개 메소드

Set server configuration.
public set ( string $name, array | integer | string $value ) : Deployer\Builder\BuilderInterface
$name string
$value array | integer | string
리턴 Deployer\Builder\BuilderInterface

stage() 공개 메소드

public stage ( string | array $stages ) : Deployer\Builder\BuilderInterface
$stages string | array
리턴 Deployer\Builder\BuilderInterface

user() 공개 메소드

Define user name for authentication.
public user ( string $name ) : Deployer\Builder\BuilderInterface
$name string
리턴 Deployer\Builder\BuilderInterface