Documentation ¶
Index ¶
- func DasClientBuilder() *httpclient.HcHttpClientBuilder
- func GenReqDefForCancelShareConnections() *def.HttpRequestDef
- func GenReqDefForChangeSqlLimitSwitchStatus() *def.HttpRequestDef
- func GenReqDefForChangeSqlSwitch() *def.HttpRequestDef
- func GenReqDefForChangeTransactionSwitchStatus() *def.HttpRequestDef
- func GenReqDefForCreateShareConnections() *def.HttpRequestDef
- func GenReqDefForCreateSpaceAnalysisTask() *def.HttpRequestDef
- func GenReqDefForCreateSqlLimitRules() *def.HttpRequestDef
- func GenReqDefForCreateTuning() *def.HttpRequestDef
- func GenReqDefForDeleteDbUser() *def.HttpRequestDef
- func GenReqDefForDeleteProcess() *def.HttpRequestDef
- func GenReqDefForDeleteSqlLimitRules() *def.HttpRequestDef
- func GenReqDefForExportSlowQueryLogs() *def.HttpRequestDef
- func GenReqDefForExportSlowSqlStatistics() *def.HttpRequestDef
- func GenReqDefForExportSlowSqlTemplatesDetails() *def.HttpRequestDef
- func GenReqDefForExportSlowSqlTrendDetails() *def.HttpRequestDef
- func GenReqDefForExportSqlStatements() *def.HttpRequestDef
- func GenReqDefForExportTopRiskInstances() *def.HttpRequestDef
- func GenReqDefForExportTopSqlTemplatesDetails() *def.HttpRequestDef
- func GenReqDefForExportTopSqlTrendDetails() *def.HttpRequestDef
- func GenReqDefForListApiVersions() *def.HttpRequestDef
- func GenReqDefForListDbUsers() *def.HttpRequestDef
- func GenReqDefForListInnodbLocks() *def.HttpRequestDef
- func GenReqDefForListMetadataLocks() *def.HttpRequestDef
- func GenReqDefForListProcesses() *def.HttpRequestDef
- func GenReqDefForListSpaceAnalysis() *def.HttpRequestDef
- func GenReqDefForListSqlLimitRules() *def.HttpRequestDef
- func GenReqDefForListTransactions() *def.HttpRequestDef
- func GenReqDefForParseSqlLimitRules() *def.HttpRequestDef
- func GenReqDefForRegisterDbUser() *def.HttpRequestDef
- func GenReqDefForShowApiVersion() *def.HttpRequestDef
- func GenReqDefForShowDbUser() *def.HttpRequestDef
- func GenReqDefForShowQuotas() *def.HttpRequestDef
- func GenReqDefForShowSqlExecutionPlan() *def.HttpRequestDef
- func GenReqDefForShowSqlExplain() *def.HttpRequestDef
- func GenReqDefForShowSqlLimitJobInfo() *def.HttpRequestDef
- func GenReqDefForShowSqlLimitSwitchStatus() *def.HttpRequestDef
- func GenReqDefForShowSqlSwitchStatus() *def.HttpRequestDef
- func GenReqDefForShowTransactionSwitchStatus() *def.HttpRequestDef
- func GenReqDefForShowTuning() *def.HttpRequestDef
- func GenReqDefForUpdateDbUser() *def.HttpRequestDef
- func GenReqDefForUpdateSqlLimitRules() *def.HttpRequestDef
- type CancelShareConnectionsInvoker
- type ChangeSqlLimitSwitchStatusInvoker
- type ChangeSqlSwitchInvoker
- type ChangeTransactionSwitchStatusInvoker
- type CreateShareConnectionsInvoker
- type CreateSpaceAnalysisTaskInvoker
- type CreateSqlLimitRulesInvoker
- type CreateTuningInvoker
- type DasClient
- func (c *DasClient) CancelShareConnections(request *model.CancelShareConnectionsRequest) (*model.CancelShareConnectionsResponse, error)
- func (c *DasClient) CancelShareConnectionsInvoker(request *model.CancelShareConnectionsRequest) *CancelShareConnectionsInvoker
- func (c *DasClient) ChangeSqlLimitSwitchStatus(request *model.ChangeSqlLimitSwitchStatusRequest) (*model.ChangeSqlLimitSwitchStatusResponse, error)
- func (c *DasClient) ChangeSqlLimitSwitchStatusInvoker(request *model.ChangeSqlLimitSwitchStatusRequest) *ChangeSqlLimitSwitchStatusInvoker
- func (c *DasClient) ChangeSqlSwitch(request *model.ChangeSqlSwitchRequest) (*model.ChangeSqlSwitchResponse, error)
- func (c *DasClient) ChangeSqlSwitchInvoker(request *model.ChangeSqlSwitchRequest) *ChangeSqlSwitchInvoker
- func (c *DasClient) ChangeTransactionSwitchStatus(request *model.ChangeTransactionSwitchStatusRequest) (*model.ChangeTransactionSwitchStatusResponse, error)
- func (c *DasClient) ChangeTransactionSwitchStatusInvoker(request *model.ChangeTransactionSwitchStatusRequest) *ChangeTransactionSwitchStatusInvoker
- func (c *DasClient) CreateShareConnections(request *model.CreateShareConnectionsRequest) (*model.CreateShareConnectionsResponse, error)
- func (c *DasClient) CreateShareConnectionsInvoker(request *model.CreateShareConnectionsRequest) *CreateShareConnectionsInvoker
- func (c *DasClient) CreateSpaceAnalysisTask(request *model.CreateSpaceAnalysisTaskRequest) (*model.CreateSpaceAnalysisTaskResponse, error)
- func (c *DasClient) CreateSpaceAnalysisTaskInvoker(request *model.CreateSpaceAnalysisTaskRequest) *CreateSpaceAnalysisTaskInvoker
- func (c *DasClient) CreateSqlLimitRules(request *model.CreateSqlLimitRulesRequest) (*model.CreateSqlLimitRulesResponse, error)
- func (c *DasClient) CreateSqlLimitRulesInvoker(request *model.CreateSqlLimitRulesRequest) *CreateSqlLimitRulesInvoker
- func (c *DasClient) CreateTuning(request *model.CreateTuningRequest) (*model.CreateTuningResponse, error)
- func (c *DasClient) CreateTuningInvoker(request *model.CreateTuningRequest) *CreateTuningInvoker
- func (c *DasClient) DeleteDbUser(request *model.DeleteDbUserRequest) (*model.DeleteDbUserResponse, error)
- func (c *DasClient) DeleteDbUserInvoker(request *model.DeleteDbUserRequest) *DeleteDbUserInvoker
- func (c *DasClient) DeleteProcess(request *model.DeleteProcessRequest) (*model.DeleteProcessResponse, error)
- func (c *DasClient) DeleteProcessInvoker(request *model.DeleteProcessRequest) *DeleteProcessInvoker
- func (c *DasClient) DeleteSqlLimitRules(request *model.DeleteSqlLimitRulesRequest) (*model.DeleteSqlLimitRulesResponse, error)
- func (c *DasClient) DeleteSqlLimitRulesInvoker(request *model.DeleteSqlLimitRulesRequest) *DeleteSqlLimitRulesInvoker
- func (c *DasClient) ExportSlowQueryLogs(request *model.ExportSlowQueryLogsRequest) (*model.ExportSlowQueryLogsResponse, error)
- func (c *DasClient) ExportSlowQueryLogsInvoker(request *model.ExportSlowQueryLogsRequest) *ExportSlowQueryLogsInvoker
- func (c *DasClient) ExportSlowSqlStatistics(request *model.ExportSlowSqlStatisticsRequest) (*model.ExportSlowSqlStatisticsResponse, error)
- func (c *DasClient) ExportSlowSqlStatisticsInvoker(request *model.ExportSlowSqlStatisticsRequest) *ExportSlowSqlStatisticsInvoker
- func (c *DasClient) ExportSlowSqlTemplatesDetails(request *model.ExportSlowSqlTemplatesDetailsRequest) (*model.ExportSlowSqlTemplatesDetailsResponse, error)
- func (c *DasClient) ExportSlowSqlTemplatesDetailsInvoker(request *model.ExportSlowSqlTemplatesDetailsRequest) *ExportSlowSqlTemplatesDetailsInvoker
- func (c *DasClient) ExportSlowSqlTrendDetails(request *model.ExportSlowSqlTrendDetailsRequest) (*model.ExportSlowSqlTrendDetailsResponse, error)
- func (c *DasClient) ExportSlowSqlTrendDetailsInvoker(request *model.ExportSlowSqlTrendDetailsRequest) *ExportSlowSqlTrendDetailsInvoker
- func (c *DasClient) ExportSqlStatements(request *model.ExportSqlStatementsRequest) (*model.ExportSqlStatementsResponse, error)
- func (c *DasClient) ExportSqlStatementsInvoker(request *model.ExportSqlStatementsRequest) *ExportSqlStatementsInvoker
- func (c *DasClient) ExportTopRiskInstances(request *model.ExportTopRiskInstancesRequest) (*model.ExportTopRiskInstancesResponse, error)
- func (c *DasClient) ExportTopRiskInstancesInvoker(request *model.ExportTopRiskInstancesRequest) *ExportTopRiskInstancesInvoker
- func (c *DasClient) ExportTopSqlTemplatesDetails(request *model.ExportTopSqlTemplatesDetailsRequest) (*model.ExportTopSqlTemplatesDetailsResponse, error)
- func (c *DasClient) ExportTopSqlTemplatesDetailsInvoker(request *model.ExportTopSqlTemplatesDetailsRequest) *ExportTopSqlTemplatesDetailsInvoker
- func (c *DasClient) ExportTopSqlTrendDetails(request *model.ExportTopSqlTrendDetailsRequest) (*model.ExportTopSqlTrendDetailsResponse, error)
- func (c *DasClient) ExportTopSqlTrendDetailsInvoker(request *model.ExportTopSqlTrendDetailsRequest) *ExportTopSqlTrendDetailsInvoker
- func (c *DasClient) ListApiVersions(request *model.ListApiVersionsRequest) (*model.ListApiVersionsResponse, error)
- func (c *DasClient) ListApiVersionsInvoker(request *model.ListApiVersionsRequest) *ListApiVersionsInvoker
- func (c *DasClient) ListDbUsers(request *model.ListDbUsersRequest) (*model.ListDbUsersResponse, error)
- func (c *DasClient) ListDbUsersInvoker(request *model.ListDbUsersRequest) *ListDbUsersInvoker
- func (c *DasClient) ListInnodbLocks(request *model.ListInnodbLocksRequest) (*model.ListInnodbLocksResponse, error)
- func (c *DasClient) ListInnodbLocksInvoker(request *model.ListInnodbLocksRequest) *ListInnodbLocksInvoker
- func (c *DasClient) ListMetadataLocks(request *model.ListMetadataLocksRequest) (*model.ListMetadataLocksResponse, error)
- func (c *DasClient) ListMetadataLocksInvoker(request *model.ListMetadataLocksRequest) *ListMetadataLocksInvoker
- func (c *DasClient) ListProcesses(request *model.ListProcessesRequest) (*model.ListProcessesResponse, error)
- func (c *DasClient) ListProcessesInvoker(request *model.ListProcessesRequest) *ListProcessesInvoker
- func (c *DasClient) ListSpaceAnalysis(request *model.ListSpaceAnalysisRequest) (*model.ListSpaceAnalysisResponse, error)
- func (c *DasClient) ListSpaceAnalysisInvoker(request *model.ListSpaceAnalysisRequest) *ListSpaceAnalysisInvoker
- func (c *DasClient) ListSqlLimitRules(request *model.ListSqlLimitRulesRequest) (*model.ListSqlLimitRulesResponse, error)
- func (c *DasClient) ListSqlLimitRulesInvoker(request *model.ListSqlLimitRulesRequest) *ListSqlLimitRulesInvoker
- func (c *DasClient) ListTransactions(request *model.ListTransactionsRequest) (*model.ListTransactionsResponse, error)
- func (c *DasClient) ListTransactionsInvoker(request *model.ListTransactionsRequest) *ListTransactionsInvoker
- func (c *DasClient) ParseSqlLimitRules(request *model.ParseSqlLimitRulesRequest) (*model.ParseSqlLimitRulesResponse, error)
- func (c *DasClient) ParseSqlLimitRulesInvoker(request *model.ParseSqlLimitRulesRequest) *ParseSqlLimitRulesInvoker
- func (c *DasClient) RegisterDbUser(request *model.RegisterDbUserRequest) (*model.RegisterDbUserResponse, error)
- func (c *DasClient) RegisterDbUserInvoker(request *model.RegisterDbUserRequest) *RegisterDbUserInvoker
- func (c *DasClient) ShowApiVersion(request *model.ShowApiVersionRequest) (*model.ShowApiVersionResponse, error)
- func (c *DasClient) ShowApiVersionInvoker(request *model.ShowApiVersionRequest) *ShowApiVersionInvoker
- func (c *DasClient) ShowDbUser(request *model.ShowDbUserRequest) (*model.ShowDbUserResponse, error)
- func (c *DasClient) ShowDbUserInvoker(request *model.ShowDbUserRequest) *ShowDbUserInvoker
- func (c *DasClient) ShowQuotas(request *model.ShowQuotasRequest) (*model.ShowQuotasResponse, error)
- func (c *DasClient) ShowQuotasInvoker(request *model.ShowQuotasRequest) *ShowQuotasInvoker
- func (c *DasClient) ShowSqlExecutionPlan(request *model.ShowSqlExecutionPlanRequest) (*model.ShowSqlExecutionPlanResponse, error)
- func (c *DasClient) ShowSqlExecutionPlanInvoker(request *model.ShowSqlExecutionPlanRequest) *ShowSqlExecutionPlanInvoker
- func (c *DasClient) ShowSqlExplain(request *model.ShowSqlExplainRequest) (*model.ShowSqlExplainResponse, error)
- func (c *DasClient) ShowSqlExplainInvoker(request *model.ShowSqlExplainRequest) *ShowSqlExplainInvoker
- func (c *DasClient) ShowSqlLimitJobInfo(request *model.ShowSqlLimitJobInfoRequest) (*model.ShowSqlLimitJobInfoResponse, error)
- func (c *DasClient) ShowSqlLimitJobInfoInvoker(request *model.ShowSqlLimitJobInfoRequest) *ShowSqlLimitJobInfoInvoker
- func (c *DasClient) ShowSqlLimitSwitchStatus(request *model.ShowSqlLimitSwitchStatusRequest) (*model.ShowSqlLimitSwitchStatusResponse, error)
- func (c *DasClient) ShowSqlLimitSwitchStatusInvoker(request *model.ShowSqlLimitSwitchStatusRequest) *ShowSqlLimitSwitchStatusInvoker
- func (c *DasClient) ShowSqlSwitchStatus(request *model.ShowSqlSwitchStatusRequest) (*model.ShowSqlSwitchStatusResponse, error)
- func (c *DasClient) ShowSqlSwitchStatusInvoker(request *model.ShowSqlSwitchStatusRequest) *ShowSqlSwitchStatusInvoker
- func (c *DasClient) ShowTransactionSwitchStatus(request *model.ShowTransactionSwitchStatusRequest) (*model.ShowTransactionSwitchStatusResponse, error)
- func (c *DasClient) ShowTransactionSwitchStatusInvoker(request *model.ShowTransactionSwitchStatusRequest) *ShowTransactionSwitchStatusInvoker
- func (c *DasClient) ShowTuning(request *model.ShowTuningRequest) (*model.ShowTuningResponse, error)
- func (c *DasClient) ShowTuningInvoker(request *model.ShowTuningRequest) *ShowTuningInvoker
- func (c *DasClient) UpdateDbUser(request *model.UpdateDbUserRequest) (*model.UpdateDbUserResponse, error)
- func (c *DasClient) UpdateDbUserInvoker(request *model.UpdateDbUserRequest) *UpdateDbUserInvoker
- func (c *DasClient) UpdateSqlLimitRules(request *model.UpdateSqlLimitRulesRequest) (*model.UpdateSqlLimitRulesResponse, error)
- func (c *DasClient) UpdateSqlLimitRulesInvoker(request *model.UpdateSqlLimitRulesRequest) *UpdateSqlLimitRulesInvoker
- type DeleteDbUserInvoker
- type DeleteProcessInvoker
- type DeleteSqlLimitRulesInvoker
- type ExportSlowQueryLogsInvoker
- type ExportSlowSqlStatisticsInvoker
- type ExportSlowSqlTemplatesDetailsInvoker
- type ExportSlowSqlTrendDetailsInvoker
- type ExportSqlStatementsInvoker
- type ExportTopRiskInstancesInvoker
- type ExportTopSqlTemplatesDetailsInvoker
- type ExportTopSqlTrendDetailsInvoker
- type ListApiVersionsInvoker
- type ListDbUsersInvoker
- type ListInnodbLocksInvoker
- type ListMetadataLocksInvoker
- type ListProcessesInvoker
- type ListSpaceAnalysisInvoker
- type ListSqlLimitRulesInvoker
- type ListTransactionsInvoker
- type ParseSqlLimitRulesInvoker
- type RegisterDbUserInvoker
- type ShowApiVersionInvoker
- type ShowDbUserInvoker
- type ShowQuotasInvoker
- type ShowSqlExecutionPlanInvoker
- type ShowSqlExplainInvoker
- type ShowSqlLimitJobInfoInvoker
- type ShowSqlLimitSwitchStatusInvoker
- type ShowSqlSwitchStatusInvoker
- type ShowTransactionSwitchStatusInvoker
- type ShowTuningInvoker
- type UpdateDbUserInvoker
- type UpdateSqlLimitRulesInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DasClientBuilder ¶
func DasClientBuilder() *httpclient.HcHttpClientBuilder
func GenReqDefForCancelShareConnections ¶ added in v0.1.40
func GenReqDefForCancelShareConnections() *def.HttpRequestDef
func GenReqDefForChangeSqlLimitSwitchStatus ¶ added in v0.1.12
func GenReqDefForChangeSqlLimitSwitchStatus() *def.HttpRequestDef
func GenReqDefForChangeSqlSwitch ¶
func GenReqDefForChangeSqlSwitch() *def.HttpRequestDef
func GenReqDefForChangeTransactionSwitchStatus ¶ added in v0.1.105
func GenReqDefForChangeTransactionSwitchStatus() *def.HttpRequestDef
func GenReqDefForCreateShareConnections ¶ added in v0.1.40
func GenReqDefForCreateShareConnections() *def.HttpRequestDef
func GenReqDefForCreateSpaceAnalysisTask ¶
func GenReqDefForCreateSpaceAnalysisTask() *def.HttpRequestDef
func GenReqDefForCreateSqlLimitRules ¶ added in v0.1.12
func GenReqDefForCreateSqlLimitRules() *def.HttpRequestDef
func GenReqDefForCreateTuning ¶ added in v0.1.57
func GenReqDefForCreateTuning() *def.HttpRequestDef
func GenReqDefForDeleteDbUser ¶
func GenReqDefForDeleteDbUser() *def.HttpRequestDef
func GenReqDefForDeleteProcess ¶
func GenReqDefForDeleteProcess() *def.HttpRequestDef
func GenReqDefForDeleteSqlLimitRules ¶ added in v0.1.12
func GenReqDefForDeleteSqlLimitRules() *def.HttpRequestDef
func GenReqDefForExportSlowQueryLogs ¶
func GenReqDefForExportSlowQueryLogs() *def.HttpRequestDef
func GenReqDefForExportSlowSqlStatistics ¶ added in v0.1.96
func GenReqDefForExportSlowSqlStatistics() *def.HttpRequestDef
func GenReqDefForExportSlowSqlTemplatesDetails ¶ added in v0.1.12
func GenReqDefForExportSlowSqlTemplatesDetails() *def.HttpRequestDef
func GenReqDefForExportSlowSqlTrendDetails ¶ added in v0.1.104
func GenReqDefForExportSlowSqlTrendDetails() *def.HttpRequestDef
func GenReqDefForExportSqlStatements ¶
func GenReqDefForExportSqlStatements() *def.HttpRequestDef
func GenReqDefForExportTopRiskInstances ¶ added in v0.1.108
func GenReqDefForExportTopRiskInstances() *def.HttpRequestDef
func GenReqDefForExportTopSqlTemplatesDetails ¶ added in v0.1.12
func GenReqDefForExportTopSqlTemplatesDetails() *def.HttpRequestDef
func GenReqDefForExportTopSqlTrendDetails ¶ added in v0.1.12
func GenReqDefForExportTopSqlTrendDetails() *def.HttpRequestDef
func GenReqDefForListApiVersions ¶
func GenReqDefForListApiVersions() *def.HttpRequestDef
func GenReqDefForListDbUsers ¶
func GenReqDefForListDbUsers() *def.HttpRequestDef
func GenReqDefForListInnodbLocks ¶
func GenReqDefForListInnodbLocks() *def.HttpRequestDef
func GenReqDefForListMetadataLocks ¶
func GenReqDefForListMetadataLocks() *def.HttpRequestDef
func GenReqDefForListProcesses ¶
func GenReqDefForListProcesses() *def.HttpRequestDef
func GenReqDefForListSpaceAnalysis ¶
func GenReqDefForListSpaceAnalysis() *def.HttpRequestDef
func GenReqDefForListSqlLimitRules ¶ added in v0.1.12
func GenReqDefForListSqlLimitRules() *def.HttpRequestDef
func GenReqDefForListTransactions ¶ added in v0.1.105
func GenReqDefForListTransactions() *def.HttpRequestDef
func GenReqDefForParseSqlLimitRules ¶ added in v0.1.102
func GenReqDefForParseSqlLimitRules() *def.HttpRequestDef
func GenReqDefForRegisterDbUser ¶
func GenReqDefForRegisterDbUser() *def.HttpRequestDef
func GenReqDefForShowApiVersion ¶
func GenReqDefForShowApiVersion() *def.HttpRequestDef
func GenReqDefForShowDbUser ¶
func GenReqDefForShowDbUser() *def.HttpRequestDef
func GenReqDefForShowQuotas ¶
func GenReqDefForShowQuotas() *def.HttpRequestDef
func GenReqDefForShowSqlExecutionPlan ¶
func GenReqDefForShowSqlExecutionPlan() *def.HttpRequestDef
func GenReqDefForShowSqlExplain ¶ added in v0.0.81
func GenReqDefForShowSqlExplain() *def.HttpRequestDef
func GenReqDefForShowSqlLimitJobInfo ¶ added in v0.1.12
func GenReqDefForShowSqlLimitJobInfo() *def.HttpRequestDef
func GenReqDefForShowSqlLimitSwitchStatus ¶ added in v0.1.12
func GenReqDefForShowSqlLimitSwitchStatus() *def.HttpRequestDef
func GenReqDefForShowSqlSwitchStatus ¶
func GenReqDefForShowSqlSwitchStatus() *def.HttpRequestDef
func GenReqDefForShowTransactionSwitchStatus ¶ added in v0.1.105
func GenReqDefForShowTransactionSwitchStatus() *def.HttpRequestDef
func GenReqDefForShowTuning ¶ added in v0.1.57
func GenReqDefForShowTuning() *def.HttpRequestDef
func GenReqDefForUpdateDbUser ¶
func GenReqDefForUpdateDbUser() *def.HttpRequestDef
func GenReqDefForUpdateSqlLimitRules ¶ added in v0.1.96
func GenReqDefForUpdateSqlLimitRules() *def.HttpRequestDef
Types ¶
type CancelShareConnectionsInvoker ¶ added in v0.1.40
type CancelShareConnectionsInvoker struct {
}func (*CancelShareConnectionsInvoker) Invoke ¶ added in v0.1.40
func (i *CancelShareConnectionsInvoker) Invoke() (*model.CancelShareConnectionsResponse, error)
type ChangeSqlLimitSwitchStatusInvoker ¶ added in v0.1.12
type ChangeSqlLimitSwitchStatusInvoker struct {
*invoker.BaseInvoker
}
func (*ChangeSqlLimitSwitchStatusInvoker) Invoke ¶ added in v0.1.12
func (i *ChangeSqlLimitSwitchStatusInvoker) Invoke() (*model.ChangeSqlLimitSwitchStatusResponse, error)
type ChangeSqlSwitchInvoker ¶ added in v0.0.90
type ChangeSqlSwitchInvoker struct {
*invoker.BaseInvoker
}
func (*ChangeSqlSwitchInvoker) Invoke ¶ added in v0.0.90
func (i *ChangeSqlSwitchInvoker) Invoke() (*model.ChangeSqlSwitchResponse, error)
type ChangeTransactionSwitchStatusInvoker ¶ added in v0.1.105
type ChangeTransactionSwitchStatusInvoker struct {
*invoker.BaseInvoker
}
func (*ChangeTransactionSwitchStatusInvoker) Invoke ¶ added in v0.1.105
func (i *ChangeTransactionSwitchStatusInvoker) Invoke() (*model.ChangeTransactionSwitchStatusResponse, error)
type CreateShareConnectionsInvoker ¶ added in v0.1.40
type CreateShareConnectionsInvoker struct {
}func (*CreateShareConnectionsInvoker) Invoke ¶ added in v0.1.40
func (i *CreateShareConnectionsInvoker) Invoke() (*model.CreateShareConnectionsResponse, error)
type CreateSpaceAnalysisTaskInvoker ¶ added in v0.0.90
type CreateSpaceAnalysisTaskInvoker struct {
*invoker.BaseInvoker
}
func (*CreateSpaceAnalysisTaskInvoker) Invoke ¶ added in v0.0.90
func (i *CreateSpaceAnalysisTaskInvoker) Invoke() (*model.CreateSpaceAnalysisTaskResponse, error)
type CreateSqlLimitRulesInvoker ¶ added in v0.1.12
type CreateSqlLimitRulesInvoker struct {
*invoker.BaseInvoker
}
func (*CreateSqlLimitRulesInvoker) Invoke ¶ added in v0.1.12
func (i *CreateSqlLimitRulesInvoker) Invoke() (*model.CreateSqlLimitRulesResponse, error)
type CreateTuningInvoker ¶ added in v0.1.57
type CreateTuningInvoker struct {
*invoker.BaseInvoker
}
func (*CreateTuningInvoker) Invoke ¶ added in v0.1.57
func (i *CreateTuningInvoker) Invoke() (*model.CreateTuningResponse, error)
type DasClient ¶
type DasClient struct {
HcClient *httpclient.HcHttpClient
}
func NewDasClient ¶
func NewDasClient(hcClient *httpclient.HcHttpClient) *DasClient
func (*DasClient) CancelShareConnections ¶ added in v0.1.40
func (c *DasClient) CancelShareConnections(request *model.CancelShareConnectionsRequest) (*model.CancelShareConnectionsResponse, error)
CancelShareConnections 删除共享链接
删除共享链接, 用于用户删除共享链接
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) CancelShareConnectionsInvoker ¶ added in v0.1.40
func (c *DasClient) CancelShareConnectionsInvoker(request *model.CancelShareConnectionsRequest) *CancelShareConnectionsInvoker
CancelShareConnectionsInvoker 删除共享链接
func (*DasClient) ChangeSqlLimitSwitchStatus ¶ added in v0.1.12
func (c *DasClient) ChangeSqlLimitSwitchStatus(request *model.ChangeSqlLimitSwitchStatusRequest) (*model.ChangeSqlLimitSwitchStatusResponse, error)
ChangeSqlLimitSwitchStatus 设置SQL限流开关状态
设置SQL限流开关状态。目前仅支持MySQL数据库。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ChangeSqlLimitSwitchStatusInvoker ¶ added in v0.1.12
func (c *DasClient) ChangeSqlLimitSwitchStatusInvoker(request *model.ChangeSqlLimitSwitchStatusRequest) *ChangeSqlLimitSwitchStatusInvoker
ChangeSqlLimitSwitchStatusInvoker 设置SQL限流开关状态
func (*DasClient) ChangeSqlSwitch ¶
func (c *DasClient) ChangeSqlSwitch(request *model.ChangeSqlSwitchRequest) (*model.ChangeSqlSwitchResponse, error)
ChangeSqlSwitch 开启/关闭全量SQL、慢SQL开关
打开或者关闭DAS收集全量SQL开关,开启后,实例的性能损耗在5%以内。开启全量SQL后,本服务会对SQL的文本内容进行存储,以便进行分析。用户可自行设置全量SQL的保存时间范围,到期后会自动删除;如果未设置,数据默认保留7天。 打开或者关闭DAS收集慢SQL开关。开启慢SQL后,本服务会对慢SQL的文本内容进行存储,以便进行分析。用户可自行设置慢SQL的保存时间范围,到期后会自动删除;如果未设置,数据默认保留7天。该功能仅支持付费实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ChangeSqlSwitchInvoker ¶ added in v0.0.90
func (c *DasClient) ChangeSqlSwitchInvoker(request *model.ChangeSqlSwitchRequest) *ChangeSqlSwitchInvoker
ChangeSqlSwitchInvoker 开启/关闭全量SQL、慢SQL开关
func (*DasClient) ChangeTransactionSwitchStatus ¶ added in v0.1.105
func (c *DasClient) ChangeTransactionSwitchStatus(request *model.ChangeTransactionSwitchStatusRequest) (*model.ChangeTransactionSwitchStatusResponse, error)
ChangeTransactionSwitchStatus 开启/关闭历史事务开关
开启/关闭历史事务开关,仅支持MySQL引擎,并且依赖开启全量SQL或者慢SQL功能
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ChangeTransactionSwitchStatusInvoker ¶ added in v0.1.105
func (c *DasClient) ChangeTransactionSwitchStatusInvoker(request *model.ChangeTransactionSwitchStatusRequest) *ChangeTransactionSwitchStatusInvoker
ChangeTransactionSwitchStatusInvoker 开启/关闭历史事务开关
func (*DasClient) CreateShareConnections ¶ added in v0.1.40
func (c *DasClient) CreateShareConnections(request *model.CreateShareConnectionsRequest) (*model.CreateShareConnectionsResponse, error)
CreateShareConnections 设置共享链接
设置共享链接, 用于用户添加共享链接
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) CreateShareConnectionsInvoker ¶ added in v0.1.40
func (c *DasClient) CreateShareConnectionsInvoker(request *model.CreateShareConnectionsRequest) *CreateShareConnectionsInvoker
CreateShareConnectionsInvoker 设置共享链接
func (*DasClient) CreateSpaceAnalysisTask ¶
func (c *DasClient) CreateSpaceAnalysisTask(request *model.CreateSpaceAnalysisTaskRequest) (*model.CreateSpaceAnalysisTaskResponse, error)
CreateSpaceAnalysisTask 创建空间分析任务
创建空间分析任务,如触发重新分析,支持MySQL和GaussDB(for MySQL)引擎
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) CreateSpaceAnalysisTaskInvoker ¶ added in v0.0.90
func (c *DasClient) CreateSpaceAnalysisTaskInvoker(request *model.CreateSpaceAnalysisTaskRequest) *CreateSpaceAnalysisTaskInvoker
CreateSpaceAnalysisTaskInvoker 创建空间分析任务
func (*DasClient) CreateSqlLimitRules ¶ added in v0.1.12
func (c *DasClient) CreateSqlLimitRules(request *model.CreateSqlLimitRulesRequest) (*model.CreateSqlLimitRulesResponse, error)
CreateSqlLimitRules 创建SQL限流规则
添加SQL限流规则。目前仅支持MySQL和PostgreSQL数据库。 MySQL使用限制如下: 1.规则举例详细说明:例如关键字是\"select~a\", 含义为:select以及a为该并发控制所包含的两个关键字,~为关键字间隔符,即若执行SQL命令包含select与a两个关键字视为命中此条并发控制规则。 2.当SQL语句匹配多条限流规则时,优先生效最新添加的规则,之前的规则不再生效。 3.限流规则关键字有顺序要求,只会按顺序匹配。如:a~and~b 只会匹配 xxx a>1 and b>2,而不会匹配 xxx b>2 and a>1。 4.关键字可能大小写敏感,请执行 \"show variables like 'rds_sqlfilter_case_sensitive'或者到实例参数设置页面进行确认。 5.部分版本只读实例不允许设置限流规则,如果要设置限流规则,请到主实例上进行添加。 6.系统表不限制、不涉及数据查询的不限制、root账号在特定版本下不限制。 PostgreSQL使用限制如下: 1.无法添加相同QUERY_ID或SQL语句的规则。 2.使用SQL语句添加规则时,需要确保存在数据库表,如:select * from test,需要确保数据库中有test表。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) CreateSqlLimitRulesInvoker ¶ added in v0.1.12
func (c *DasClient) CreateSqlLimitRulesInvoker(request *model.CreateSqlLimitRulesRequest) *CreateSqlLimitRulesInvoker
CreateSqlLimitRulesInvoker 创建SQL限流规则
func (*DasClient) CreateTuning ¶ added in v0.1.57
func (c *DasClient) CreateTuning(request *model.CreateTuningRequest) (*model.CreateTuningResponse, error)
CreateTuning 执行SQL诊断
执行SQL诊断, 用于用户执行SQL诊断。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) CreateTuningInvoker ¶ added in v0.1.57
func (c *DasClient) CreateTuningInvoker(request *model.CreateTuningRequest) *CreateTuningInvoker
CreateTuningInvoker 执行SQL诊断
func (*DasClient) DeleteDbUser ¶
func (c *DasClient) DeleteDbUser(request *model.DeleteDbUserRequest) (*model.DeleteDbUserResponse, error)
DeleteDbUser 删除数据库用户
删除注册在DAS里的数据库用户。此接口只是将注册的数据库用户在DAS系统里删除,不会真正删除数据库用户对象。 目前仅支持MySQL实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) DeleteDbUserInvoker ¶ added in v0.0.90
func (c *DasClient) DeleteDbUserInvoker(request *model.DeleteDbUserRequest) *DeleteDbUserInvoker
DeleteDbUserInvoker 删除数据库用户
func (*DasClient) DeleteProcess ¶
func (c *DasClient) DeleteProcess(request *model.DeleteProcessRequest) (*model.DeleteProcessResponse, error)
DeleteProcess 查杀会话
查杀会话。支持按照用户、数据库、会话列表查杀会话,三个条件至少指定一个。 目前仅支持MySQL实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) DeleteProcessInvoker ¶ added in v0.0.90
func (c *DasClient) DeleteProcessInvoker(request *model.DeleteProcessRequest) *DeleteProcessInvoker
DeleteProcessInvoker 查杀会话
func (*DasClient) DeleteSqlLimitRules ¶ added in v0.1.12
func (c *DasClient) DeleteSqlLimitRules(request *model.DeleteSqlLimitRulesRequest) (*model.DeleteSqlLimitRulesResponse, error)
DeleteSqlLimitRules 删除SQL限流规则
删除SQL限流规则。目前仅支持MySQL和PostgreSQL数据库
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) DeleteSqlLimitRulesInvoker ¶ added in v0.1.12
func (c *DasClient) DeleteSqlLimitRulesInvoker(request *model.DeleteSqlLimitRulesRequest) *DeleteSqlLimitRulesInvoker
DeleteSqlLimitRulesInvoker 删除SQL限流规则
func (*DasClient) ExportSlowQueryLogs ¶
func (c *DasClient) ExportSlowQueryLogs(request *model.ExportSlowQueryLogsRequest) (*model.ExportSlowQueryLogsResponse, error)
ExportSlowQueryLogs 导出慢SQL数据
DAS收集慢SQL开关打开后,一次性导出指定时间范围内的慢SQL数据,支持分页滚动获取。免费实例仅支持查看最近一小时数据。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ExportSlowQueryLogsInvoker ¶ added in v0.0.90
func (c *DasClient) ExportSlowQueryLogsInvoker(request *model.ExportSlowQueryLogsRequest) *ExportSlowQueryLogsInvoker
ExportSlowQueryLogsInvoker 导出慢SQL数据
func (*DasClient) ExportSlowSqlStatistics ¶ added in v0.1.96
func (c *DasClient) ExportSlowSqlStatistics(request *model.ExportSlowSqlStatisticsRequest) (*model.ExportSlowSqlStatisticsResponse, error)
ExportSlowSqlStatistics 导出慢SQL统计数据
慢SQL开关打开后,导出慢SQL统计数据。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ExportSlowSqlStatisticsInvoker ¶ added in v0.1.96
func (c *DasClient) ExportSlowSqlStatisticsInvoker(request *model.ExportSlowSqlStatisticsRequest) *ExportSlowSqlStatisticsInvoker
ExportSlowSqlStatisticsInvoker 导出慢SQL统计数据
func (*DasClient) ExportSlowSqlTemplatesDetails ¶ added in v0.1.12
func (c *DasClient) ExportSlowSqlTemplatesDetails(request *model.ExportSlowSqlTemplatesDetailsRequest) (*model.ExportSlowSqlTemplatesDetailsResponse, error)
ExportSlowSqlTemplatesDetails 导出慢SQL模板列表
慢SQL开关打开后,导出慢SQL模板列表。免费实例仅支持查看最近一小时数据。查询时间间隔最长一天。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ExportSlowSqlTemplatesDetailsInvoker ¶ added in v0.1.12
func (c *DasClient) ExportSlowSqlTemplatesDetailsInvoker(request *model.ExportSlowSqlTemplatesDetailsRequest) *ExportSlowSqlTemplatesDetailsInvoker
ExportSlowSqlTemplatesDetailsInvoker 导出慢SQL模板列表
func (*DasClient) ExportSlowSqlTrendDetails ¶ added in v0.1.104
func (c *DasClient) ExportSlowSqlTrendDetails(request *model.ExportSlowSqlTrendDetailsRequest) (*model.ExportSlowSqlTrendDetailsResponse, error)
ExportSlowSqlTrendDetails 导出慢SQL数量趋势
慢SQL开关打开后,导出慢SQL数量趋势。免费实例仅支持查看最近一小时数据。查询时间间隔最长一天。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ExportSlowSqlTrendDetailsInvoker ¶ added in v0.1.104
func (c *DasClient) ExportSlowSqlTrendDetailsInvoker(request *model.ExportSlowSqlTrendDetailsRequest) *ExportSlowSqlTrendDetailsInvoker
ExportSlowSqlTrendDetailsInvoker 导出慢SQL数量趋势
func (*DasClient) ExportSqlStatements ¶
func (c *DasClient) ExportSqlStatements(request *model.ExportSqlStatementsRequest) (*model.ExportSqlStatementsResponse, error)
ExportSqlStatements 导出全量SQL
全量SQL开关打开后,一次性导出指定时间范围内的全量SQL数据,支持分页滚动获取。该功能仅支持付费实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ExportSqlStatementsInvoker ¶ added in v0.0.90
func (c *DasClient) ExportSqlStatementsInvoker(request *model.ExportSqlStatementsRequest) *ExportSqlStatementsInvoker
ExportSqlStatementsInvoker 导出全量SQL
func (*DasClient) ExportTopRiskInstances ¶ added in v0.1.108
func (c *DasClient) ExportTopRiskInstances(request *model.ExportTopRiskInstancesRequest) (*model.ExportTopRiskInstancesResponse, error)
ExportTopRiskInstances 导出TOP风险实例列表
导出TOP风险实例列表,支持查看最近24小时数据。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ExportTopRiskInstancesInvoker ¶ added in v0.1.108
func (c *DasClient) ExportTopRiskInstancesInvoker(request *model.ExportTopRiskInstancesRequest) *ExportTopRiskInstancesInvoker
ExportTopRiskInstancesInvoker 导出TOP风险实例列表
func (*DasClient) ExportTopSqlTemplatesDetails ¶ added in v0.1.12
func (c *DasClient) ExportTopSqlTemplatesDetails(request *model.ExportTopSqlTemplatesDetailsRequest) (*model.ExportTopSqlTemplatesDetailsResponse, error)
ExportTopSqlTemplatesDetails 导出TopSQL模板列表
TopSQL开关打开后,导出TopSQL模板列表。该功能仅支持付费实例。查询时间间隔最长一小时。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ExportTopSqlTemplatesDetailsInvoker ¶ added in v0.1.12
func (c *DasClient) ExportTopSqlTemplatesDetailsInvoker(request *model.ExportTopSqlTemplatesDetailsRequest) *ExportTopSqlTemplatesDetailsInvoker
ExportTopSqlTemplatesDetailsInvoker 导出TopSQL模板列表
func (*DasClient) ExportTopSqlTrendDetails ¶ added in v0.1.12
func (c *DasClient) ExportTopSqlTrendDetails(request *model.ExportTopSqlTrendDetailsRequest) (*model.ExportTopSqlTrendDetailsResponse, error)
ExportTopSqlTrendDetails 导出SQL执行耗时区间数据
TopSQL开关打开后,导出SQL执行耗时区间数据。该功能仅支持付费实例。查询时间间隔最长六小时。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ExportTopSqlTrendDetailsInvoker ¶ added in v0.1.12
func (c *DasClient) ExportTopSqlTrendDetailsInvoker(request *model.ExportTopSqlTrendDetailsRequest) *ExportTopSqlTrendDetailsInvoker
ExportTopSqlTrendDetailsInvoker 导出SQL执行耗时区间数据
func (*DasClient) ListApiVersions ¶
func (c *DasClient) ListApiVersions(request *model.ListApiVersionsRequest) (*model.ListApiVersionsResponse, error)
ListApiVersions 查询API版本列表
查询API版本列表
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ListApiVersionsInvoker ¶ added in v0.0.90
func (c *DasClient) ListApiVersionsInvoker(request *model.ListApiVersionsRequest) *ListApiVersionsInvoker
ListApiVersionsInvoker 查询API版本列表
func (*DasClient) ListDbUsers ¶
func (c *DasClient) ListDbUsers(request *model.ListDbUsersRequest) (*model.ListDbUsersResponse, error)
ListDbUsers 查询数据库用户列表
查询注册在DAS里的数据库用户列表,后续调用其他接口时(如查询实例会话列表接口)需要用到此接口返回的db_user_id。此接口不会返回数据库实例上的数据库用户对象。 目前仅支持MySQL实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ListDbUsersInvoker ¶ added in v0.0.90
func (c *DasClient) ListDbUsersInvoker(request *model.ListDbUsersRequest) *ListDbUsersInvoker
ListDbUsersInvoker 查询数据库用户列表
func (*DasClient) ListInnodbLocks ¶
func (c *DasClient) ListInnodbLocks(request *model.ListInnodbLocksRequest) (*model.ListInnodbLocksResponse, error)
ListInnodbLocks 查询InnoDB锁等待列表
查询InnoDB锁等待列表。 目前仅支持MySQL实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ListInnodbLocksInvoker ¶ added in v0.0.90
func (c *DasClient) ListInnodbLocksInvoker(request *model.ListInnodbLocksRequest) *ListInnodbLocksInvoker
ListInnodbLocksInvoker 查询InnoDB锁等待列表
func (*DasClient) ListMetadataLocks ¶
func (c *DasClient) ListMetadataLocks(request *model.ListMetadataLocksRequest) (*model.ListMetadataLocksResponse, error)
ListMetadataLocks 查询元数据锁列表
查询元数据锁列表。 目前仅支持MySQL实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ListMetadataLocksInvoker ¶ added in v0.0.90
func (c *DasClient) ListMetadataLocksInvoker(request *model.ListMetadataLocksRequest) *ListMetadataLocksInvoker
ListMetadataLocksInvoker 查询元数据锁列表
func (*DasClient) ListProcesses ¶
func (c *DasClient) ListProcesses(request *model.ListProcessesRequest) (*model.ListProcessesResponse, error)
ListProcesses 查询实例会话列表
支持根据数据库、用户查询实例会话列表。 目前仅支持MySQL实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ListProcessesInvoker ¶ added in v0.0.90
func (c *DasClient) ListProcessesInvoker(request *model.ListProcessesRequest) *ListProcessesInvoker
ListProcessesInvoker 查询实例会话列表
func (*DasClient) ListSpaceAnalysis ¶
func (c *DasClient) ListSpaceAnalysis(request *model.ListSpaceAnalysisRequest) (*model.ListSpaceAnalysisResponse, error)
ListSpaceAnalysis 获取空间分析数据列表
获取空间分析数据列表。实例级别数据来源于文件系统,库级别和表级别数据来源于information_schema.tables表。空间&元数据分析最多分析10000张表,若缺少库表空间数据,可能是因为数据库实例表个数过多或者账号未保存密码。如果为保存密码,请使用用户管理接口或页面录入数据库账号。 支持MySQL、GaussDB(for MySQL)和SQLServer引擎。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ListSpaceAnalysisInvoker ¶ added in v0.0.90
func (c *DasClient) ListSpaceAnalysisInvoker(request *model.ListSpaceAnalysisRequest) *ListSpaceAnalysisInvoker
ListSpaceAnalysisInvoker 获取空间分析数据列表
func (*DasClient) ListSqlLimitRules ¶ added in v0.1.12
func (c *DasClient) ListSqlLimitRules(request *model.ListSqlLimitRulesRequest) (*model.ListSqlLimitRulesResponse, error)
ListSqlLimitRules 查询SQL限流规则列表
查询SQL限流规则。目前仅支持MySQL和PostgreSQL数据库。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ListSqlLimitRulesInvoker ¶ added in v0.1.12
func (c *DasClient) ListSqlLimitRulesInvoker(request *model.ListSqlLimitRulesRequest) *ListSqlLimitRulesInvoker
ListSqlLimitRulesInvoker 查询SQL限流规则列表
func (*DasClient) ListTransactions ¶ added in v0.1.105
func (c *DasClient) ListTransactions(request *model.ListTransactionsRequest) (*model.ListTransactionsResponse, error)
ListTransactions 查询历史事务列表
查询历史事务列表。 目前仅支持MySQL实例,仅支持查看最近7天的历史事务。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ListTransactionsInvoker ¶ added in v0.1.105
func (c *DasClient) ListTransactionsInvoker(request *model.ListTransactionsRequest) *ListTransactionsInvoker
ListTransactionsInvoker 查询历史事务列表
func (*DasClient) ParseSqlLimitRules ¶ added in v0.1.102
func (c *DasClient) ParseSqlLimitRules(request *model.ParseSqlLimitRulesRequest) (*model.ParseSqlLimitRulesResponse, error)
ParseSqlLimitRules 根据原始SQL生成SQL限流关键字
根据原始SQL生成SQL限流关键字,目前支持MySQL、MariaDB、GaussDB(for MySQL)三种引擎。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ParseSqlLimitRulesInvoker ¶ added in v0.1.102
func (c *DasClient) ParseSqlLimitRulesInvoker(request *model.ParseSqlLimitRulesRequest) *ParseSqlLimitRulesInvoker
ParseSqlLimitRulesInvoker 根据原始SQL生成SQL限流关键字
func (*DasClient) RegisterDbUser ¶
func (c *DasClient) RegisterDbUser(request *model.RegisterDbUserRequest) (*model.RegisterDbUserResponse, error)
RegisterDbUser 注册数据库用户
此接口是将数据库用户和密码注册进DAS系统,同时会返回一个数据库用户ID ,后续调用其他接口时(如查询实例会话列表接口)需要用到此数据库用户ID。密码为加密存储,且仅用于DAS API相关功能。此接口不会在数据库实例上创建数据库用户对象。请确保输入的用户名和密码是已经存在并且是正确的。 目前仅支持MySQL实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) RegisterDbUserInvoker ¶ added in v0.0.90
func (c *DasClient) RegisterDbUserInvoker(request *model.RegisterDbUserRequest) *RegisterDbUserInvoker
RegisterDbUserInvoker 注册数据库用户
func (*DasClient) ShowApiVersion ¶
func (c *DasClient) ShowApiVersion(request *model.ShowApiVersionRequest) (*model.ShowApiVersionResponse, error)
ShowApiVersion 查询指定的API版本信息
查询指定的API版本信息
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ShowApiVersionInvoker ¶ added in v0.0.90
func (c *DasClient) ShowApiVersionInvoker(request *model.ShowApiVersionRequest) *ShowApiVersionInvoker
ShowApiVersionInvoker 查询指定的API版本信息
func (*DasClient) ShowDbUser ¶
func (c *DasClient) ShowDbUser(request *model.ShowDbUserRequest) (*model.ShowDbUserResponse, error)
ShowDbUser 查询数据库用户信息
查询注册在DAS里的数据库用户信息。此接口不能查询数据库实例上的数据库用户对象。 目前仅支持MySQL实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ShowDbUserInvoker ¶ added in v0.0.90
func (c *DasClient) ShowDbUserInvoker(request *model.ShowDbUserRequest) *ShowDbUserInvoker
ShowDbUserInvoker 查询数据库用户信息
func (*DasClient) ShowQuotas ¶
func (c *DasClient) ShowQuotas(request *model.ShowQuotasRequest) (*model.ShowQuotasResponse, error)
ShowQuotas 查询云DBA配额
查询云DBA配额
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ShowQuotasInvoker ¶ added in v0.0.90
func (c *DasClient) ShowQuotasInvoker(request *model.ShowQuotasRequest) *ShowQuotasInvoker
ShowQuotasInvoker 查询云DBA配额
func (*DasClient) ShowSqlExecutionPlan ¶
func (c *DasClient) ShowSqlExecutionPlan(request *model.ShowSqlExecutionPlanRequest) (*model.ShowSqlExecutionPlanResponse, error)
ShowSqlExecutionPlan 查询SQL执行计划
查询SQL执行计划。 目前仅支持MySQL实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ShowSqlExecutionPlanInvoker ¶ added in v0.0.90
func (c *DasClient) ShowSqlExecutionPlanInvoker(request *model.ShowSqlExecutionPlanRequest) *ShowSqlExecutionPlanInvoker
ShowSqlExecutionPlanInvoker 查询SQL执行计划
func (*DasClient) ShowSqlExplain ¶ added in v0.0.81
func (c *DasClient) ShowSqlExplain(request *model.ShowSqlExplainRequest) (*model.ShowSqlExplainResponse, error)
ShowSqlExplain 查询SQL执行计划
查询SQL执行计划。 目前仅支持MySQL实例。 补充GET请求,处理超长SQL
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ShowSqlExplainInvoker ¶ added in v0.0.90
func (c *DasClient) ShowSqlExplainInvoker(request *model.ShowSqlExplainRequest) *ShowSqlExplainInvoker
ShowSqlExplainInvoker 查询SQL执行计划
func (*DasClient) ShowSqlLimitJobInfo ¶ added in v0.1.12
func (c *DasClient) ShowSqlLimitJobInfo(request *model.ShowSqlLimitJobInfoRequest) (*model.ShowSqlLimitJobInfoResponse, error)
ShowSqlLimitJobInfo 查询SQL限流任务
查询指定ID的SQL限流任务信息
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ShowSqlLimitJobInfoInvoker ¶ added in v0.1.12
func (c *DasClient) ShowSqlLimitJobInfoInvoker(request *model.ShowSqlLimitJobInfoRequest) *ShowSqlLimitJobInfoInvoker
ShowSqlLimitJobInfoInvoker 查询SQL限流任务
func (*DasClient) ShowSqlLimitSwitchStatus ¶ added in v0.1.12
func (c *DasClient) ShowSqlLimitSwitchStatus(request *model.ShowSqlLimitSwitchStatusRequest) (*model.ShowSqlLimitSwitchStatusResponse, error)
ShowSqlLimitSwitchStatus 查看SQL限流开关状态
查询SQL限流的开关状态。目前仅支持MySQL实例
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ShowSqlLimitSwitchStatusInvoker ¶ added in v0.1.12
func (c *DasClient) ShowSqlLimitSwitchStatusInvoker(request *model.ShowSqlLimitSwitchStatusRequest) *ShowSqlLimitSwitchStatusInvoker
ShowSqlLimitSwitchStatusInvoker 查看SQL限流开关状态
func (*DasClient) ShowSqlSwitchStatus ¶
func (c *DasClient) ShowSqlSwitchStatus(request *model.ShowSqlSwitchStatusRequest) (*model.ShowSqlSwitchStatusResponse, error)
ShowSqlSwitchStatus 查询全量SQL和慢SQL的开关状态
查询DAS收集全量SQL和慢SQL的开关状态。该功能仅支持付费实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ShowSqlSwitchStatusInvoker ¶ added in v0.0.90
func (c *DasClient) ShowSqlSwitchStatusInvoker(request *model.ShowSqlSwitchStatusRequest) *ShowSqlSwitchStatusInvoker
ShowSqlSwitchStatusInvoker 查询全量SQL和慢SQL的开关状态
func (*DasClient) ShowTransactionSwitchStatus ¶ added in v0.1.105
func (c *DasClient) ShowTransactionSwitchStatus(request *model.ShowTransactionSwitchStatusRequest) (*model.ShowTransactionSwitchStatusResponse, error)
ShowTransactionSwitchStatus 查询历史事务开关
查询历史事务开关。 目前仅支持MySQL实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ShowTransactionSwitchStatusInvoker ¶ added in v0.1.105
func (c *DasClient) ShowTransactionSwitchStatusInvoker(request *model.ShowTransactionSwitchStatusRequest) *ShowTransactionSwitchStatusInvoker
ShowTransactionSwitchStatusInvoker 查询历史事务开关
func (*DasClient) ShowTuning ¶ added in v0.1.57
func (c *DasClient) ShowTuning(request *model.ShowTuningRequest) (*model.ShowTuningResponse, error)
ShowTuning 获取诊断结果
获取诊断结果
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) ShowTuningInvoker ¶ added in v0.1.57
func (c *DasClient) ShowTuningInvoker(request *model.ShowTuningRequest) *ShowTuningInvoker
ShowTuningInvoker 获取诊断结果
func (*DasClient) UpdateDbUser ¶
func (c *DasClient) UpdateDbUser(request *model.UpdateDbUserRequest) (*model.UpdateDbUserResponse, error)
UpdateDbUser 修改数据库用户
修改注册在DAS里的数据库用户名和密码。此接口不会修改数据库实例上的数据库用户对象的用户名和密码。请确保输入的用户名和密码是已经存在并且是正确的。 目前仅支持MySQL实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) UpdateDbUserInvoker ¶ added in v0.0.90
func (c *DasClient) UpdateDbUserInvoker(request *model.UpdateDbUserRequest) *UpdateDbUserInvoker
UpdateDbUserInvoker 修改数据库用户
func (*DasClient) UpdateSqlLimitRules ¶ added in v0.1.96
func (c *DasClient) UpdateSqlLimitRules(request *model.UpdateSqlLimitRulesRequest) (*model.UpdateSqlLimitRulesResponse, error)
UpdateSqlLimitRules 修改SQL限流规则
修改SQL限流规则。目前仅支持PostgreSQL数据库
Please refer to HUAWEI cloud API Explorer for details.
func (*DasClient) UpdateSqlLimitRulesInvoker ¶ added in v0.1.96
func (c *DasClient) UpdateSqlLimitRulesInvoker(request *model.UpdateSqlLimitRulesRequest) *UpdateSqlLimitRulesInvoker
UpdateSqlLimitRulesInvoker 修改SQL限流规则
type DeleteDbUserInvoker ¶ added in v0.0.90
type DeleteDbUserInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteDbUserInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteDbUserInvoker) Invoke() (*model.DeleteDbUserResponse, error)
type DeleteProcessInvoker ¶ added in v0.0.90
type DeleteProcessInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteProcessInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteProcessInvoker) Invoke() (*model.DeleteProcessResponse, error)
type DeleteSqlLimitRulesInvoker ¶ added in v0.1.12
type DeleteSqlLimitRulesInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteSqlLimitRulesInvoker) Invoke ¶ added in v0.1.12
func (i *DeleteSqlLimitRulesInvoker) Invoke() (*model.DeleteSqlLimitRulesResponse, error)
type ExportSlowQueryLogsInvoker ¶ added in v0.0.90
type ExportSlowQueryLogsInvoker struct {
*invoker.BaseInvoker
}
func (*ExportSlowQueryLogsInvoker) Invoke ¶ added in v0.0.90
func (i *ExportSlowQueryLogsInvoker) Invoke() (*model.ExportSlowQueryLogsResponse, error)
type ExportSlowSqlStatisticsInvoker ¶ added in v0.1.96
type ExportSlowSqlStatisticsInvoker struct {
*invoker.BaseInvoker
}
func (*ExportSlowSqlStatisticsInvoker) Invoke ¶ added in v0.1.96
func (i *ExportSlowSqlStatisticsInvoker) Invoke() (*model.ExportSlowSqlStatisticsResponse, error)
type ExportSlowSqlTemplatesDetailsInvoker ¶ added in v0.1.12
type ExportSlowSqlTemplatesDetailsInvoker struct {
*invoker.BaseInvoker
}
func (*ExportSlowSqlTemplatesDetailsInvoker) Invoke ¶ added in v0.1.12
func (i *ExportSlowSqlTemplatesDetailsInvoker) Invoke() (*model.ExportSlowSqlTemplatesDetailsResponse, error)
type ExportSlowSqlTrendDetailsInvoker ¶ added in v0.1.104
type ExportSlowSqlTrendDetailsInvoker struct {
*invoker.BaseInvoker
}
func (*ExportSlowSqlTrendDetailsInvoker) Invoke ¶ added in v0.1.104
func (i *ExportSlowSqlTrendDetailsInvoker) Invoke() (*model.ExportSlowSqlTrendDetailsResponse, error)
type ExportSqlStatementsInvoker ¶ added in v0.0.90
type ExportSqlStatementsInvoker struct {
*invoker.BaseInvoker
}
func (*ExportSqlStatementsInvoker) Invoke ¶ added in v0.0.90
func (i *ExportSqlStatementsInvoker) Invoke() (*model.ExportSqlStatementsResponse, error)
type ExportTopRiskInstancesInvoker ¶ added in v0.1.108
type ExportTopRiskInstancesInvoker struct {
*invoker.BaseInvoker
}
func (*ExportTopRiskInstancesInvoker) Invoke ¶ added in v0.1.108
func (i *ExportTopRiskInstancesInvoker) Invoke() (*model.ExportTopRiskInstancesResponse, error)
type ExportTopSqlTemplatesDetailsInvoker ¶ added in v0.1.12
type ExportTopSqlTemplatesDetailsInvoker struct {
*invoker.BaseInvoker
}
func (*ExportTopSqlTemplatesDetailsInvoker) Invoke ¶ added in v0.1.12
func (i *ExportTopSqlTemplatesDetailsInvoker) Invoke() (*model.ExportTopSqlTemplatesDetailsResponse, error)
type ExportTopSqlTrendDetailsInvoker ¶ added in v0.1.12
type ExportTopSqlTrendDetailsInvoker struct {
*invoker.BaseInvoker
}
func (*ExportTopSqlTrendDetailsInvoker) Invoke ¶ added in v0.1.12
func (i *ExportTopSqlTrendDetailsInvoker) Invoke() (*model.ExportTopSqlTrendDetailsResponse, error)
type ListApiVersionsInvoker ¶ added in v0.0.90
type ListApiVersionsInvoker struct {
*invoker.BaseInvoker
}
func (*ListApiVersionsInvoker) Invoke ¶ added in v0.0.90
func (i *ListApiVersionsInvoker) Invoke() (*model.ListApiVersionsResponse, error)
type ListDbUsersInvoker ¶ added in v0.0.90
type ListDbUsersInvoker struct {
*invoker.BaseInvoker
}
func (*ListDbUsersInvoker) Invoke ¶ added in v0.0.90
func (i *ListDbUsersInvoker) Invoke() (*model.ListDbUsersResponse, error)
type ListInnodbLocksInvoker ¶ added in v0.0.90
type ListInnodbLocksInvoker struct {
*invoker.BaseInvoker
}
func (*ListInnodbLocksInvoker) Invoke ¶ added in v0.0.90
func (i *ListInnodbLocksInvoker) Invoke() (*model.ListInnodbLocksResponse, error)
type ListMetadataLocksInvoker ¶ added in v0.0.90
type ListMetadataLocksInvoker struct {
*invoker.BaseInvoker
}
func (*ListMetadataLocksInvoker) Invoke ¶ added in v0.0.90
func (i *ListMetadataLocksInvoker) Invoke() (*model.ListMetadataLocksResponse, error)
type ListProcessesInvoker ¶ added in v0.0.90
type ListProcessesInvoker struct {
*invoker.BaseInvoker
}
func (*ListProcessesInvoker) Invoke ¶ added in v0.0.90
func (i *ListProcessesInvoker) Invoke() (*model.ListProcessesResponse, error)
type ListSpaceAnalysisInvoker ¶ added in v0.0.90
type ListSpaceAnalysisInvoker struct {
*invoker.BaseInvoker
}
func (*ListSpaceAnalysisInvoker) Invoke ¶ added in v0.0.90
func (i *ListSpaceAnalysisInvoker) Invoke() (*model.ListSpaceAnalysisResponse, error)
type ListSqlLimitRulesInvoker ¶ added in v0.1.12
type ListSqlLimitRulesInvoker struct {
*invoker.BaseInvoker
}
func (*ListSqlLimitRulesInvoker) Invoke ¶ added in v0.1.12
func (i *ListSqlLimitRulesInvoker) Invoke() (*model.ListSqlLimitRulesResponse, error)
type ListTransactionsInvoker ¶ added in v0.1.105
type ListTransactionsInvoker struct {
*invoker.BaseInvoker
}
func (*ListTransactionsInvoker) Invoke ¶ added in v0.1.105
func (i *ListTransactionsInvoker) Invoke() (*model.ListTransactionsResponse, error)
type ParseSqlLimitRulesInvoker ¶ added in v0.1.102
type ParseSqlLimitRulesInvoker struct {
*invoker.BaseInvoker
}
func (*ParseSqlLimitRulesInvoker) Invoke ¶ added in v0.1.102
func (i *ParseSqlLimitRulesInvoker) Invoke() (*model.ParseSqlLimitRulesResponse, error)
type RegisterDbUserInvoker ¶ added in v0.0.90
type RegisterDbUserInvoker struct {
*invoker.BaseInvoker
}
func (*RegisterDbUserInvoker) Invoke ¶ added in v0.0.90
func (i *RegisterDbUserInvoker) Invoke() (*model.RegisterDbUserResponse, error)
type ShowApiVersionInvoker ¶ added in v0.0.90
type ShowApiVersionInvoker struct {
*invoker.BaseInvoker
}
func (*ShowApiVersionInvoker) Invoke ¶ added in v0.0.90
func (i *ShowApiVersionInvoker) Invoke() (*model.ShowApiVersionResponse, error)
type ShowDbUserInvoker ¶ added in v0.0.90
type ShowDbUserInvoker struct {
*invoker.BaseInvoker
}
func (*ShowDbUserInvoker) Invoke ¶ added in v0.0.90
func (i *ShowDbUserInvoker) Invoke() (*model.ShowDbUserResponse, error)
type ShowQuotasInvoker ¶ added in v0.0.90
type ShowQuotasInvoker struct {
*invoker.BaseInvoker
}
func (*ShowQuotasInvoker) Invoke ¶ added in v0.0.90
func (i *ShowQuotasInvoker) Invoke() (*model.ShowQuotasResponse, error)
type ShowSqlExecutionPlanInvoker ¶ added in v0.0.90
type ShowSqlExecutionPlanInvoker struct {
*invoker.BaseInvoker
}
func (*ShowSqlExecutionPlanInvoker) Invoke ¶ added in v0.0.90
func (i *ShowSqlExecutionPlanInvoker) Invoke() (*model.ShowSqlExecutionPlanResponse, error)
type ShowSqlExplainInvoker ¶ added in v0.0.90
type ShowSqlExplainInvoker struct {
*invoker.BaseInvoker
}
func (*ShowSqlExplainInvoker) Invoke ¶ added in v0.0.90
func (i *ShowSqlExplainInvoker) Invoke() (*model.ShowSqlExplainResponse, error)
type ShowSqlLimitJobInfoInvoker ¶ added in v0.1.12
type ShowSqlLimitJobInfoInvoker struct {
*invoker.BaseInvoker
}
func (*ShowSqlLimitJobInfoInvoker) Invoke ¶ added in v0.1.12
func (i *ShowSqlLimitJobInfoInvoker) Invoke() (*model.ShowSqlLimitJobInfoResponse, error)
type ShowSqlLimitSwitchStatusInvoker ¶ added in v0.1.12
type ShowSqlLimitSwitchStatusInvoker struct {
*invoker.BaseInvoker
}
func (*ShowSqlLimitSwitchStatusInvoker) Invoke ¶ added in v0.1.12
func (i *ShowSqlLimitSwitchStatusInvoker) Invoke() (*model.ShowSqlLimitSwitchStatusResponse, error)
type ShowSqlSwitchStatusInvoker ¶ added in v0.0.90
type ShowSqlSwitchStatusInvoker struct {
*invoker.BaseInvoker
}
func (*ShowSqlSwitchStatusInvoker) Invoke ¶ added in v0.0.90
func (i *ShowSqlSwitchStatusInvoker) Invoke() (*model.ShowSqlSwitchStatusResponse, error)
type ShowTransactionSwitchStatusInvoker ¶ added in v0.1.105
type ShowTransactionSwitchStatusInvoker struct {
*invoker.BaseInvoker
}
func (*ShowTransactionSwitchStatusInvoker) Invoke ¶ added in v0.1.105
func (i *ShowTransactionSwitchStatusInvoker) Invoke() (*model.ShowTransactionSwitchStatusResponse, error)
type ShowTuningInvoker ¶ added in v0.1.57
type ShowTuningInvoker struct {
*invoker.BaseInvoker
}
func (*ShowTuningInvoker) Invoke ¶ added in v0.1.57
func (i *ShowTuningInvoker) Invoke() (*model.ShowTuningResponse, error)
type UpdateDbUserInvoker ¶ added in v0.0.90
type UpdateDbUserInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateDbUserInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateDbUserInvoker) Invoke() (*model.UpdateDbUserResponse, error)
type UpdateSqlLimitRulesInvoker ¶ added in v0.1.96
type UpdateSqlLimitRulesInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateSqlLimitRulesInvoker) Invoke ¶ added in v0.1.96
func (i *UpdateSqlLimitRulesInvoker) Invoke() (*model.UpdateSqlLimitRulesResponse, error)