region

package
v0.179.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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

func FromString(s string) Region

FromString converts the given string to the corresponding Region. Returns None if the string did not match any Region.

func (Region) APIBaseURL

func (r Region) APIBaseURL() string

APIBaseURL returns the API base URL for the region.

func (Region) AppBaseURL added in v0.23.0

func (r Region) AppBaseURL() string

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) String

func (r Region) String() string

func (Region) WebDriverBaseURL added in v0.99.0

func (r Region) WebDriverBaseURL() string

WebDriverBaseURL returns the webdriver base URL for the region.

Jump to

Keyboard shortcuts

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