Documentation ¶
Index ¶
Constants ¶
View Source
const ( //DefaultPort to use for SSH session DefaultPort = 22 //DefaultUser to use for SSH session DefaultUser = "sles" )
Variables ¶
This section is empty.
Functions ¶
func InitializeScenario ¶
func InitializeScenario(ctx *godog.ScenarioContext)
InitializeScenario initialize feature object and steps
Types ¶
type Client ¶
type Client struct { Host string Port int64 Config *ssh.ClientConfig Cluster []byte Results []Result }
Client is SSH client object
func (*Client) RunCmdBlockOnHosts ¶
RunCmdBlockOnHosts run commands on remote hosts and save outputs in Result object
func (*Client) UploadFile ¶
UploadFile copy file from local machine to single host
func (*Client) UploadFileToHosts ¶
UploadFileToHosts copy file from local machine to hosts
Click to show internal directories.
Click to hide internal directories.