Documentation ¶
Index ¶
- Constants
- func DownloadSftpFile(uri string, privateKeys map[string]string, dstFile *os.File) error
- func GetFileBytes(uri string, certPath string, privateKeys map[string]string) ([]byte, error)
- func GetHttpReadCloser(uri string, scheme string, certDir string) (io.ReadCloser, error)
- func NewSshClientConfig(user string, host string, port int, privateKeyPath string, ...) (*ssh.ClientConfig, error)
- func UploadSftpFile(srcPath string, uri string, privateKeys map[string]string) error
- type ParsedSftpUri
Constants ¶
View Source
const DefaultSshPort int = 22
View Source
const UriSchemeFile string = "file"
View Source
const UriSchemeHttp string = "http"
View Source
const UriSchemeHttps string = "https"
View Source
const UriSchemeSftp string = "sftp"
Variables ¶
This section is empty.
Functions ¶
func DownloadSftpFile ¶
func GetFileBytes ¶
func GetHttpReadCloser ¶
func NewSshClientConfig ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.