Documentation ¶
Index ¶
- func GetFileInRemotePath(scid string, conf config.SSHConfig, remotePath string, localPath string) error
- func GetFilesInRemoteDir(scid string, conf config.SSHConfig, remoteDir string, localDir string) error
- func GetFtpClient(client *ssh.Client) (*sftp.Client, error)
- func GetNebulaComponentStatus(ipAddress string, port int) ([]string, error)
- func GetNebulaConfigs(ipAddress string, port int) ([]string, error)
- func GetNebulaMetrics(ipAddress string, port int) ([]string, error)
- type ExecuteResult
- type SSHClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFileInRemotePath ¶
func GetFileInRemotePath(scid string, conf config.SSHConfig, remotePath string, localPath string) error
TODO
func GetFilesInRemoteDir ¶
Types ¶
type ExecuteResult ¶
type SSHClient ¶
func (*SSHClient) ExecuteAsync ¶
func (c *SSHClient) ExecuteAsync(cmd string, ch chan<- ExecuteResult)
Click to show internal directories.
Click to hide internal directories.