Documentation ¶
Overview ¶
Package types contains the types that are used in the e2e tests
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestPlatform ¶
TestPlatform is the test "state" that allows for helper functions such as deferring the teardown step.
func NewTestPlatform ¶
func NewTestPlatform(t *testing.T) *TestPlatform
NewTestPlatform generates the test "state" object that allows for helper functions such as deferring the teardown step.
func (*TestPlatform) RunSSHCommand ¶
func (platform *TestPlatform) RunSSHCommand(command string) (string, error)
RunSSHCommand provides a simple way to run a shell command on the server that is created using Terraform.
func (*TestPlatform) RunSSHCommandAsSudo ¶
func (platform *TestPlatform) RunSSHCommandAsSudo(command string) (string, error)
RunSSHCommandAsSudo provides a simple way to run a shell command with sudo on the server that is created using Terraform.
func (*TestPlatform) Teardown ¶
func (platform *TestPlatform) Teardown()
Teardown brings down the Terraform infrastructure that was created.
Click to show internal directories.
Click to hide internal directories.