Help us shape the future of Go! Take the 2026 Go Developer Survey

tcaplusdb

package
v1.83.39 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TCAPLUS_IDL_TYPE_PROTO = "PROTO"
	TCAPLUS_IDL_TYPE_TDR   = "TDR"
	TCAPLUS_IDL_TYPE_MIX   = "MIX"
)
View Source
const (
	TCAPLUS_FILE_EXT_TYPE_PROTO = "proto"
	TCAPLUS_FILE_EXT_TYPE_XML   = "xml"
)
View Source
const (
	TCAPLUS_TABLE_IDL_TYPE_PROTO = "PROTO"
	TCAPLUS_TABLE_IDL_TYPE_TDR   = "TDR"
)
View Source
const (
	TCAPLUS_TABLE_TYPE_GENERIC = "GENERIC"
	TCAPLUS_TABLE_TYPE__LIST   = "LIST"
)

Variables

Functions

func DataSourceTencentCloudTcaplusClusters

func DataSourceTencentCloudTcaplusClusters() *schema.Resource

func DataSourceTencentCloudTcaplusIdls

func DataSourceTencentCloudTcaplusIdls() *schema.Resource

func DataSourceTencentCloudTcaplusTableGroups

func DataSourceTencentCloudTcaplusTableGroups() *schema.Resource

func DataSourceTencentCloudTcaplusTables

func DataSourceTencentCloudTcaplusTables() *schema.Resource

func ResourceTencentCloudTcaplusCluster

func ResourceTencentCloudTcaplusCluster() *schema.Resource

func ResourceTencentCloudTcaplusIdl

func ResourceTencentCloudTcaplusIdl() *schema.Resource

func ResourceTencentCloudTcaplusTable

func ResourceTencentCloudTcaplusTable() *schema.Resource

func ResourceTencentCloudTcaplusTableGroup

func ResourceTencentCloudTcaplusTableGroup() *schema.Resource

Types

type TcaplusIdlId

type TcaplusIdlId struct {
	ClusterId   string
	FileExtType string
	FileId      int64
	FileName    string
	FileSize    int64
	FileType    string
}

type TcaplusService

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

func NewTcaplusService

func NewTcaplusService(client *connectivity.TencentCloudClient) TcaplusService

func (*TcaplusService) CreateCluster

func (me *TcaplusService) CreateCluster(ctx context.Context, idlType, clusterName, vpcId, subnetId, password string, resourceTags []*tcaplusdb.TagInfoUnit, serverList []*tcaplusdb.MachineInfo, proxyList []*tcaplusdb.MachineInfo, clusterType int64) (id string, errRet error)

func (*TcaplusService) CreateGroup

func (me *TcaplusService) CreateGroup(ctx context.Context, id string, groupName string, tableGroupId string, resourceTags []*tcaplusdb.TagInfoUnit) (groupId string, errRet error)

func (*TcaplusService) CreateTables

func (me *TcaplusService) CreateTables(ctx context.Context, tid TcaplusIdlId,
	clusterId,
	groupId,
	tableName,
	tableType,
	description,
	tableIdlType string,
	reservedReadQps,
	reservedWriteQps,
	reservedVolume int64) (taskId string, tableInstanceId string, errRet error)

func (*TcaplusService) DeleteCluster

func (me *TcaplusService) DeleteCluster(ctx context.Context, id string) (taskId string, errRet error)

func (*TcaplusService) DeleteGroup

func (me *TcaplusService) DeleteGroup(ctx context.Context, clusterId string, groupId string) (errRet error)

func (*TcaplusService) DeleteIdlFiles

func (me *TcaplusService) DeleteIdlFiles(ctx context.Context, tid TcaplusIdlId) (errRet error)

func (*TcaplusService) DeleteTable

func (me *TcaplusService) DeleteTable(ctx context.Context, clusterId, groupId, tableInstanceId, tableName string) (taskId string, errRet error)

func (*TcaplusService) DesOldIdlFiles

func (me *TcaplusService) DesOldIdlFiles(ctx context.Context, tid TcaplusIdlId) (tableInfos []*tcaplusdb.ParsedTableInfoNew, errRet error)

func (*TcaplusService) DescribeCluster

func (me *TcaplusService) DescribeCluster(ctx context.Context, id string) (clusterInfo tcaplusdb.ClusterInfo, has bool, errRet error)

func (*TcaplusService) DescribeClusterTags added in v1.83.22

func (me *TcaplusService) DescribeClusterTags(ctx context.Context, clusterId string) (tags []*tcaplusdb.TagInfoUnit, errRet error)

func (*TcaplusService) DescribeClusters

func (me *TcaplusService) DescribeClusters(ctx context.Context, clusterId string, clusterName string) (clusterInfos []*tcaplusdb.ClusterInfo, errRet error)

func (*TcaplusService) DescribeGroup

func (me *TcaplusService) DescribeGroup(ctx context.Context, id string, groupId string) (info tcaplusdb.TableGroupInfo, has bool, errRet error)

func (*TcaplusService) DescribeGroups

func (me *TcaplusService) DescribeGroups(ctx context.Context, clusterId string, groupId, groupName string) (infos []*tcaplusdb.TableGroupInfo, errRet error)

func (*TcaplusService) DescribeIdlFileInfos

func (me *TcaplusService) DescribeIdlFileInfos(ctx context.Context, clusterId string) (infos []*tcaplusdb.IdlFileInfo, errRet error)

func (*TcaplusService) DescribeTable

func (me *TcaplusService) DescribeTable(ctx context.Context, clusterId, tableInstanceId string) (tableInfo tcaplusdb.TableInfoNew, has bool, errRet error)

func (*TcaplusService) DescribeTableGroupTags added in v1.83.14

func (me *TcaplusService) DescribeTableGroupTags(ctx context.Context, clusterId string, tableGroupId string) (tags []*tcaplusdb.TagInfoUnit, errRet error)

func (*TcaplusService) DescribeTables

func (me *TcaplusService) DescribeTables(ctx context.Context, clusterId string, groupId, tableId, tableName string) (infos []*tcaplusdb.TableInfoNew, errRet error)

func (*TcaplusService) DescribeTask

func (me *TcaplusService) DescribeTask(ctx context.Context, clusterId string, taskId string) (taskInfo tcaplusdb.TaskInfoNew, has bool, errRet error)

func (*TcaplusService) ModifyClusterName

func (me *TcaplusService) ModifyClusterName(ctx context.Context, id string, clusterName string) (errRet error)

func (*TcaplusService) ModifyClusterPassword

func (me *TcaplusService) ModifyClusterPassword(ctx context.Context, id string, oldPassword, newPassword string, oldPasswordExpireLast int64) (errRet error)

func (*TcaplusService) ModifyGroupName

func (me *TcaplusService) ModifyGroupName(ctx context.Context, id string, groupId, groupName string) (errRet error)

func (*TcaplusService) ModifyTableGroupTags added in v1.83.14

func (me *TcaplusService) ModifyTableGroupTags(ctx context.Context, clusterId string, tableGroupId string, replaceTags []*tcaplusdb.TagInfoUnit, deleteTags []*tcaplusdb.TagInfoUnit) (taskId string, errRet error)

func (*TcaplusService) ModifyTableMemo

func (me *TcaplusService) ModifyTableMemo(ctx context.Context, clusterId, groupId, tableInstanceId, tableName, newDesc string) (errRet error)

func (*TcaplusService) ModifyTables

func (me *TcaplusService) ModifyTables(ctx context.Context, tid TcaplusIdlId,
	clusterId,
	groupId,
	tableInstanceId,
	tableName,
	tableIdType string) (taskId string, errRet error)

func (*TcaplusService) VerifyIdlFiles

func (me *TcaplusService) VerifyIdlFiles(ctx context.Context, tid TcaplusIdlId, groupId string, fileContent string) (idlId int64, tableInfos []*tcaplusdb.ParsedTableInfoNew, errRet error)

Jump to

Keyboard shortcuts

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