region

package
v0.1.91 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 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://codearts-check.cn-north-4.myhuaweicloud.com",
		"https://codearts-check.cn-north-4.myhuaweicloud.cn")
	CN_NORTH_1 = region.NewRegion("cn-north-1",
		"https://codearts-check.cn-north-1.myhuaweicloud.com",
		"https://codearts-check.cn-north-1.myhuaweicloud.cn")
	CN_EAST_2 = region.NewRegion("cn-east-2",
		"https://codearts-check.cn-east-2.myhuaweicloud.com",
		"https://codearts-check.cn-east-2.myhuaweicloud.cn")
	CN_SOUTH_1 = region.NewRegion("cn-south-1",
		"https://codearts-check.cn-south-1.myhuaweicloud.com",
		"https://codearts-check.cn-south-1.myhuaweicloud.cn")
	CN_EAST_3 = region.NewRegion("cn-east-3",
		"https://codearts-check.cn-east-3.myhuaweicloud.com",
		"https://codearts-check.cn-east-3.myhuaweicloud.cn")
	LA_NORTH_2 = region.NewRegion("la-north-2",
		"https://codearts-check.la-north-2.myhuaweicloud.com")
	SA_BRAZIL_1 = region.NewRegion("sa-brazil-1",
		"https://codearts-check.sa-brazil-1.myhuaweicloud.com")
	AP_SOUTHEAST_3 = region.NewRegion("ap-southeast-3",
		"https://codearts-check.ap-southeast-3.myhuaweicloud.com")
)

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