common

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var APPVersion string
View Source
var AccessKey string
View Source
var ECSRegions []ecs.Region
View Source
var STSAccessKey string
View Source
var STSSecretKey string
View Source
var STSToken string
View Source
var SecretKey string
View Source
var UseSTS bool
View Source
var Verbose bool

Functions

func GetEcsClient

func GetEcsClient(regionId string) (*ecs.Client, error)

GetEcsClient 获取ECS 客户端

func GetRamClient added in v1.0.5

func GetRamClient() (*ram.Client, error)

GetRamClient 获取RAM客户端

func InitEcsRegions

func InitEcsRegions() bool

InitEcsRegions 初始化区域信息表

func Logger

func Logger() *zap.Logger

func ShowRegions

func ShowRegions()

ShowRegions 显示地域信息

Types

This section is empty.

Jump to

Keyboard shortcuts

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