package
3.1.1+incompatible
Repository: https://github.com/gravitational/robotest.git
Documentation: pkg.go.dev

# Functions

CheckTimeSync verifies current time is in sync across nodes.
Client creates a new SSH client specified by addr and user.
Connect connects to remote SSH server and returns new session.
No description provided by the author
MakePrivateKeySignerFromFile creates a singer from the specified path.
MakePrivateKeySignerFromReader creates a singer from the specified reader.
No description provided by the author
No description provided by the author
PipeCommand will run a remote command and store as local file.
PutFile transfers local file to remote host directory.
Run is a simple method to run external program and don't care about its output or exit status.
RunAndParse runs remote SSH command cmd with environment variables set with env.
RunCommands executes commands sequentially.
RunCommandWithOutput executes the specified command in given session and streams session's Stderr/Stdout into w.
RunScript will run a .sh script on remote host if script should not be executed it should have internal flag files and terminate.
TestFile tests remote file using `test` command.
TransferFile takes file URL which may be S3 or HTTP or local file and transfers it to remote the machine fileUrl - file to download, could be S3:// or http(s)://.
WaitForFile waits for a test to become true against a remote file (or context to expire).
WaitTimeSync will ensure time is synchronized between the nodes provided otherwise an installation might fail we do not try to cross check times between nodes, but rather check their system clock drift from NTP source.

# Constants

No description provided by the author
TestDir file exists and is a directory.
TestRegularFile file exists and is a regular file.

# Structs

Cmd defines command to execute on remote host.
SshNode is ssh node client and logger.

# Interfaces

ExitStatusError describes the class of errors that report exit status.

# Type aliases

No description provided by the author