Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SFTPClient ¶
type SFTPClient struct { Remote *SFTPRemote Conn *ssh.Client Client *sftp.Client }
func SFTPGetClient ¶
func SFTPGetClient(signingConf certs.SigningConfig, homeDir, remoteString, defaultPath string) (*SFTPClient, error)
func (*SFTPClient) Close ¶
func (s *SFTPClient) Close() error
type SFTPRemote ¶
type SFTPRemote struct { SSHConfig ssh.ClientConfig Host string Port string Path string }
func ParseSFTPRemote ¶
func ParseSFTPRemote(signingConf certs.SigningConfig, homeDir, remote, defaultPath string) (*SFTPRemote, error)
Click to show internal directories.
Click to hide internal directories.