PHP Класс Platformsh\Cli\Command\SshKey\SshKeyAddCommand

Наследование: extends Platformsh\Cli\Command\CommandBase
Показать файл Открыть проект

Защищенные методы

Метод Описание
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
getNewKeyPath ( integer $number = 1 ) : string Find the path for a new SSH key.
keyExistsByFingerprint ( string $fingerprint ) : boolean Check whether the SSH key already exists in the user's account.

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

configure() защищенный Метод

protected configure ( )

execute() защищенный Метод

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

getNewKeyPath() защищенный Метод

If the file already exists, this will recurse to find a new filename. The first will be "id_rsa", the second "id_rsa2", the third "id_rsa3", and so on.
protected getNewKeyPath ( integer $number = 1 ) : string
$number integer
Результат string

keyExistsByFingerprint() защищенный Метод

Check whether the SSH key already exists in the user's account.
protected keyExistsByFingerprint ( string $fingerprint ) : boolean
$fingerprint string The public key fingerprint (as an MD5 hash).
Результат boolean