PHP 클래스 Deployer\Server\Configuration

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

공개 메소드들

메소드 설명
__construct ( string $name, string $host, integer $port = 22 ) Construct
getAuthenticationMethod ( ) : integer Get authentication method
getConfigFile ( ) : string Get configuration file
getHost ( ) : string Get host for connection
getName ( ) : string Get name
getPassPhrase ( ) : string Get pass phrase
getPassword ( ) : string Get password for connection
getPemFile ( ) : string Get pem file
getPort ( ) : integer Get port
getPrivateKey ( ) : string Get private key
getPublicKey ( ) : string Get public key
getSsh2Pty ( ) : mixed Get pty option for ssh2 connection
getUser ( ) : string Get user
setAuthenticationMethod ( integer $authenticationMethod ) : Configuration Set authentication method
setConfigFile ( string $configFile ) : Configuration Set configuration file
setHost ( string $host ) : Configuration Set host for connection
setName ( string $name ) : Configuration Set name
setPassPhrase ( string $passPhrase ) : Configuration Set pass phrase
setPassword ( string $password ) : Configuration Set password for connection
setPemFile ( string $pemFile ) : Configuration To auth with pem file use pemFile() method instead of this.
setPort ( integer $port ) : Configuration Set port for connection
setPrivateKey ( string $path ) : Configuration Set private key
setPublicKey ( string $path ) : Configuration Set public key
setSsh2Pty ( $ssh2Pty ) Set pty for ssh2 connection
setUser ( string $user ) : Configuration Set user

비공개 메소드들

메소드 설명
getRealPassword ( mixed $password ) : string Get real password
parseHome ( string $path ) : string Parse "~" symbol from path.

메소드 상세

__construct() 공개 메소드

Construct
public __construct ( string $name, string $host, integer $port = 22 )
$name string
$host string
$port integer

getAuthenticationMethod() 공개 메소드

Get authentication method

getConfigFile() 공개 메소드

Get configuration file
public getConfigFile ( ) : string
리턴 string

getHost() 공개 메소드

Get host for connection
public getHost ( ) : string
리턴 string

getName() 공개 메소드

Get name
public getName ( ) : string
리턴 string

getPassPhrase() 공개 메소드

Get pass phrase
public getPassPhrase ( ) : string
리턴 string

getPassword() 공개 메소드

Get password for connection
public getPassword ( ) : string
리턴 string

getPemFile() 공개 메소드

Get pem file
public getPemFile ( ) : string
리턴 string

getPort() 공개 메소드

Get port
public getPort ( ) : integer
리턴 integer

getPrivateKey() 공개 메소드

Get private key
public getPrivateKey ( ) : string
리턴 string

getPublicKey() 공개 메소드

Get public key
public getPublicKey ( ) : string
리턴 string

getSsh2Pty() 공개 메소드

Get pty option for ssh2 connection
public getSsh2Pty ( ) : mixed
리턴 mixed

getUser() 공개 메소드

Get user
public getUser ( ) : string
리턴 string

setAuthenticationMethod() 공개 메소드

Set authentication method
public setAuthenticationMethod ( integer $authenticationMethod ) : Configuration
$authenticationMethod integer
리턴 Configuration

setConfigFile() 공개 메소드

Set configuration file
public setConfigFile ( string $configFile ) : Configuration
$configFile string
리턴 Configuration

setHost() 공개 메소드

Set host for connection
public setHost ( string $host ) : Configuration
$host string
리턴 Configuration

setName() 공개 메소드

Set name
public setName ( string $name ) : Configuration
$name string
리턴 Configuration

setPassPhrase() 공개 메소드

Set pass phrase
public setPassPhrase ( string $passPhrase ) : Configuration
$passPhrase string
리턴 Configuration

setPassword() 공개 메소드

Set password for connection
public setPassword ( string $password ) : Configuration
$password string
리턴 Configuration

setPemFile() 공개 메소드

To auth with pem file use pemFile() method instead of this.
public setPemFile ( string $pemFile ) : Configuration
$pemFile string
리턴 Configuration

setPort() 공개 메소드

Set port for connection
public setPort ( integer $port ) : Configuration
$port integer
리턴 Configuration

setPrivateKey() 공개 메소드

Set private key
public setPrivateKey ( string $path ) : Configuration
$path string
리턴 Configuration

setPublicKey() 공개 메소드

Set public key
public setPublicKey ( string $path ) : Configuration
$path string
리턴 Configuration

setSsh2Pty() 공개 메소드

Set pty for ssh2 connection
public setSsh2Pty ( $ssh2Pty )
$ssh2Pty

setUser() 공개 메소드

Set user
public setUser ( string $user ) : Configuration
$user string
리턴 Configuration