baidu

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndPoints = map[string]string{
	"bj":  ".bj.baidubce.com",
	"gz":  ".gz.baidubce.com",
	"su":  ".su.baidubce.com",
	"hkg": ".hkg.baidubce.com",
	"fwh": ".fwh.baidubce.com",
	"bd":  ".bd.baidubce.com",
}

Functions

This section is empty.

Types

type BaiduCloud

type BaiduCloud struct {
	// contains filtered or unexported fields
}

func New

func New(ak, sk, regionId string) (*BaiduCloud, error)

func (*BaiduCloud) DescribeInstanceBill

func (p *BaiduCloud) DescribeInstanceBill(ctx context.Context, param types.DescribeInstanceBillRequest, isAll bool) (types.DescribeInstanceBill, error)

func (*BaiduCloud) DescribeInstances added in v0.2.1

func (*BaiduCloud) DescribeMetricList

func (*BaiduCloud) DescribeRegions

func (*BaiduCloud) ProviderType

func (*BaiduCloud) ProviderType() cloud.Provider

ProviderType

func (*BaiduCloud) QueryAccountBill

QueryAccountBill

func (*BaiduCloud) QueryAvailableInstances

Jump to

Keyboard shortcuts

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