Documentation
¶
Index ¶
- Constants
- func GetDefaultDSAFilePath() string
- func GetDefaultRSAFilePath() string
- func GetInstances(c []string) ([]*ec2.Instance, error)
- func GetUsername() string
- func RenderOutput(header, content string, quite bool)
- func SshExec(hostaddr, username, password, rsaFilePath, dsaFilePath, cmd string, ...) (err error, rc int, stdout, stderr string)
- type Results
Constants ¶
View Source
const ( ECHO = 53 TTY_OP_ISPEED = 128 TTY_OP_OSPEED = 129 )
Variables ¶
This section is empty.
Functions ¶
func GetDefaultDSAFilePath ¶
func GetDefaultDSAFilePath() string
func GetDefaultRSAFilePath ¶
func GetDefaultRSAFilePath() string
func GetUsername ¶
func GetUsername() string
GetUsername return the current username for the running user or empty string in case error
func RenderOutput ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.