env

package
v0.0.0-...-86a80c6 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0, Apache-2.0, BSD-2-Clause, + 1 more 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