package
0.0.0-20211027061141-d37606759e16
Repository: https://github.com/crazy-canux/go-devops.git
Documentation: pkg.go.dev

# Functions

It has a default timeout of one minute.
use username and password.
user username and password with timeout.
Returns a new ssh.Client with provides host, ssh.ClientConfig and timeout.
Creates a new client configurer.
No description provided by the author
Reads from the given reader (assuming it is the output of the remote) and parses it into a Response structure.
No description provided by the author
PrivateKey Loads a private and public key from "path" and returns a SSH ClientConfig to authenticate with the server.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
A struct containing all the configuration options.
There are tree types of responses that the remote can send back: ok, warning and error The difference between warning and error is that the connection is not closed by the remote, however, a warning can indicate a file transfer failure (such as invalid destination directory) and such be handled as such.

# Type aliases

No description provided by the author