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 }
func C ¶
func C() *TencentCloudClient
func (*TencentCloudClient) Account ¶
func (me *TencentCloudClient) Account() (string, error)
获取客户端账号ID
func (*TencentCloudClient) CvmClient ¶
func (me *TencentCloudClient) CvmClient() *cvm.Client
UseCvmClient cvm
Click to show internal directories.
Click to hide internal directories.