Documentation
¶
Index ¶
- Variables
- func Connect(connection *connect.Connect) error
- func Create(connection *connect.Connect) error
- func Delete(connection *connect.Connect) error
- func Download(connection *connect.Connect, downloadRemoteFile string, ...) error
- func List() (*connect.Connections, error)
- func Update(connection *connect.Connect, oldAlias string) error
- func Upload(connection *connect.Connect, uploadLocalFile string, uploadRemoteFile string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrSshSession = errors.New("err ssh session") ErrSshConnect = errors.New("err ssh connect") ErrTypeConnect = errors.New("err type connect") )
View Source
var ( ErrConnectionByAliasExistsAtCreate = errors.New("connection by alias exists") ErrDeletePrivateKeyAtCreate = errors.New("err delete private key") ErrSavePrivateKeyAtCreate = errors.New("err save private key") ErrGetConnectionAtCreate = errors.New("err get connection") ErrSetConnectionAtCreate = errors.New("err set connection") )
View Source
var ( ErrNotFoundConnectionAtDelete = errors.New("err found connection") ErrGetConnectionAtDelete = errors.New("err get connection") ErrSetConnectionAtDelete = errors.New("err set connection") )
View Source
var ( ErrNotFoundConnectionAtUpdate = errors.New("err not found connection") ErrSavePrivateKeyAtUpdate = errors.New("err save private key") ErrGetConnectionAtUpdate = errors.New("err get connection") ErrSetConnectionAtUpdate = errors.New("err set connection") )
View Source
var ErrGetConnectionAtList = errors.New("err get connections")
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.