region

package
v0.1.121 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CN_NORTH_4 = region.NewRegion("cn-north-4",
		"https://eps.myhuaweicloud.com",
		"https://eps.myhuaweicloud.cn")
	EU_WEST_101 = region.NewRegion("eu-west-101",
		"https://eps.eu-west-101.myhuaweicloud.eu")
	RU_MOSCOW_1 = region.NewRegion("ru-moscow-1",
		"https://eps.ru-moscow-1.myhuaweicloud.com",
		"https://eps.ru-moscow-1.myhuaweicloud.cn")
)

Functions

func SafeValueOf added in v0.1.84

func SafeValueOf(regionId string) (region *region.Region, err error)

func ValueOf deprecated

func ValueOf(regionId string) *region.Region

Deprecated: This function may panic under certain circumstances. Use SafeValueOf instead.

Types

This section is empty.

Jump to

Keyboard shortcuts

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