tencentcloud

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NacosCloud

type NacosCloud interface {
	CreateNacos(nacos *appv1.Nacos) (*tse.CreateEngineResponse, error)
	DeleteNacos(id string) (*tse.DeleteEngineResponse, error)
	QueryNacos(id string) (*tse.DescribeSREInstancesResponse, error)
	QueryAccessAddress(id string) (*tse.DescribeSREInstanceAccessAddressResponse, error)
	UpdateInternetAccess(id string, isEnabled bool) error
}

type RealTencentCloud

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

func NewRealTencentCloud

func NewRealTencentCloud(secretId, secretKey string) *RealTencentCloud

func (*RealTencentCloud) CreateNacos

func (r *RealTencentCloud) CreateNacos(nacos *appv1.Nacos) (response *tse.CreateEngineResponse, err error)

CreateNacos 创建nacos实例

func (*RealTencentCloud) DeleteNacos

func (r *RealTencentCloud) DeleteNacos(id string) (response *tse.DeleteEngineResponse, err error)

DeleteNacos 删除nacos实例

func (*RealTencentCloud) QueryAccessAddress

QueryAccessAddress 查询访问地址

func (*RealTencentCloud) QueryNacos

func (r *RealTencentCloud) QueryNacos(id string) (response *tse.DescribeSREInstancesResponse, err error)

QueryNacos 查询nacos实例

func (*RealTencentCloud) UpdateInternetAccess

func (r *RealTencentCloud) UpdateInternetAccess(id string, isEnabled bool) error

UpdateInternetAccess 开启或关闭公网地址访问

type TencentCloud

type TencentCloud interface {
	NacosCloud
}

Jump to

Keyboard shortcuts

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