Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // ConnectionString - user@host for ssh command ConnectionString string // WaitInterval - run command every N seconds to check the output WaitInterval time.Duration // WaitTimeout - consider command to fail after this timeout exceeded WaitTimeout time.Duration // contains filtered or unexported fields }
Client - wrapper to run bash commands over ssh
func (*Client) ExecAndWaitRegExp ¶
ExecAndWaitRegExp - wait command output to to satisfy regex or return error on timeout
Click to show internal directories.
Click to hide internal directories.