tencentcloud

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2019 License: MPL-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PROVIDER_SECRET_ID  = "TENCENTCLOUD_SECRET_ID"
	PROVIDER_SECRET_KEY = "TENCENTCLOUD_SECRET_KEY"
	PROVIDER_REGION     = "TENCENTCLOUD_REGION"
)
View Source
const (
	BasicStorageMinimumSize   = 10
	PremiumStorageMinimumSize = 50
	SsdStorageMinimumSize     = 100
	StorageMaxSize            = 4000
)
View Source
const (
	CLUSTER_NOT_FOUND_CODE    = -16009
	CLUSTER_LIFESTATE_RUNNING = "Running"
)
View Source
const (
	INSTANCE_NOT_FOUND_CODE = -1
)
View Source
const MaxStorageNameLength = 60

Variables

This section is empty.

Functions

func Provider

func Provider() *schema.Provider

Types

type Config

type Config struct {
	SecretId  string
	SecretKey string
	Region    string
}

func (*Config) Client

func (c *Config) Client() (interface{}, error)

type TencentCloudClient

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

func (*TencentCloudClient) DescribeDnat

func (client *TencentCloudClient) DescribeDnat(entry *vpc.DnaptRule) (response *vpc.DnaptRule, err error)

func (*TencentCloudClient) PollingVpcBillResult

func (client *TencentCloudClient) PollingVpcBillResult(billId *string) (status bool, err error)

func (*TencentCloudClient) PollingVpcTaskResult

func (client *TencentCloudClient) PollingVpcTaskResult(taskId *int) (status bool, err error)

Jump to

Keyboard shortcuts

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