PHP Класс Deployer\Server\Builder

Наследование: implements Deployer\Builder\BuilderInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$env Environment

Открытые методы

Метод Описание
__construct ( Configuration $config, Environment $env ) Construct
configFile ( $file = '~/.ssh/config' )
forwardAgent ( )
host ( string $host ) : Deployer\Builder\BuilderInterface Define server host
identityFile ( $publicKeyFile = '~/.ssh/id_rsa.pub', $privateKeyFile = '~/.ssh/id_rsa', $passPhrase = '' )
identityFileAndPassword ( string $publicKeyFile = '~/.ssh/id_rsa.pub', string $privateKeyFile = '~/.ssh/id_rsa', string $passPhrase = '', string $password = null ) : Deployer\Builder\BuilderInterface Authenticate with public key + password (2-factor)
password ( $password = null )
pemFile ( $pemFile )
port ( integer $port ) : Deployer\Builder\BuilderInterface Define server port
set ( $name, $value )
ssh2Pty ( $ssh2Pty ) : Deployer\Builder\BuilderInterface Use pty in ssh2 connection
stage ( $stages )
user ( $name )

Приватные методы

Метод Описание
checkPassword ( mixed $password ) : mixed Check password valid

Описание методов

__construct() публичный Метод

Construct
public __construct ( Configuration $config, Environment $env )
$config Configuration
$env Environment

configFile() публичный Метод

public configFile ( $file = '~/.ssh/config' )

forwardAgent() публичный Метод

public forwardAgent ( )

host() публичный Метод

Define server host
public host ( string $host ) : Deployer\Builder\BuilderInterface
$host string
Результат Deployer\Builder\BuilderInterface

identityFile() публичный Метод

public identityFile ( $publicKeyFile = '~/.ssh/id_rsa.pub', $privateKeyFile = '~/.ssh/id_rsa', $passPhrase = '' )

identityFileAndPassword() публичный Метод

Authenticate with public key + password (2-factor)
public identityFileAndPassword ( string $publicKeyFile = '~/.ssh/id_rsa.pub', string $privateKeyFile = '~/.ssh/id_rsa', string $passPhrase = '', string $password = null ) : Deployer\Builder\BuilderInterface
$publicKeyFile string
$privateKeyFile string
$passPhrase string
$password string
Результат Deployer\Builder\BuilderInterface

password() публичный Метод

public password ( $password = null )

pemFile() публичный Метод

public pemFile ( $pemFile )

port() публичный Метод

Define server port
public port ( integer $port ) : Deployer\Builder\BuilderInterface
$port integer
Результат Deployer\Builder\BuilderInterface

set() публичный Метод

public set ( $name, $value )

ssh2Pty() публичный Метод

Use pty in ssh2 connection
public ssh2Pty ( $ssh2Pty ) : Deployer\Builder\BuilderInterface
$ssh2Pty
Результат Deployer\Builder\BuilderInterface

stage() публичный Метод

public stage ( $stages )

user() публичный Метод

public user ( $name )

Описание свойств

$env защищенное свойство

protected Environment,Deployer\Server $env
Результат Environment