Documentation ¶
Index ¶
- func IsValidURL(urlPath string) bool
- func SSHConnect(sshInfo ezcfg.SSHInfo, hostIP string) (*ssh.Session, *ssh.Client, *ssh.Client, error)
- func SSHRunCmd(sshInfo ezcfg.SSHInfo, hostIP string, runCmd string, outputFilePath string) error
- func SSHTransferFile(sshInfo ezcfg.SSHInfo, hostIP string, srcFilePath string, dstPath string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidURL ¶
IsValidURL - check whether a given url is valid
func SSHConnect ¶
func SSHConnect(sshInfo ezcfg.SSHInfo, hostIP string) (*ssh.Session, *ssh.Client, *ssh.Client, error)
SSHConnect - Utility function to create a ssh connection using information (credentials) provided
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.