v3

package
v0.0.34-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DdsClientBuilder

func DdsClientBuilder() *http_client.HcHttpClientBuilder

func GenReqDefForAddShardingNode

func GenReqDefForAddShardingNode() *def.HttpRequestDef

func GenReqDefForAttachEip

func GenReqDefForAttachEip() *def.HttpRequestDef

func GenReqDefForAttachInternalIp

func GenReqDefForAttachInternalIp() *def.HttpRequestDef

func GenReqDefForBatchTagAction

func GenReqDefForBatchTagAction() *def.HttpRequestDef

func GenReqDefForCancelEip

func GenReqDefForCancelEip() *def.HttpRequestDef

func GenReqDefForCheckPassword

func GenReqDefForCheckPassword() *def.HttpRequestDef

func GenReqDefForCreateDatabaseRole

func GenReqDefForCreateDatabaseRole() *def.HttpRequestDef

func GenReqDefForCreateDatabaseUser

func GenReqDefForCreateDatabaseUser() *def.HttpRequestDef

func GenReqDefForCreateInstance

func GenReqDefForCreateInstance() *def.HttpRequestDef

func GenReqDefForCreateIp

func GenReqDefForCreateIp() *def.HttpRequestDef

func GenReqDefForCreateManualBackup

func GenReqDefForCreateManualBackup() *def.HttpRequestDef

func GenReqDefForDeleteInstance

func GenReqDefForDeleteInstance() *def.HttpRequestDef

func GenReqDefForDeleteManualBackup

func GenReqDefForDeleteManualBackup() *def.HttpRequestDef

func GenReqDefForDownloadErrorlog

func GenReqDefForDownloadErrorlog() *def.HttpRequestDef

func GenReqDefForDownloadSlowlog

func GenReqDefForDownloadSlowlog() *def.HttpRequestDef

func GenReqDefForListApiVersion

func GenReqDefForListApiVersion() *def.HttpRequestDef
func GenReqDefForListAuditlogLinks() *def.HttpRequestDef

func GenReqDefForListAuditlogs

func GenReqDefForListAuditlogs() *def.HttpRequestDef

func GenReqDefForListBackups

func GenReqDefForListBackups() *def.HttpRequestDef

func GenReqDefForListDatabaseRoles

func GenReqDefForListDatabaseRoles() *def.HttpRequestDef

func GenReqDefForListDatabaseUsers

func GenReqDefForListDatabaseUsers() *def.HttpRequestDef

func GenReqDefForListDatastoreVersions

func GenReqDefForListDatastoreVersions() *def.HttpRequestDef

func GenReqDefForListErrorLogs

func GenReqDefForListErrorLogs() *def.HttpRequestDef

func GenReqDefForListFlavors

func GenReqDefForListFlavors() *def.HttpRequestDef

func GenReqDefForListInstanceTags

func GenReqDefForListInstanceTags() *def.HttpRequestDef

func GenReqDefForListInstances

func GenReqDefForListInstances() *def.HttpRequestDef

func GenReqDefForListInstancesByTags

func GenReqDefForListInstancesByTags() *def.HttpRequestDef

func GenReqDefForListProjectTags

func GenReqDefForListProjectTags() *def.HttpRequestDef

func GenReqDefForListRestoreCollections

func GenReqDefForListRestoreCollections() *def.HttpRequestDef

func GenReqDefForListRestoreDatabases

func GenReqDefForListRestoreDatabases() *def.HttpRequestDef

func GenReqDefForListRestoreTimes

func GenReqDefForListRestoreTimes() *def.HttpRequestDef

func GenReqDefForListSlowLogs

func GenReqDefForListSlowLogs() *def.HttpRequestDef

func GenReqDefForListStorageType

func GenReqDefForListStorageType() *def.HttpRequestDef

func GenReqDefForResetPassword

func GenReqDefForResetPassword() *def.HttpRequestDef

func GenReqDefForResizeInstance

func GenReqDefForResizeInstance() *def.HttpRequestDef

func GenReqDefForResizeInstanceVolume

func GenReqDefForResizeInstanceVolume() *def.HttpRequestDef

func GenReqDefForRestartInstance

func GenReqDefForRestartInstance() *def.HttpRequestDef

func GenReqDefForRestoreInstance

func GenReqDefForRestoreInstance() *def.HttpRequestDef

func GenReqDefForRestoreInstanceFromCollection

func GenReqDefForRestoreInstanceFromCollection() *def.HttpRequestDef

func GenReqDefForSetAuditlogPolicy

func GenReqDefForSetAuditlogPolicy() *def.HttpRequestDef

func GenReqDefForSetBackupPolicy

func GenReqDefForSetBackupPolicy() *def.HttpRequestDef

func GenReqDefForShowApiVersion

func GenReqDefForShowApiVersion() *def.HttpRequestDef

func GenReqDefForShowAuditlogPolicy

func GenReqDefForShowAuditlogPolicy() *def.HttpRequestDef
func GenReqDefForShowBackupDownloadLink() *def.HttpRequestDef

func GenReqDefForShowBackupPolicy

func GenReqDefForShowBackupPolicy() *def.HttpRequestDef

func GenReqDefForSwitchSsl

func GenReqDefForSwitchSsl() *def.HttpRequestDef

func GenReqDefForSwitchoverReplicaSet

func GenReqDefForSwitchoverReplicaSet() *def.HttpRequestDef

func GenReqDefForUpdateInstanceName

func GenReqDefForUpdateInstanceName() *def.HttpRequestDef

func GenReqDefForUpdateInstancePort

func GenReqDefForUpdateInstancePort() *def.HttpRequestDef

func GenReqDefForUpdateSecurityGroup

func GenReqDefForUpdateSecurityGroup() *def.HttpRequestDef

Types

type DdsClient

type DdsClient struct {
	HcClient *http_client.HcHttpClient
}

func NewDdsClient

func NewDdsClient(hcClient *http_client.HcHttpClient) *DdsClient

func (*DdsClient) AddShardingNode

func (c *DdsClient) AddShardingNode(request *model.AddShardingNodeRequest) (*model.AddShardingNodeResponse, error)

扩容指定集群实例的节点数量。

func (*DdsClient) AttachEip

func (c *DdsClient) AttachEip(request *model.AttachEipRequest) (*model.AttachEipResponse, error)

绑定节点的公网IP

func (*DdsClient) AttachInternalIp

func (c *DdsClient) AttachInternalIp(request *model.AttachInternalIpRequest) (*model.AttachInternalIpResponse, error)

修改实例内网IP

func (*DdsClient) BatchTagAction

func (c *DdsClient) BatchTagAction(request *model.BatchTagActionRequest) (*model.BatchTagActionResponse, error)

批量添加或删除指定实例的标签。

func (*DdsClient) CancelEip

func (c *DdsClient) CancelEip(request *model.CancelEipRequest) (*model.CancelEipResponse, error)

节点解绑公网IP

func (*DdsClient) CheckPassword

func (c *DdsClient) CheckPassword(request *model.CheckPasswordRequest) (*model.CheckPasswordResponse, error)

检查数据库用户密码。

func (*DdsClient) CreateDatabaseRole

func (c *DdsClient) CreateDatabaseRole(request *model.CreateDatabaseRoleRequest) (*model.CreateDatabaseRoleResponse, error)

创建数据库角色。

func (*DdsClient) CreateDatabaseUser

func (c *DdsClient) CreateDatabaseUser(request *model.CreateDatabaseUserRequest) (*model.CreateDatabaseUserResponse, error)

创建数据库用户。

func (*DdsClient) CreateInstance

func (c *DdsClient) CreateInstance(request *model.CreateInstanceRequest) (*model.CreateInstanceResponse, error)

创建文档数据库实例/恢复到新实例,包括集群实例、副本集实例、以及单节点实例。

func (*DdsClient) CreateIp

func (c *DdsClient) CreateIp(request *model.CreateIpRequest) (*model.CreateIpResponse, error)

打开集群的Shard/Config IP开关

func (*DdsClient) CreateManualBackup

func (c *DdsClient) CreateManualBackup(request *model.CreateManualBackupRequest) (*model.CreateManualBackupResponse, error)

创建数据库实例的手动备份。

func (*DdsClient) DeleteInstance

func (c *DdsClient) DeleteInstance(request *model.DeleteInstanceRequest) (*model.DeleteInstanceResponse, error)

删除数据库实例。

func (*DdsClient) DeleteManualBackup

func (c *DdsClient) DeleteManualBackup(request *model.DeleteManualBackupRequest) (*model.DeleteManualBackupResponse, error)

删除数据库实例的手动备份。

func (*DdsClient) DownloadErrorlog

func (c *DdsClient) DownloadErrorlog(request *model.DownloadErrorlogRequest) (*model.DownloadErrorlogResponse, error)

获取错误日志下载链接。

func (*DdsClient) DownloadSlowlog

func (c *DdsClient) DownloadSlowlog(request *model.DownloadSlowlogRequest) (*model.DownloadSlowlogResponse, error)

获取慢日志下载链接。

func (*DdsClient) ListApiVersion

func (c *DdsClient) ListApiVersion(request *model.ListApiVersionRequest) (*model.ListApiVersionResponse, error)

查询当前支持的API版本信息列表。

func (c *DdsClient) ListAuditlogLinks(request *model.ListAuditlogLinksRequest) (*model.ListAuditlogLinksResponse, error)

生成审计日志下载链接。

func (*DdsClient) ListAuditlogs

func (c *DdsClient) ListAuditlogs(request *model.ListAuditlogsRequest) (*model.ListAuditlogsResponse, error)

获取审计日志列表。

func (*DdsClient) ListBackups

func (c *DdsClient) ListBackups(request *model.ListBackupsRequest) (*model.ListBackupsResponse, error)

根据指定条件查询备份列表。

func (*DdsClient) ListDatabaseRoles

func (c *DdsClient) ListDatabaseRoles(request *model.ListDatabaseRolesRequest) (*model.ListDatabaseRolesResponse, error)

查询数据库角色列表。

func (*DdsClient) ListDatabaseUsers

func (c *DdsClient) ListDatabaseUsers(request *model.ListDatabaseUsersRequest) (*model.ListDatabaseUsersResponse, error)

查询数据库用户列表。

func (*DdsClient) ListDatastoreVersions

查询指定实例类型的数据库版本信息。

func (*DdsClient) ListErrorLogs

func (c *DdsClient) ListErrorLogs(request *model.ListErrorLogsRequest) (*model.ListErrorLogsResponse, error)

查询数据库错误信息。

func (*DdsClient) ListFlavors

func (c *DdsClient) ListFlavors(request *model.ListFlavorsRequest) (*model.ListFlavorsResponse, error)

查询指定条件下的所有实例规格信息。

func (*DdsClient) ListInstanceTags

func (c *DdsClient) ListInstanceTags(request *model.ListInstanceTagsRequest) (*model.ListInstanceTagsResponse, error)

查询指定实例的标签信息。

func (*DdsClient) ListInstances

func (c *DdsClient) ListInstances(request *model.ListInstancesRequest) (*model.ListInstancesResponse, error)

根据指定条件查询实例列表。

func (*DdsClient) ListInstancesByTags

根据标签查询指定的数据库实例。

func (*DdsClient) ListProjectTags

func (c *DdsClient) ListProjectTags(request *model.ListProjectTagsRequest) (*model.ListProjectTagsResponse, error)

查询指定project ID下实例的所有标签集合。

func (*DdsClient) ListRestoreCollections

获取可恢复的数据库集合列表。

func (*DdsClient) ListRestoreDatabases

获取可恢复的数据库列表。

func (*DdsClient) ListRestoreTimes

func (c *DdsClient) ListRestoreTimes(request *model.ListRestoreTimesRequest) (*model.ListRestoreTimesResponse, error)

查询实例的可恢复时间段。

func (*DdsClient) ListSlowLogs

func (c *DdsClient) ListSlowLogs(request *model.ListSlowLogsRequest) (*model.ListSlowLogsResponse, error)

查询数据库慢日志信息。

func (*DdsClient) ListStorageType

func (c *DdsClient) ListStorageType(request *model.ListStorageTypeRequest) (*model.ListStorageTypeResponse, error)

查询当前区域下的数据库磁盘类型。

func (*DdsClient) ResetPassword

func (c *DdsClient) ResetPassword(request *model.ResetPasswordRequest) (*model.ResetPasswordResponse, error)

修改数据库用户密码。

func (*DdsClient) ResizeInstance

func (c *DdsClient) ResizeInstance(request *model.ResizeInstanceRequest) (*model.ResizeInstanceResponse, error)

变更实例的规格。

func (*DdsClient) ResizeInstanceVolume

扩容实例相关的存储容量大小。

func (*DdsClient) RestartInstance

func (c *DdsClient) RestartInstance(request *model.RestartInstanceRequest) (*model.RestartInstanceResponse, error)

重启实例的数据库服务。

func (*DdsClient) RestoreInstance

func (c *DdsClient) RestoreInstance(request *model.RestoreInstanceRequest) (*model.RestoreInstanceResponse, error)

恢复到当前实例。

func (*DdsClient) RestoreInstanceFromCollection

库表级时间点恢复。

func (*DdsClient) SetAuditlogPolicy

func (c *DdsClient) SetAuditlogPolicy(request *model.SetAuditlogPolicyRequest) (*model.SetAuditlogPolicyResponse, error)

设置审计日志策略。

func (*DdsClient) SetBackupPolicy

func (c *DdsClient) SetBackupPolicy(request *model.SetBackupPolicyRequest) (*model.SetBackupPolicyResponse, error)

设置自动备份策略。

func (*DdsClient) ShowApiVersion

func (c *DdsClient) ShowApiVersion(request *model.ShowApiVersionRequest) (*model.ShowApiVersionResponse, error)

查询指定API版本信息。

func (*DdsClient) ShowAuditlogPolicy

func (c *DdsClient) ShowAuditlogPolicy(request *model.ShowAuditlogPolicyRequest) (*model.ShowAuditlogPolicyResponse, error)

查询审计日志策略。

获取备份下载链接。

func (*DdsClient) ShowBackupPolicy

func (c *DdsClient) ShowBackupPolicy(request *model.ShowBackupPolicyRequest) (*model.ShowBackupPolicyResponse, error)

查询自动备份策略。

func (*DdsClient) SwitchSsl

func (c *DdsClient) SwitchSsl(request *model.SwitchSslRequest) (*model.SwitchSslResponse, error)

切换mongodb实例的SSL开关

func (*DdsClient) SwitchoverReplicaSet

副本集主备倒换

func (*DdsClient) UpdateInstanceName

func (c *DdsClient) UpdateInstanceName(request *model.UpdateInstanceNameRequest) (*model.UpdateInstanceNameResponse, error)

修改实例名称

func (*DdsClient) UpdateInstancePort

func (c *DdsClient) UpdateInstancePort(request *model.UpdateInstancePortRequest) (*model.UpdateInstancePortResponse, error)

修改实例端口

func (*DdsClient) UpdateSecurityGroup

修改实例的安全组

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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