Documentation ¶
Index ¶
- func GaussDBClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForChangeMysqlInstanceSpecification() *def.HttpRequestDef
- func GenReqDefForCreateMysqlBackup() *def.HttpRequestDef
- func GenReqDefForCreateMysqlInstance() *def.HttpRequestDef
- func GenReqDefForCreateMysqlProxy() *def.HttpRequestDef
- func GenReqDefForCreateMysqlReadonlyNode() *def.HttpRequestDef
- func GenReqDefForDeleteMysqlInstance() *def.HttpRequestDef
- func GenReqDefForDeleteMysqlProxy() *def.HttpRequestDef
- func GenReqDefForDeleteMysqlReadonlyNode() *def.HttpRequestDef
- func GenReqDefForExpandMysqlInstanceVolume() *def.HttpRequestDef
- func GenReqDefForExpandMysqlProxy() *def.HttpRequestDef
- func GenReqDefForListMysqlConfigurations() *def.HttpRequestDef
- func GenReqDefForListMysqlErrorLog() *def.HttpRequestDef
- func GenReqDefForListMysqlSlowLog() *def.HttpRequestDef
- func GenReqDefForResetMysqlPassword() *def.HttpRequestDef
- func GenReqDefForSetMysqlQuotas() *def.HttpRequestDef
- func GenReqDefForShowMysqlBackupList() *def.HttpRequestDef
- func GenReqDefForShowMysqlBackupPolicy() *def.HttpRequestDef
- func GenReqDefForShowMysqlEngineVersion() *def.HttpRequestDef
- func GenReqDefForShowMysqlFlavors() *def.HttpRequestDef
- func GenReqDefForShowMysqlInstanceInfo() *def.HttpRequestDef
- func GenReqDefForShowMysqlInstanceList() *def.HttpRequestDef
- func GenReqDefForShowMysqlJobInfo() *def.HttpRequestDef
- func GenReqDefForShowMysqlProjectQuotas() *def.HttpRequestDef
- func GenReqDefForShowMysqlProxy() *def.HttpRequestDef
- func GenReqDefForShowMysqlProxyFlavors() *def.HttpRequestDef
- func GenReqDefForShowMysqlQuotas() *def.HttpRequestDef
- func GenReqDefForUpdateMysqlBackupPolicy() *def.HttpRequestDef
- func GenReqDefForUpdateMysqlInstanceName() *def.HttpRequestDef
- func GenReqDefForUpdateMysqlQuotas() *def.HttpRequestDef
- type GaussDBClient
- func (c *GaussDBClient) ChangeMysqlInstanceSpecification(request *model.ChangeMysqlInstanceSpecificationRequest) (*model.ChangeMysqlInstanceSpecificationResponse, error)
- func (c *GaussDBClient) CreateMysqlBackup(request *model.CreateMysqlBackupRequest) (*model.CreateMysqlBackupResponse, error)
- func (c *GaussDBClient) CreateMysqlInstance(request *model.CreateMysqlInstanceRequest) (*model.CreateMysqlInstanceResponse, error)
- func (c *GaussDBClient) CreateMysqlProxy(request *model.CreateMysqlProxyRequest) (*model.CreateMysqlProxyResponse, error)
- func (c *GaussDBClient) CreateMysqlReadonlyNode(request *model.CreateMysqlReadonlyNodeRequest) (*model.CreateMysqlReadonlyNodeResponse, error)
- func (c *GaussDBClient) DeleteMysqlInstance(request *model.DeleteMysqlInstanceRequest) (*model.DeleteMysqlInstanceResponse, error)
- func (c *GaussDBClient) DeleteMysqlProxy(request *model.DeleteMysqlProxyRequest) (*model.DeleteMysqlProxyResponse, error)
- func (c *GaussDBClient) DeleteMysqlReadonlyNode(request *model.DeleteMysqlReadonlyNodeRequest) (*model.DeleteMysqlReadonlyNodeResponse, error)
- func (c *GaussDBClient) ExpandMysqlInstanceVolume(request *model.ExpandMysqlInstanceVolumeRequest) (*model.ExpandMysqlInstanceVolumeResponse, error)
- func (c *GaussDBClient) ExpandMysqlProxy(request *model.ExpandMysqlProxyRequest) (*model.ExpandMysqlProxyResponse, error)
- func (c *GaussDBClient) ListMysqlConfigurations(request *model.ListMysqlConfigurationsRequest) (*model.ListMysqlConfigurationsResponse, error)
- func (c *GaussDBClient) ListMysqlErrorLog(request *model.ListMysqlErrorLogRequest) (*model.ListMysqlErrorLogResponse, error)
- func (c *GaussDBClient) ListMysqlSlowLog(request *model.ListMysqlSlowLogRequest) (*model.ListMysqlSlowLogResponse, error)
- func (c *GaussDBClient) ResetMysqlPassword(request *model.ResetMysqlPasswordRequest) (*model.ResetMysqlPasswordResponse, error)
- func (c *GaussDBClient) SetMysqlQuotas(request *model.SetMysqlQuotasRequest) (*model.SetMysqlQuotasResponse, error)
- func (c *GaussDBClient) ShowMysqlBackupList(request *model.ShowMysqlBackupListRequest) (*model.ShowMysqlBackupListResponse, error)
- func (c *GaussDBClient) ShowMysqlBackupPolicy(request *model.ShowMysqlBackupPolicyRequest) (*model.ShowMysqlBackupPolicyResponse, error)
- func (c *GaussDBClient) ShowMysqlEngineVersion(request *model.ShowMysqlEngineVersionRequest) (*model.ShowMysqlEngineVersionResponse, error)
- func (c *GaussDBClient) ShowMysqlFlavors(request *model.ShowMysqlFlavorsRequest) (*model.ShowMysqlFlavorsResponse, error)
- func (c *GaussDBClient) ShowMysqlInstanceInfo(request *model.ShowMysqlInstanceInfoRequest) (*model.ShowMysqlInstanceInfoResponse, error)
- func (c *GaussDBClient) ShowMysqlInstanceList(request *model.ShowMysqlInstanceListRequest) (*model.ShowMysqlInstanceListResponse, error)
- func (c *GaussDBClient) ShowMysqlJobInfo(request *model.ShowMysqlJobInfoRequest) (*model.ShowMysqlJobInfoResponse, error)
- func (c *GaussDBClient) ShowMysqlProjectQuotas(request *model.ShowMysqlProjectQuotasRequest) (*model.ShowMysqlProjectQuotasResponse, error)
- func (c *GaussDBClient) ShowMysqlProxy(request *model.ShowMysqlProxyRequest) (*model.ShowMysqlProxyResponse, error)
- func (c *GaussDBClient) ShowMysqlProxyFlavors(request *model.ShowMysqlProxyFlavorsRequest) (*model.ShowMysqlProxyFlavorsResponse, error)
- func (c *GaussDBClient) ShowMysqlQuotas(request *model.ShowMysqlQuotasRequest) (*model.ShowMysqlQuotasResponse, error)
- func (c *GaussDBClient) UpdateMysqlBackupPolicy(request *model.UpdateMysqlBackupPolicyRequest) (*model.UpdateMysqlBackupPolicyResponse, error)
- func (c *GaussDBClient) UpdateMysqlInstanceName(request *model.UpdateMysqlInstanceNameRequest) (*model.UpdateMysqlInstanceNameResponse, error)
- func (c *GaussDBClient) UpdateMysqlQuotas(request *model.UpdateMysqlQuotasRequest) (*model.UpdateMysqlQuotasResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GaussDBClientBuilder ¶
func GaussDBClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForChangeMysqlInstanceSpecification ¶
func GenReqDefForChangeMysqlInstanceSpecification() *def.HttpRequestDef
func GenReqDefForCreateMysqlBackup ¶
func GenReqDefForCreateMysqlBackup() *def.HttpRequestDef
func GenReqDefForCreateMysqlInstance ¶
func GenReqDefForCreateMysqlInstance() *def.HttpRequestDef
func GenReqDefForCreateMysqlProxy ¶
func GenReqDefForCreateMysqlProxy() *def.HttpRequestDef
func GenReqDefForCreateMysqlReadonlyNode ¶
func GenReqDefForCreateMysqlReadonlyNode() *def.HttpRequestDef
func GenReqDefForDeleteMysqlInstance ¶
func GenReqDefForDeleteMysqlInstance() *def.HttpRequestDef
func GenReqDefForDeleteMysqlProxy ¶
func GenReqDefForDeleteMysqlProxy() *def.HttpRequestDef
func GenReqDefForDeleteMysqlReadonlyNode ¶
func GenReqDefForDeleteMysqlReadonlyNode() *def.HttpRequestDef
func GenReqDefForExpandMysqlInstanceVolume ¶
func GenReqDefForExpandMysqlInstanceVolume() *def.HttpRequestDef
func GenReqDefForExpandMysqlProxy ¶
func GenReqDefForExpandMysqlProxy() *def.HttpRequestDef
func GenReqDefForListMysqlConfigurations ¶
func GenReqDefForListMysqlConfigurations() *def.HttpRequestDef
func GenReqDefForListMysqlErrorLog ¶
func GenReqDefForListMysqlErrorLog() *def.HttpRequestDef
func GenReqDefForListMysqlSlowLog ¶
func GenReqDefForListMysqlSlowLog() *def.HttpRequestDef
func GenReqDefForResetMysqlPassword ¶
func GenReqDefForResetMysqlPassword() *def.HttpRequestDef
func GenReqDefForSetMysqlQuotas ¶
func GenReqDefForSetMysqlQuotas() *def.HttpRequestDef
func GenReqDefForShowMysqlBackupList ¶
func GenReqDefForShowMysqlBackupList() *def.HttpRequestDef
func GenReqDefForShowMysqlBackupPolicy ¶
func GenReqDefForShowMysqlBackupPolicy() *def.HttpRequestDef
func GenReqDefForShowMysqlEngineVersion ¶
func GenReqDefForShowMysqlEngineVersion() *def.HttpRequestDef
func GenReqDefForShowMysqlFlavors ¶
func GenReqDefForShowMysqlFlavors() *def.HttpRequestDef
func GenReqDefForShowMysqlInstanceInfo ¶
func GenReqDefForShowMysqlInstanceInfo() *def.HttpRequestDef
func GenReqDefForShowMysqlInstanceList ¶
func GenReqDefForShowMysqlInstanceList() *def.HttpRequestDef
func GenReqDefForShowMysqlJobInfo ¶
func GenReqDefForShowMysqlJobInfo() *def.HttpRequestDef
func GenReqDefForShowMysqlProjectQuotas ¶
func GenReqDefForShowMysqlProjectQuotas() *def.HttpRequestDef
func GenReqDefForShowMysqlProxy ¶
func GenReqDefForShowMysqlProxy() *def.HttpRequestDef
func GenReqDefForShowMysqlProxyFlavors ¶
func GenReqDefForShowMysqlProxyFlavors() *def.HttpRequestDef
func GenReqDefForShowMysqlQuotas ¶
func GenReqDefForShowMysqlQuotas() *def.HttpRequestDef
func GenReqDefForUpdateMysqlBackupPolicy ¶
func GenReqDefForUpdateMysqlBackupPolicy() *def.HttpRequestDef
func GenReqDefForUpdateMysqlInstanceName ¶
func GenReqDefForUpdateMysqlInstanceName() *def.HttpRequestDef
func GenReqDefForUpdateMysqlQuotas ¶
func GenReqDefForUpdateMysqlQuotas() *def.HttpRequestDef
Types ¶
type GaussDBClient ¶
type GaussDBClient struct {
HcClient *http_client.HcHttpClient
}
func NewGaussDBClient ¶
func NewGaussDBClient(hcClient *http_client.HcHttpClient) *GaussDBClient
func (*GaussDBClient) ChangeMysqlInstanceSpecification ¶
func (c *GaussDBClient) ChangeMysqlInstanceSpecification(request *model.ChangeMysqlInstanceSpecificationRequest) (*model.ChangeMysqlInstanceSpecificationResponse, error)
变更实例规格
func (*GaussDBClient) CreateMysqlBackup ¶
func (c *GaussDBClient) CreateMysqlBackup(request *model.CreateMysqlBackupRequest) (*model.CreateMysqlBackupResponse, error)
创建手动备份
func (*GaussDBClient) CreateMysqlInstance ¶
func (c *GaussDBClient) CreateMysqlInstance(request *model.CreateMysqlInstanceRequest) (*model.CreateMysqlInstanceResponse, error)
func (*GaussDBClient) CreateMysqlProxy ¶
func (c *GaussDBClient) CreateMysqlProxy(request *model.CreateMysqlProxyRequest) (*model.CreateMysqlProxyResponse, error)
func (*GaussDBClient) CreateMysqlReadonlyNode ¶
func (c *GaussDBClient) CreateMysqlReadonlyNode(request *model.CreateMysqlReadonlyNodeRequest) (*model.CreateMysqlReadonlyNodeResponse, error)
创建只读节点。
func (*GaussDBClient) DeleteMysqlInstance ¶
func (c *GaussDBClient) DeleteMysqlInstance(request *model.DeleteMysqlInstanceRequest) (*model.DeleteMysqlInstanceResponse, error)
func (*GaussDBClient) DeleteMysqlProxy ¶
func (c *GaussDBClient) DeleteMysqlProxy(request *model.DeleteMysqlProxyRequest) (*model.DeleteMysqlProxyResponse, error)
func (*GaussDBClient) DeleteMysqlReadonlyNode ¶
func (c *GaussDBClient) DeleteMysqlReadonlyNode(request *model.DeleteMysqlReadonlyNodeRequest) (*model.DeleteMysqlReadonlyNodeResponse, error)
func (*GaussDBClient) ExpandMysqlInstanceVolume ¶
func (c *GaussDBClient) ExpandMysqlInstanceVolume(request *model.ExpandMysqlInstanceVolumeRequest) (*model.ExpandMysqlInstanceVolumeResponse, error)
包周期存储扩容
func (*GaussDBClient) ExpandMysqlProxy ¶
func (c *GaussDBClient) ExpandMysqlProxy(request *model.ExpandMysqlProxyRequest) (*model.ExpandMysqlProxyResponse, error)
func (*GaussDBClient) ListMysqlConfigurations ¶
func (c *GaussDBClient) ListMysqlConfigurations(request *model.ListMysqlConfigurationsRequest) (*model.ListMysqlConfigurationsResponse, error)
获取参数模板列表,包括所有数据库的默认参数模板和用户创建的参数模板。
func (*GaussDBClient) ListMysqlErrorLog ¶
func (c *GaussDBClient) ListMysqlErrorLog(request *model.ListMysqlErrorLogRequest) (*model.ListMysqlErrorLogResponse, error)
func (*GaussDBClient) ListMysqlSlowLog ¶
func (c *GaussDBClient) ListMysqlSlowLog(request *model.ListMysqlSlowLogRequest) (*model.ListMysqlSlowLogResponse, error)
查询数据库慢日志
func (*GaussDBClient) ResetMysqlPassword ¶
func (c *GaussDBClient) ResetMysqlPassword(request *model.ResetMysqlPasswordRequest) (*model.ResetMysqlPasswordResponse, error)
重置数据库密码
func (*GaussDBClient) SetMysqlQuotas ¶
func (c *GaussDBClient) SetMysqlQuotas(request *model.SetMysqlQuotasRequest) (*model.SetMysqlQuotasResponse, error)
func (*GaussDBClient) ShowMysqlBackupList ¶
func (c *GaussDBClient) ShowMysqlBackupList(request *model.ShowMysqlBackupListRequest) (*model.ShowMysqlBackupListResponse, error)
查询备份列表
func (*GaussDBClient) ShowMysqlBackupPolicy ¶
func (c *GaussDBClient) ShowMysqlBackupPolicy(request *model.ShowMysqlBackupPolicyRequest) (*model.ShowMysqlBackupPolicyResponse, error)
func (*GaussDBClient) ShowMysqlEngineVersion ¶
func (c *GaussDBClient) ShowMysqlEngineVersion(request *model.ShowMysqlEngineVersionRequest) (*model.ShowMysqlEngineVersionResponse, error)
func (*GaussDBClient) ShowMysqlFlavors ¶
func (c *GaussDBClient) ShowMysqlFlavors(request *model.ShowMysqlFlavorsRequest) (*model.ShowMysqlFlavorsResponse, error)
func (*GaussDBClient) ShowMysqlInstanceInfo ¶
func (c *GaussDBClient) ShowMysqlInstanceInfo(request *model.ShowMysqlInstanceInfoRequest) (*model.ShowMysqlInstanceInfoResponse, error)
查询实例详情信息
func (*GaussDBClient) ShowMysqlInstanceList ¶
func (c *GaussDBClient) ShowMysqlInstanceList(request *model.ShowMysqlInstanceListRequest) (*model.ShowMysqlInstanceListResponse, error)
func (*GaussDBClient) ShowMysqlJobInfo ¶
func (c *GaussDBClient) ShowMysqlJobInfo(request *model.ShowMysqlJobInfoRequest) (*model.ShowMysqlJobInfoResponse, error)
获取指定ID的任务信息。
func (*GaussDBClient) ShowMysqlProjectQuotas ¶
func (c *GaussDBClient) ShowMysqlProjectQuotas(request *model.ShowMysqlProjectQuotasRequest) (*model.ShowMysqlProjectQuotasResponse, error)
func (*GaussDBClient) ShowMysqlProxy ¶
func (c *GaussDBClient) ShowMysqlProxy(request *model.ShowMysqlProxyRequest) (*model.ShowMysqlProxyResponse, error)
func (*GaussDBClient) ShowMysqlProxyFlavors ¶
func (c *GaussDBClient) ShowMysqlProxyFlavors(request *model.ShowMysqlProxyFlavorsRequest) (*model.ShowMysqlProxyFlavorsResponse, error)
func (*GaussDBClient) ShowMysqlQuotas ¶
func (c *GaussDBClient) ShowMysqlQuotas(request *model.ShowMysqlQuotasRequest) (*model.ShowMysqlQuotasResponse, error)
func (*GaussDBClient) UpdateMysqlBackupPolicy ¶
func (c *GaussDBClient) UpdateMysqlBackupPolicy(request *model.UpdateMysqlBackupPolicyRequest) (*model.UpdateMysqlBackupPolicyResponse, error)
修改备份策略
func (*GaussDBClient) UpdateMysqlInstanceName ¶
func (c *GaussDBClient) UpdateMysqlInstanceName(request *model.UpdateMysqlInstanceNameRequest) (*model.UpdateMysqlInstanceNameResponse, error)
修改实例名称
func (*GaussDBClient) UpdateMysqlQuotas ¶
func (c *GaussDBClient) UpdateMysqlQuotas(request *model.UpdateMysqlQuotasRequest) (*model.UpdateMysqlQuotasResponse, error)
Click to show internal directories.
Click to hide internal directories.