Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
EnvVarNotFound = errors.New("expected env var not set")
)
Functions ¶
Types ¶
type EC2Platform ¶
type EC2Platform struct { InstanceName string Region string InstanceType string TestFolder string SetupScript string }
func NewEC2Platform ¶
func (EC2Platform) RunSSHCommand ¶
func (platform EC2Platform) RunSSHCommand(t *testing.T, command string, asSudo bool) (string, error)
RunSSHCommand runs the given command on the given host via SSH, and return the stdout and stderr as a string.
Click to show internal directories.
Click to hide internal directories.