cdb

package
v0.0.0-...-7aae7b9 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

实例状态,可取值: + 0 - 创建中 + 1 - 运行中 + 4 - 正在进行隔离操作 + 5 - 隔离中(可在回收站恢复开机)

+ 3 - 开放Slave中 + 5 - 批量操作执行中 + 8 - 密码修改中 + 9 - 实例名修改中 + 13 - 删除库表中 + 19 - 参数设置待执行

Functions

This section is empty.

Types

type CDBOperator

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

func NewCDBOperator

func NewCDBOperator(client *cdb.Client) *CDBOperator

func (*CDBOperator) DescribeRds

func (o *CDBOperator) DescribeRds(ctx context.Context, r *provider.DescribeRequest) (
	*cmdbRds.Rds, error)

func (*CDBOperator) PageQueryRds

func (o *CDBOperator) PageQueryRds(req *provider.QueryRequest) pager.Pager

func (*CDBOperator) ParsePAY_MODE

func (o *CDBOperator) ParsePAY_MODE(id *int64) string

付费类型,可能的返回值:0-包年包月;1-包年包月

func (*CDBOperator) ParseType

func (o *CDBOperator) ParseType(id *int64) string

实例类型,可能的返回值:1-主实例;2-灾备实例;3-只读实例

Jump to

Keyboard shortcuts

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