PHP Интерфейс Deployer\Builder\BuilderInterface

Показать файл Открыть проект Примеры использования интерфейса

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

Метод Описание
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