Documentation ¶
Index ¶
- func LoadClientFromEnv() error
- type HuaweiCloudClient
- func (c *HuaweiCloudClient) Account() (string, error)
- func (c *HuaweiCloudClient) BssClient() (*bss.BssClient, error)
- func (c *HuaweiCloudClient) Credentials() basic.Credentials
- func (c *HuaweiCloudClient) CtsClient() (*cts.CtsClient, error)
- func (c *HuaweiCloudClient) DcsClient() (*dcs.DcsClient, error)
- func (c *HuaweiCloudClient) DdsClient() (*dds.DdsClient, error)
- func (c *HuaweiCloudClient) DnsClient() (*dns.DnsClient, error)
- func (c *HuaweiCloudClient) EcsClient() (*ecs.EcsClient, error)
- func (c *HuaweiCloudClient) EipClient() (*eip.EipClient, error)
- func (c *HuaweiCloudClient) ElbClient() (*elb.ElbClient, error)
- func (c *HuaweiCloudClient) EvsClient() (*evs.EvsClient, error)
- func (c *HuaweiCloudClient) GlobalCredentials() global.Credentials
- func (c *HuaweiCloudClient) IamClient() (*iam.IamClient, error)
- func (c *HuaweiCloudClient) ObsClient() (*obs.ObsClient, error)
- func (c *HuaweiCloudClient) RdsClient() (*rds.RdsClient, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadClientFromEnv ¶
func LoadClientFromEnv() error
Types ¶
type HuaweiCloudClient ¶
type HuaweiCloudClient struct { Region string `env:"HW_CLOUD_REGION"` AccessKey string `env:"HW_CLOUD_ACCESS_KEY"` AccessSecret string `env:"HW_CLOUD_ACCESS_SECRET"` // contains filtered or unexported fields }
func C ¶
func C() *HuaweiCloudClient
func NewHuaweiCloudClient ¶
func NewHuaweiCloudClient(ak, sk, region string) *HuaweiCloudClient
NewHuaweiCloudClient client
func (*HuaweiCloudClient) Account ¶
func (c *HuaweiCloudClient) Account() (string, error)
IamClient 客户端
func (*HuaweiCloudClient) BssClient ¶
func (c *HuaweiCloudClient) BssClient() (*bss.BssClient, error)
DcsClient 客户端
func (*HuaweiCloudClient) Credentials ¶
func (c *HuaweiCloudClient) Credentials() basic.Credentials
func (*HuaweiCloudClient) CtsClient ¶
func (c *HuaweiCloudClient) CtsClient() (*cts.CtsClient, error)
IamClient 客户端
func (*HuaweiCloudClient) DcsClient ¶
func (c *HuaweiCloudClient) DcsClient() (*dcs.DcsClient, error)
DcsClient 客户端
func (*HuaweiCloudClient) DdsClient ¶
func (c *HuaweiCloudClient) DdsClient() (*dds.DdsClient, error)
DcsClient 客户端
func (*HuaweiCloudClient) DnsClient ¶
func (c *HuaweiCloudClient) DnsClient() (*dns.DnsClient, error)
EcsClient 客户端
func (*HuaweiCloudClient) EcsClient ¶
func (c *HuaweiCloudClient) EcsClient() (*ecs.EcsClient, error)
EcsClient 客户端
func (*HuaweiCloudClient) EipClient ¶
func (c *HuaweiCloudClient) EipClient() (*eip.EipClient, error)
EipClient 客户端
func (*HuaweiCloudClient) ElbClient ¶
func (c *HuaweiCloudClient) ElbClient() (*elb.ElbClient, error)
ElbClient 客户端
func (*HuaweiCloudClient) EvsClient ¶
func (c *HuaweiCloudClient) EvsClient() (*evs.EvsClient, error)
EcsClient 客户端
func (*HuaweiCloudClient) GlobalCredentials ¶
func (c *HuaweiCloudClient) GlobalCredentials() global.Credentials
func (*HuaweiCloudClient) IamClient ¶
func (c *HuaweiCloudClient) IamClient() (*iam.IamClient, error)
IamClient 客户端
Click to show internal directories.
Click to hide internal directories.