Documentation ¶
Index ¶
- Variables
- func FindFileBasename(extensions ...string) (string, error)
- func FormatDuration(ns int64) string
- func FormatSize(bytes int) string
- func GetHFileFromDownloads(basefilename string)
- func GetName(i int) string
- func Run(servers []*models.Server, params ...string) error
- func Send(destServer *models.Server, path string, input interface{}, output interface{}, ...) error
- func SendAll(servers []*models.Server, path string, input interface{}, outputs interface{}, ...) error
- func Upload(srcFile, destFile string, servers ...*models.Server) error
Constants ¶
This section is empty.
Variables ¶
View Source
var SSHParams = []string{
"-o",
"UserKnownHostsFile=/dev/null",
"-o",
"StrictHostKeyChecking=no",
"-o",
"LogLevel=ERROR",
"-o",
"ForwardAgent=yes",
}
Functions ¶
func FindFileBasename ¶
func FormatDuration ¶
func FormatSize ¶
func GetHFileFromDownloads ¶
func GetHFileFromDownloads(basefilename string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.