env

package
v0.0.29-beta Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2020 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AkEnvName        = "HUAWEICLOUD_SDK_AK"
	SkEnvName        = "HUAWEICLOUD_SDK_SK"
	ProjectIdEnvName = "HUAWEICLOUD_SDK_PROJECT_ID"
	DomainIdEnvName  = "HUAWEICLOUD_SDK_DOMAIN_ID"

	BasicCredentialType  = "basic.Credentials"
	GlobalCredentialType = "global.Credentials"
)

Variables

This section is empty.

Functions

func LoadCredentialFromEnv

func LoadCredentialFromEnv(defaultType string) auth.ICredential

Types

This section is empty.

Jump to

Keyboard shortcuts

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