test_helpers

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2014 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TEST_NOTES_PREFIX = "TEST:softlayer-go"
	TEST_LABEL_PREFIX = "TEST:softlayer-go"

	MAX_WAIT_RETRIES = 10
	WAIT_TIME        = 5
)

Variables

This section is empty.

Functions

func CreateAccountService

func CreateAccountService() (softlayer.SoftLayer_Account_Service, error)

func FindAndDeleteTestSshKeys

func FindAndDeleteTestSshKeys() error

func FindAndDeleteTestVirtualGuests

func FindAndDeleteTestVirtualGuests() ([]int, error)

func FindTestNetworkStorage

func FindTestNetworkStorage() ([]datatypes.SoftLayer_Network_Storage, error)

func FindTestSshKeys

func FindTestSshKeys() ([]datatypes.SoftLayer_Security_Ssh_Key, error)

func FindTestVirtualDiskImages

func FindTestVirtualDiskImages() ([]datatypes.SoftLayer_Virtual_Disk_Image, error)

func FindTestVirtualGuests

func FindTestVirtualGuests() ([]datatypes.SoftLayer_Virtual_Guest, error)

func GetUsernameAndApiKey

func GetUsernameAndApiKey() (string, string, error)

func MarkVirtualGuestAsTest

func MarkVirtualGuestAsTest(virtualGuest datatypes.SoftLayer_Virtual_Guest) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL