Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Region ¶
type Region string
Region represents the sauce labs region.
const EUCentral1 Region = "eu-central-1"
EUCentral1 is a sauce labs region in the EU, aka eu-central-1.
const None Region = ""
None is an undefined sauce labs region.
const Staging Region = "staging"
Staging is a sauce labs internal pre-production environment.
const USEast4 Region = "us-east-4"
USEast4 is a sauce labs region in eastern US, aka us-east-4.
const USWest1 Region = "us-west-1"
USWest1 is a sauce labs region in western US, aka us-west-1.
func FromString ¶
FromString converts the given string to the corresponding Region. Returns None if the string did not match any Region.
func (Region) APIBaseURL ¶
APIBaseURL returns the API base URL for the region.
func (Region) AppBaseURL ¶ added in v0.23.0
AppBaseURL returns the Aapp base URL for the region.
func (Region) Credentials ¶ added in v0.166.0
func (r Region) Credentials() iam.Credentials
func (Region) WebDriverBaseURL ¶ added in v0.99.0
WebDriverBaseURL returns the webdriver base URL for the region.
Click to show internal directories.
Click to hide internal directories.