connectivity

package
v0.0.0-...-03f397b Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2023 License: LGPL-2.1 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadClientFromEnv

func LoadClientFromEnv() error

Types

type TencentCloudClient

type TencentCloudClient struct {
	Region    string `env:"TX_CLOUD_REGION"`
	SecretID  string `env:"TX_CLOUD_SECRET_ID"`
	SecretKey string `env:"TX_CLOUD_SECRET_KEY"`
	// contains filtered or unexported fields
}

TencentCloudClient client for all TencentCloud service

func C

func C() *TencentCloudClient

func NewTencentCloudClient

func NewTencentCloudClient(credentialID, credentialKey, region string) *TencentCloudClient

NewTencentCloudClient client

func (*TencentCloudClient) Account

func (me *TencentCloudClient) Account() (string, error)

获取客户端账号ID

func (*TencentCloudClient) AuditClient

func (me *TencentCloudClient) AuditClient() *cloudaudit.Client

UseCvmClient cvm

func (*TencentCloudClient) BillingClient

func (me *TencentCloudClient) BillingClient() *billing.Client

UseBillingClient billing客户端

func (*TencentCloudClient) CBSClient

func (me *TencentCloudClient) CBSClient() *cbs.Client

UseCvmClient cvm

func (*TencentCloudClient) CDBClient

func (me *TencentCloudClient) CDBClient() *cdb.Client

CDBClient cdb

func (*TencentCloudClient) ClbClient

func (me *TencentCloudClient) ClbClient() *clb.Client

UseCvmClient cvm

func (*TencentCloudClient) CosClient

func (me *TencentCloudClient) CosClient() *cos.Client

CDBClient cdb

func (*TencentCloudClient) CvmClient

func (me *TencentCloudClient) CvmClient() *cvm.Client

UseCvmClient cvm

func (*TencentCloudClient) DnsClient

func (me *TencentCloudClient) DnsClient() *dnspod.Client

UseCvmClient cvm

func (*TencentCloudClient) MongoClient

func (me *TencentCloudClient) MongoClient() *mongodb.Client

RedisClient cdb

func (*TencentCloudClient) RedisClient

func (me *TencentCloudClient) RedisClient() *redis.Client

RedisClient cdb

func (*TencentCloudClient) SQLServerClient

func (me *TencentCloudClient) SQLServerClient() *sqlserver.Client

CDBClient cdb

func (*TencentCloudClient) VpcClient

func (me *TencentCloudClient) VpcClient() *vpc.Client

UseCvmClient cvm

Jump to

Keyboard shortcuts

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