connectivity

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MulanPSL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadClientFromEnv

func LoadClientFromEnv() error

Types

type AliCloudClient

type AliCloudClient struct {
	Region    string `env:"ALI_CLOUD_REGION"`
	AccessId  string `env:"ALI_CLOUD_SECREY_ID"`
	AccessKey string `env:"ALI_CLOUD_SECREY_KEY"`
	// contains filtered or unexported fields
}

func C

func C() *AliCloudClient

func NewAliCloudClient

func NewAliCloudClient(secretID, secretKey, region string) *AliCloudClient

func (*AliCloudClient) AccountID

func (me *AliCloudClient) AccountID() string

func (*AliCloudClient) CheckAccountId

func (me *AliCloudClient) CheckAccountId() error

func (*AliCloudClient) EcsClient

func (me *AliCloudClient) EcsClient() (*ecs.Client, error)

Jump to

Keyboard shortcuts

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