util

package
v0.0.0-...-b8fcaed Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TencentCloudSecretID  = "TENCENTCLOUD_SECRET_ID"
	TencentCloudSecretKey = "TENCENTCLOUD_SECRET_KEY"
	LanguageCodeEnUs      = "en-US"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Credentials

type Credentials struct {
	Region      string
	Credentials common.CredentialIface
	Profile     *profile.ClientProfile
}

func NewCredentialsFromENV

func NewCredentialsFromENV() *Credentials

func (*Credentials) AsArgs

func (*Credentials) WithRegion

func (c *Credentials) WithRegion(region string) *Credentials

Jump to

Keyboard shortcuts

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