Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Region ¶
type Region uint
Region represents the sauce labs region.
const ( // None is an undefined sauce labs region. None Region = iota // USWest1 is a sauce labs region in western US, aka us-west-1. USWest1 // USEast4 is a sauce labs region in eastern US, aka us-east-4. USEast4 // EUCentral1 is a sauce labs region in the EU, aka eu-central-1. EUCentral1 // Staging is a sauce labs internal pre-production environment. Staging )
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) 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.