Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSshClient ¶
func PublicKeyFile ¶
func PublicKeyFile(file string) ssh.AuthMethod
Types ¶
type HostCmdRequest ¶
type HostCmdReturn ¶
func SshSession ¶
func SshSession(user string, keyFile string, targetUrl string, cmd string) *HostCmdReturn
func (HostCmdReturn) Dump ¶
func (hcr HostCmdReturn) Dump() []string
let's put in a method to make pretty output
type RunResult ¶
type RunResult struct { Summary map[string]int HostList []HostCmdReturn }
func ProcessList ¶
Click to show internal directories.
Click to hide internal directories.