Documentation ¶
Index ¶
- type CheckPermissionRequest
- type CheckPermissionResponse
- type CommitSyntaxConversionRequest
- type CommitSyntaxConversionResponse
- type CommitVerificationRequest
- type CommitVerificationResponse
- type ConfirmTargetDbReq
- type ConfirmTargetDbReqTargetDbType
- type ConfirmTargetDbReqTargetDbTypeEnum
- type ConfirmTargetDbReqTargetDbVersion
- type ConfirmTargetDbReqTargetDbVersionEnum
- type ConfirmTargetDbTypeRequest
- type ConfirmTargetDbTypeResponse
- type ConfirmTargetDbTypeResponseEvaluationProjectStatus
- type ConfirmTargetDbTypeResponseEvaluationProjectStatusEnum
- type CreateEvaluationProjectReq
- type CreateEvaluationProjectRequest
- type CreateEvaluationProjectResponse
- type CreateMigrationProject
- type CreateMigrationProjectRequest
- type CreateMigrationProjectResponse
- type DataBase
- type DatabaseObject
- type DeleteEvaluationProjectRequest
- type DeleteEvaluationProjectResponse
- type DeleteMigrationProjectRequest
- type DeleteMigrationProjectResponse
- type DownloadFailureReportRequest
- type DownloadFailureReportResponse
- type EvaluationProject
- type ListApiVersionsRequest
- type ListApiVersionsResponse
- type ListEvaluationProjectsRequest
- type ListEvaluationProjectsRequestEvaluationProjectStatus
- type ListEvaluationProjectsRequestEvaluationProjectStatusEnum
- type ListEvaluationProjectsResponse
- type ListMigrationProjectsRequest
- type ListMigrationProjectsResponse
- type ListPermissionCheckResultRequest
- type ListPermissionCheckResultResponse
- type ListQuotasRequest
- type ListQuotasResponse
- type ListSyntaxConversionProgressRequest
- type ListSyntaxConversionProgressResponse
- type ListVerificationProgressRequest
- type ListVerificationProgressResponse
- type MigrationProject
- type MigrationProjectMigrationProjectStatus
- type MigrationProjectMigrationProjectStatusEnum
- type MigrationProjectPermissionCheckStatus
- type MigrationProjectPermissionCheckStatusEnum
- type ObjectTypeInfo
- type OpenGaussConfig
- type OpenGaussConfigPermissionCheckType
- type OpenGaussConfigPermissionCheckTypeEnum
- type PermissionItem
- type ProjectStatusDetail
- type Quota
- type RunSqlConversionRequest
- type RunSqlConversionResponse
- type SchemaInfo
- type ShowApiVersionInfoRequest
- type ShowApiVersionInfoRequestApiVersion
- type ShowApiVersionInfoRequestApiVersionEnum
- type ShowApiVersionInfoResponse
- type ShowApiVersionInfoResponseStatus
- type ShowApiVersionInfoResponseStatusEnum
- type ShowEvaluationProjectDetailRequest
- type ShowEvaluationProjectDetailResponse
- type ShowEvaluationProjectStatusRequest
- type ShowEvaluationProjectStatusResponse
- type ShowEvaluationProjectStatusResponseEvaluationProjectStatus
- type ShowEvaluationProjectStatusResponseEvaluationProjectStatusEnum
- type ShowMigrationProjectDetailRequest
- type ShowMigrationProjectDetailResponse
- type ShowMigrationProjectStatusRequest
- type ShowMigrationProjectStatusResponse
- type ShowMigrationProjectStatusResponseMigrationProjectStatus
- type ShowMigrationProjectStatusResponseMigrationProjectStatusEnum
- type ShowMigrationProjectStatusResponsePermissionCheckStatus
- type ShowMigrationProjectStatusResponsePermissionCheckStatusEnum
- type SourceDb
- type SourceDbInfo
- type SourceDbInfoSourceDbType
- type SourceDbInfoSourceDbTypeEnum
- type SourceDbInfoSourceDbVersion
- type SourceDbInfoSourceDbVersionEnum
- type SqlConvertReq
- type SqlConvertReqSourceDbType
- type SqlConvertReqSourceDbTypeEnum
- type SqlConvertReqTargetDbType
- type SqlConvertReqTargetDbTypeEnum
- type SqlConvertReqTargetDbVersion
- type SqlConvertReqTargetDbVersionEnum
- type TargetDbInfo
- type UnSupportedItem
- type VersionDetails
- type VersionDetailsStatus
- type VersionDetailsStatusEnum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckPermissionRequest ¶
type CheckPermissionRequest struct { // 迁移项目ID。 MigrationProjectId string `json:"migration_project_id"` }
Request Object
func (CheckPermissionRequest) String ¶
func (o CheckPermissionRequest) String() string
type CheckPermissionResponse ¶
type CheckPermissionResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CheckPermissionResponse) String ¶
func (o CheckPermissionResponse) String() string
type CommitSyntaxConversionRequest ¶
type CommitSyntaxConversionRequest struct { // 迁移项目ID。 MigrationProjectId string `json:"migration_project_id"` }
Request Object
func (CommitSyntaxConversionRequest) String ¶
func (o CommitSyntaxConversionRequest) String() string
type CommitSyntaxConversionResponse ¶
type CommitSyntaxConversionResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CommitSyntaxConversionResponse) String ¶
func (o CommitSyntaxConversionResponse) String() string
type CommitVerificationRequest ¶
type CommitVerificationRequest struct { // 迁移项目ID。 MigrationProjectId string `json:"migration_project_id"` }
Request Object
func (CommitVerificationRequest) String ¶
func (o CommitVerificationRequest) String() string
type CommitVerificationResponse ¶
type CommitVerificationResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CommitVerificationResponse) String ¶
func (o CommitVerificationResponse) String() string
type ConfirmTargetDbReq ¶
type ConfirmTargetDbReq struct { // 评估项目ID。 EvaluationProjectId string `json:"evaluation_project_id"` // 目标数据库类型。 TargetDbType ConfirmTargetDbReqTargetDbType `json:"target_db_type"` // 目标数据库版本。(注意:该字段需要与 target_db_type 字段组合成有效的目标数据库类型与版本,当前支持以下组合: RDS for PostgreSQL-11; RDS for PostgreSQL-Enhanced Edition; RDS for MySQL-5.7; GaussDB(for MySQL) 8.0。) TargetDbVersion ConfirmTargetDbReqTargetDbVersion `json:"target_db_version"` }
确认目标数据库版本的请求体。
func (ConfirmTargetDbReq) String ¶
func (o ConfirmTargetDbReq) String() string
type ConfirmTargetDbReqTargetDbType ¶ added in v0.1.11
type ConfirmTargetDbReqTargetDbType struct {
// contains filtered or unexported fields
}
func (ConfirmTargetDbReqTargetDbType) MarshalJSON ¶ added in v0.1.11
func (c ConfirmTargetDbReqTargetDbType) MarshalJSON() ([]byte, error)
func (*ConfirmTargetDbReqTargetDbType) UnmarshalJSON ¶ added in v0.1.11
func (c *ConfirmTargetDbReqTargetDbType) UnmarshalJSON(b []byte) error
func (ConfirmTargetDbReqTargetDbType) Value ¶ added in v0.1.11
func (c ConfirmTargetDbReqTargetDbType) Value() string
type ConfirmTargetDbReqTargetDbTypeEnum ¶ added in v0.1.11
type ConfirmTargetDbReqTargetDbTypeEnum struct { RDS_FOR_MY_SQL ConfirmTargetDbReqTargetDbType GAUSS_DB_FOR_MY_SQL ConfirmTargetDbReqTargetDbType RDS_FOR_POSTGRE_SQL ConfirmTargetDbReqTargetDbType }
func GetConfirmTargetDbReqTargetDbTypeEnum ¶ added in v0.1.11
func GetConfirmTargetDbReqTargetDbTypeEnum() ConfirmTargetDbReqTargetDbTypeEnum
type ConfirmTargetDbReqTargetDbVersion ¶ added in v0.1.11
type ConfirmTargetDbReqTargetDbVersion struct {
// contains filtered or unexported fields
}
func (ConfirmTargetDbReqTargetDbVersion) MarshalJSON ¶ added in v0.1.11
func (c ConfirmTargetDbReqTargetDbVersion) MarshalJSON() ([]byte, error)
func (*ConfirmTargetDbReqTargetDbVersion) UnmarshalJSON ¶ added in v0.1.11
func (c *ConfirmTargetDbReqTargetDbVersion) UnmarshalJSON(b []byte) error
func (ConfirmTargetDbReqTargetDbVersion) Value ¶ added in v0.1.11
func (c ConfirmTargetDbReqTargetDbVersion) Value() string
type ConfirmTargetDbReqTargetDbVersionEnum ¶ added in v0.1.11
type ConfirmTargetDbReqTargetDbVersionEnum struct { E_5_7 ConfirmTargetDbReqTargetDbVersion E_8_0 ConfirmTargetDbReqTargetDbVersion E_11 ConfirmTargetDbReqTargetDbVersion ENHANCED_EDITION ConfirmTargetDbReqTargetDbVersion }
func GetConfirmTargetDbReqTargetDbVersionEnum ¶ added in v0.1.11
func GetConfirmTargetDbReqTargetDbVersionEnum() ConfirmTargetDbReqTargetDbVersionEnum
type ConfirmTargetDbTypeRequest ¶
type ConfirmTargetDbTypeRequest struct {
Body *ConfirmTargetDbReq `json:"body,omitempty"`
}
Request Object
func (ConfirmTargetDbTypeRequest) String ¶
func (o ConfirmTargetDbTypeRequest) String() string
type ConfirmTargetDbTypeResponse ¶
type ConfirmTargetDbTypeResponse struct { // 评估项目ID。 EvaluationProjectId *int32 `json:"evaluation_project_id,omitempty"` // 评估项目名称。 EvaluationProjectName *string `json:"evaluation_project_name,omitempty"` // 评估项目状态。 EvaluationProjectStatus *ConfirmTargetDbTypeResponseEvaluationProjectStatus `json:"evaluation_project_status,omitempty"` ProjectStatusDetail *ProjectStatusDetail `json:"project_status_detail,omitempty"` // 源数据库类型。 SourceDbType *string `json:"source_db_type,omitempty"` // 源数据库版本。 SourceDbVersion *string `json:"source_db_version,omitempty"` // 目标数据库类型。 TargetDbType *string `json:"target_db_type,omitempty"` // 目标数据库版本。 TargetDbVersion *string `json:"target_db_version,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ConfirmTargetDbTypeResponse) String ¶
func (o ConfirmTargetDbTypeResponse) String() string
type ConfirmTargetDbTypeResponseEvaluationProjectStatus ¶
type ConfirmTargetDbTypeResponseEvaluationProjectStatus struct {
// contains filtered or unexported fields
}
func (ConfirmTargetDbTypeResponseEvaluationProjectStatus) MarshalJSON ¶
func (c ConfirmTargetDbTypeResponseEvaluationProjectStatus) MarshalJSON() ([]byte, error)
func (*ConfirmTargetDbTypeResponseEvaluationProjectStatus) UnmarshalJSON ¶
func (c *ConfirmTargetDbTypeResponseEvaluationProjectStatus) UnmarshalJSON(b []byte) error
func (ConfirmTargetDbTypeResponseEvaluationProjectStatus) Value ¶
func (c ConfirmTargetDbTypeResponseEvaluationProjectStatus) Value() string
type ConfirmTargetDbTypeResponseEvaluationProjectStatusEnum ¶
type ConfirmTargetDbTypeResponseEvaluationProjectStatusEnum struct { COMPLETED ConfirmTargetDbTypeResponseEvaluationProjectStatus WAITING ConfirmTargetDbTypeResponseEvaluationProjectStatus PENDING ConfirmTargetDbTypeResponseEvaluationProjectStatus FAILED ConfirmTargetDbTypeResponseEvaluationProjectStatus STOPPED ConfirmTargetDbTypeResponseEvaluationProjectStatus }
func GetConfirmTargetDbTypeResponseEvaluationProjectStatusEnum ¶
func GetConfirmTargetDbTypeResponseEvaluationProjectStatusEnum() ConfirmTargetDbTypeResponseEvaluationProjectStatusEnum
type CreateEvaluationProjectReq ¶
type CreateEvaluationProjectReq struct { // 评估项目名称。长度为5-50个字符,以英文字母开头,英文字母或数字结束,允许包含下划线和中划线。不允许重复。 EvaluationProjectName string `json:"evaluation_project_name"` SourceDbInfo *SourceDbInfo `json:"source_db_info"` SchemasInfo *SchemaInfo `json:"schemas_info"` ObjectsTypeInfo *ObjectTypeInfo `json:"objects_type_info"` }
创建评估项目请求体。
func (CreateEvaluationProjectReq) String ¶
func (o CreateEvaluationProjectReq) String() string
type CreateEvaluationProjectRequest ¶
type CreateEvaluationProjectRequest struct {
Body *CreateEvaluationProjectReq `json:"body,omitempty"`
}
Request Object
func (CreateEvaluationProjectRequest) String ¶
func (o CreateEvaluationProjectRequest) String() string
type CreateEvaluationProjectResponse ¶
type CreateEvaluationProjectResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateEvaluationProjectResponse) String ¶
func (o CreateEvaluationProjectResponse) String() string
type CreateMigrationProject ¶
type CreateMigrationProject struct { // 迁移项目名称。长度为5-50个字符,以英文字母开头,英文字母或数字结束,允许包含下划线和中划线。不允许重复。 MigrationProjectName string `json:"migration_project_name"` // 评估项目ID。 EvaluationProjectId int32 `json:"evaluation_project_id"` TargetDbInfo *TargetDbInfo `json:"target_db_info"` OpenGaussConfig *OpenGaussConfig `json:"open_gauss_config,omitempty"` }
创建迁移项目请求体。
func (CreateMigrationProject) String ¶
func (o CreateMigrationProject) String() string
type CreateMigrationProjectRequest ¶
type CreateMigrationProjectRequest struct {
Body *CreateMigrationProject `json:"body,omitempty"`
}
Request Object
func (CreateMigrationProjectRequest) String ¶
func (o CreateMigrationProjectRequest) String() string
type CreateMigrationProjectResponse ¶
type CreateMigrationProjectResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateMigrationProjectResponse) String ¶
func (o CreateMigrationProjectResponse) String() string
type DataBase ¶
type DataBase struct { // 端口。 Port *string `json:"port,omitempty"` // 连接IP。 Ip *string `json:"ip,omitempty"` // 用户名。 UserName string `json:"user_name"` // 服务名。 ServiceName string `json:"service_name"` // 连接字符串。 ConnectionString *string `json:"connection_string,omitempty"` }
数据库连接信息。
type DatabaseObject ¶
type DatabaseObject struct { // 对象类型。 ObjectType string `json:"object_type"` // 该类型对象的总数。 TotalCount int64 `json:"total_count"` // 成功的对象数量。 SucceedCount int64 `json:"succeed_count"` // 失败的对象数量。 FailedCount int64 `json:"failed_count"` // 忽略的对象数量。 IgnoredCount int64 `json:"ignored_count"` // 手动操作的对象数量。 ManualCount int64 `json:"manual_count"` // 成功率。 SuccessRate string `json:"success_rate"` }
语法转换或者迁移的数据库对象。
func (DatabaseObject) String ¶
func (o DatabaseObject) String() string
type DeleteEvaluationProjectRequest ¶
type DeleteEvaluationProjectRequest struct { // 评估项目ID。 EvaluationProjectId string `json:"evaluation_project_id"` }
Request Object
func (DeleteEvaluationProjectRequest) String ¶
func (o DeleteEvaluationProjectRequest) String() string
type DeleteEvaluationProjectResponse ¶
type DeleteEvaluationProjectResponse struct { // 评估项目ID。 EvaluationProjectId *int32 `json:"evaluation_project_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteEvaluationProjectResponse) String ¶
func (o DeleteEvaluationProjectResponse) String() string
type DeleteMigrationProjectRequest ¶
type DeleteMigrationProjectRequest struct { // 迁移项目ID。 MigrationProjectId string `json:"migration_project_id"` }
Request Object
func (DeleteMigrationProjectRequest) String ¶
func (o DeleteMigrationProjectRequest) String() string
type DeleteMigrationProjectResponse ¶
type DeleteMigrationProjectResponse struct { // 迁移项目ID。 MigrationProjectId *string `json:"migration_project_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteMigrationProjectResponse) String ¶
func (o DeleteMigrationProjectResponse) String() string
type DownloadFailureReportRequest ¶
type DownloadFailureReportRequest struct { // 迁移项目ID。 MigrationProjectId string `json:"migration_project_id"` }
Request Object
func (DownloadFailureReportRequest) String ¶
func (o DownloadFailureReportRequest) String() string
type DownloadFailureReportResponse ¶
type DownloadFailureReportResponse struct { HttpStatusCode int `json:"-"` Body io.ReadCloser `json:"-" type:"stream"` }
Response Object
func (DownloadFailureReportResponse) Consume ¶
func (o DownloadFailureReportResponse) Consume(writer io.Writer) (int64, error)
func (DownloadFailureReportResponse) String ¶
func (o DownloadFailureReportResponse) String() string
type EvaluationProject ¶
type EvaluationProject struct { // 评估项目ID。 EvaluationProjectId int32 `json:"evaluation_project_id"` // 评估项目名称。 EvaluationProjectName string `json:"evaluation_project_name"` // 评估项目状态。 EvaluationProjectStatus string `json:"evaluation_project_status"` ProjectStatusDetail *ProjectStatusDetail `json:"project_status_detail,omitempty"` // 源数据库类型。 SourceDbType string `json:"source_db_type"` // 源数据库版本。 SourceDbVersion string `json:"source_db_version"` // 目标数据库类型。 TargetDbType *string `json:"target_db_type,omitempty"` // 目标数据库版本。 TargetDbVersion *string `json:"target_db_version,omitempty"` // 已收集的SQL大小,单位:B。 CollectSize *int64 `json:"collect_size,omitempty"` // 资源ID。 ResourceId string `json:"resource_id"` // 创建时间。 CreatedTime string `json:"created_time"` // 更新时间。 UpdatedTime string `json:"updated_time"` // 失败原因。 ErrorReason *string `json:"error_reason,omitempty"` }
单个评估项目。
func (EvaluationProject) String ¶
func (o EvaluationProject) String() string
type ListApiVersionsRequest ¶
type ListApiVersionsRequest struct { }
Request Object
func (ListApiVersionsRequest) String ¶
func (o ListApiVersionsRequest) String() string
type ListApiVersionsResponse ¶
type ListApiVersionsResponse struct { // 所有API版本详情列表。 Versions *[]VersionDetails `json:"versions,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApiVersionsResponse) String ¶
func (o ListApiVersionsResponse) String() string
type ListEvaluationProjectsRequest ¶
type ListEvaluationProjectsRequest struct { // 评估项目名称(模糊搜索)。 EvaluationProjectName *string `json:"evaluation_project_name,omitempty"` // 评估项目状态。 EvaluationProjectStatus *ListEvaluationProjectsRequestEvaluationProjectStatus `json:"evaluation_project_status,omitempty"` // 分页查询的偏移量。 Offset *int32 `json:"offset,omitempty"` // 每页显示的条目数量。 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListEvaluationProjectsRequest) String ¶
func (o ListEvaluationProjectsRequest) String() string
type ListEvaluationProjectsRequestEvaluationProjectStatus ¶
type ListEvaluationProjectsRequestEvaluationProjectStatus struct {
// contains filtered or unexported fields
}
func (ListEvaluationProjectsRequestEvaluationProjectStatus) MarshalJSON ¶
func (c ListEvaluationProjectsRequestEvaluationProjectStatus) MarshalJSON() ([]byte, error)
func (*ListEvaluationProjectsRequestEvaluationProjectStatus) UnmarshalJSON ¶
func (c *ListEvaluationProjectsRequestEvaluationProjectStatus) UnmarshalJSON(b []byte) error
func (ListEvaluationProjectsRequestEvaluationProjectStatus) Value ¶
func (c ListEvaluationProjectsRequestEvaluationProjectStatus) Value() string
type ListEvaluationProjectsRequestEvaluationProjectStatusEnum ¶
type ListEvaluationProjectsRequestEvaluationProjectStatusEnum struct { COMPLETED ListEvaluationProjectsRequestEvaluationProjectStatus PENDING ListEvaluationProjectsRequestEvaluationProjectStatus FAILED ListEvaluationProjectsRequestEvaluationProjectStatus STOPPED ListEvaluationProjectsRequestEvaluationProjectStatus }
func GetListEvaluationProjectsRequestEvaluationProjectStatusEnum ¶
func GetListEvaluationProjectsRequestEvaluationProjectStatusEnum() ListEvaluationProjectsRequestEvaluationProjectStatusEnum
type ListEvaluationProjectsResponse ¶
type ListEvaluationProjectsResponse struct { // 评估项目总数。 TotalCount *int32 `json:"total_count,omitempty"` // 当前页的评估项目列表。 EvaluationProjects *[]EvaluationProject `json:"evaluation_projects,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListEvaluationProjectsResponse) String ¶
func (o ListEvaluationProjectsResponse) String() string
type ListMigrationProjectsRequest ¶
type ListMigrationProjectsRequest struct { // 分页查询的偏移量。 Offset *int32 `json:"offset,omitempty"` // 每页显示的条目数量。 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListMigrationProjectsRequest) String ¶
func (o ListMigrationProjectsRequest) String() string
type ListMigrationProjectsResponse ¶
type ListMigrationProjectsResponse struct { // 当前页的迁移项目列表。 MigrationProjects *[]MigrationProject `json:"migration_projects,omitempty"` // 迁移项目总数。 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListMigrationProjectsResponse) String ¶
func (o ListMigrationProjectsResponse) String() string
type ListPermissionCheckResultRequest ¶
type ListPermissionCheckResultRequest struct { // 迁移项目ID。 MigrationProjectId string `json:"migration_project_id"` // 分页查询的偏移量。 Offset *int32 `json:"offset,omitempty"` // 每页显示的条目数量。 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListPermissionCheckResultRequest) String ¶
func (o ListPermissionCheckResultRequest) String() string
type ListPermissionCheckResultResponse ¶
type ListPermissionCheckResultResponse struct { // 权限检查的总条目个数。 TotalCount *int32 `json:"total_count,omitempty"` // 权限检查的通过条目。 PassedPermissionItems *[]PermissionItem `json:"passed_permission_items,omitempty"` // 权限检查的告警条目。 AlarmPermissionItems *[]PermissionItem `json:"alarm_permission_items,omitempty"` // 权限检查的失败条目。 FailedPermissionItems *[]PermissionItem `json:"failed_permission_items,omitempty"` // 权限检查的通过条目个数。 PassedCount *int32 `json:"passed_count,omitempty"` // 权限检查的告警条目个数。 AlarmCount *int32 `json:"alarm_count,omitempty"` // 权限检查的失败条目个数。 FailedCount *int32 `json:"failed_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListPermissionCheckResultResponse) String ¶
func (o ListPermissionCheckResultResponse) String() string
type ListQuotasRequest ¶
type ListQuotasRequest struct { }
Request Object
func (ListQuotasRequest) String ¶
func (o ListQuotasRequest) String() string
type ListQuotasResponse ¶
type ListQuotasResponse struct { // 配额信息列表。 Quotas *[]Quota `json:"quotas,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListQuotasResponse) String ¶
func (o ListQuotasResponse) String() string
type ListSyntaxConversionProgressRequest ¶
type ListSyntaxConversionProgressRequest struct { // 迁移项目ID。 MigrationProjectId string `json:"migration_project_id"` }
Request Object
func (ListSyntaxConversionProgressRequest) String ¶
func (o ListSyntaxConversionProgressRequest) String() string
type ListSyntaxConversionProgressResponse ¶
type ListSyntaxConversionProgressResponse struct { // 对象总数。 TotalObjectsCount *int32 `json:"total_objects_count,omitempty"` // 完成语法转换的对象数量。 CompletedObjectsCount *int32 `json:"completed_objects_count,omitempty"` // 语法转换的对象列表。 ObjectsList *[]DatabaseObject `json:"objects_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSyntaxConversionProgressResponse) String ¶
func (o ListSyntaxConversionProgressResponse) String() string
type ListVerificationProgressRequest ¶
type ListVerificationProgressRequest struct { // 迁移项目ID。 MigrationProjectId string `json:"migration_project_id"` }
Request Object
func (ListVerificationProgressRequest) String ¶
func (o ListVerificationProgressRequest) String() string
type ListVerificationProgressResponse ¶
type ListVerificationProgressResponse struct { // 对象总数。 TotalObjectsCount *int32 `json:"total_objects_count,omitempty"` // 完成迁移的对象数量。 CompletedObjectsCount *int32 `json:"completed_objects_count,omitempty"` // 对象迁移的对象列表。 ObjectsList *[]DatabaseObject `json:"objects_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListVerificationProgressResponse) String ¶
func (o ListVerificationProgressResponse) String() string
type MigrationProject ¶
type MigrationProject struct { // 迁移项目ID。 MigrationProjectId int32 `json:"migration_project_id"` // 迁移项目名称。 MigrationProjectName string `json:"migration_project_name"` // 评估项目ID。 EvaluationProjectId int32 `json:"evaluation_project_id"` // 评估项目名称。 EvaluationProjectName string `json:"evaluation_project_name"` // 迁移项目状态。 MigrationProjectStatus MigrationProjectMigrationProjectStatus `json:"migration_project_status"` // 目标库权限检查状态。 PermissionCheckStatus MigrationProjectPermissionCheckStatus `json:"permission_check_status"` // 资源ID。 ResourceId string `json:"resource_id"` // 创建时间。 CreatedTime string `json:"created_time"` // 更新时间。 UpdatedTime string `json:"updated_time"` }
func (MigrationProject) String ¶
func (o MigrationProject) String() string
type MigrationProjectMigrationProjectStatus ¶
type MigrationProjectMigrationProjectStatus struct {
// contains filtered or unexported fields
}
func (MigrationProjectMigrationProjectStatus) MarshalJSON ¶
func (c MigrationProjectMigrationProjectStatus) MarshalJSON() ([]byte, error)
func (*MigrationProjectMigrationProjectStatus) UnmarshalJSON ¶
func (c *MigrationProjectMigrationProjectStatus) UnmarshalJSON(b []byte) error
func (MigrationProjectMigrationProjectStatus) Value ¶
func (c MigrationProjectMigrationProjectStatus) Value() string
type MigrationProjectMigrationProjectStatusEnum ¶
type MigrationProjectMigrationProjectStatusEnum struct { READY MigrationProjectMigrationProjectStatus NOT_READY MigrationProjectMigrationProjectStatus }
func GetMigrationProjectMigrationProjectStatusEnum ¶
func GetMigrationProjectMigrationProjectStatusEnum() MigrationProjectMigrationProjectStatusEnum
type MigrationProjectPermissionCheckStatus ¶
type MigrationProjectPermissionCheckStatus struct {
// contains filtered or unexported fields
}
func (MigrationProjectPermissionCheckStatus) MarshalJSON ¶
func (c MigrationProjectPermissionCheckStatus) MarshalJSON() ([]byte, error)
func (*MigrationProjectPermissionCheckStatus) UnmarshalJSON ¶
func (c *MigrationProjectPermissionCheckStatus) UnmarshalJSON(b []byte) error
func (MigrationProjectPermissionCheckStatus) Value ¶
func (c MigrationProjectPermissionCheckStatus) Value() string
type MigrationProjectPermissionCheckStatusEnum ¶
type MigrationProjectPermissionCheckStatusEnum struct { SUCCESS MigrationProjectPermissionCheckStatus FAILED MigrationProjectPermissionCheckStatus WAITING MigrationProjectPermissionCheckStatus PENDING MigrationProjectPermissionCheckStatus IGNORE MigrationProjectPermissionCheckStatus }
func GetMigrationProjectPermissionCheckStatusEnum ¶
func GetMigrationProjectPermissionCheckStatusEnum() MigrationProjectPermissionCheckStatusEnum
type ObjectTypeInfo ¶
type ObjectTypeInfo struct { // 是否选择全部object类型。取值为true时,不包含USER。 IsSelectAllObjectsType bool `json:"is_select_all_objects_type"` // 需要评估的object类型列表。is_select_all_objects_type为false时必填。 ObjectsTypeList *[]string `json:"objects_type_list,omitempty"` }
源库中的对象类型信息。
func (ObjectTypeInfo) String ¶
func (o ObjectTypeInfo) String() string
type OpenGaussConfig ¶
type OpenGaussConfig struct { // 权限检查类型。 PermissionCheckType *OpenGaussConfigPermissionCheckType `json:"permission_check_type,omitempty"` }
GaussDB Centralized 的特殊配置。
func (OpenGaussConfig) String ¶
func (o OpenGaussConfig) String() string
type OpenGaussConfigPermissionCheckType ¶
type OpenGaussConfigPermissionCheckType struct {
// contains filtered or unexported fields
}
func (OpenGaussConfigPermissionCheckType) MarshalJSON ¶
func (c OpenGaussConfigPermissionCheckType) MarshalJSON() ([]byte, error)
func (*OpenGaussConfigPermissionCheckType) UnmarshalJSON ¶
func (c *OpenGaussConfigPermissionCheckType) UnmarshalJSON(b []byte) error
func (OpenGaussConfigPermissionCheckType) Value ¶
func (c OpenGaussConfigPermissionCheckType) Value() string
type OpenGaussConfigPermissionCheckTypeEnum ¶
type OpenGaussConfigPermissionCheckTypeEnum struct { OBJECTOWNER OpenGaussConfigPermissionCheckType SYSADMIN OpenGaussConfigPermissionCheckType }
func GetOpenGaussConfigPermissionCheckTypeEnum ¶
func GetOpenGaussConfigPermissionCheckTypeEnum() OpenGaussConfigPermissionCheckTypeEnum
type PermissionItem ¶
type PermissionItem struct { // 权限类型。 PermissionType *string `json:"permission_type,omitempty"` // schema名称。 SchemaName *string `json:"schema_name,omitempty"` // 权限描述。 Description *string `json:"description,omitempty"` // 是否通过。 Status *string `json:"status,omitempty"` // 失败原因。 FailedReason *string `json:"failed_reason,omitempty"` // 失败详情。 FailedDetail *string `json:"failed_detail,omitempty"` // 解决建议。 SuggestSolution *[]string `json:"suggest_solution,omitempty"` }
权限检查条目。
func (PermissionItem) String ¶
func (o PermissionItem) String() string
type ProjectStatusDetail ¶
type ProjectStatusDetail struct { // 采集的状态。 ObjectCollectionStatus *string `json:"object_collection_status,omitempty"` // 采集的进度。 ObjectCollectionProgress *string `json:"object_collection_progress,omitempty"` // 评估的状态。 PreMigrationStatus *string `json:"pre_migration_status,omitempty"` // 评估的进度。 PreMigrationProgress *string `json:"pre_migration_progress,omitempty"` }
评估任务状态详情。
func (ProjectStatusDetail) String ¶
func (o ProjectStatusDetail) String() string
type Quota ¶
type Quota struct { // UGO的项目类型。 ProjectType string `json:"project_type"` // 总配额。 Quota int32 `json:"quota"` // 已经使用的配额。 Used int32 `json:"used"` }
配额信息。
type RunSqlConversionRequest ¶
type RunSqlConversionRequest struct {
Body *SqlConvertReq `json:"body,omitempty"`
}
Request Object
func (RunSqlConversionRequest) String ¶
func (o RunSqlConversionRequest) String() string
type RunSqlConversionResponse ¶
type RunSqlConversionResponse struct { // 是否支持SQL语句转换。 IsSupportConversion *bool `json:"is_support_conversion,omitempty"` // 转换后的SQL语句。 ConvertedSqlStatement *string `json:"converted_sql_statement,omitempty"` // 不支持SQL语句转换的详情。 UnsupportedItems *[]UnSupportedItem `json:"unsupported_items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RunSqlConversionResponse) String ¶
func (o RunSqlConversionResponse) String() string
type SchemaInfo ¶
type SchemaInfo struct { // 是否选择全部schema。 IsSelectAllSchemas bool `json:"is_select_all_schemas"` // 需要评估的源库schema列表。is_select_all_schemas为false时,必填。 SchemasList *[]string `json:"schemas_list,omitempty"` }
源库中的schema信息。
func (SchemaInfo) String ¶
func (o SchemaInfo) String() string
type ShowApiVersionInfoRequest ¶
type ShowApiVersionInfoRequest struct { // 需要查询的API版本号。 ApiVersion ShowApiVersionInfoRequestApiVersion `json:"api_version"` }
Request Object
func (ShowApiVersionInfoRequest) String ¶
func (o ShowApiVersionInfoRequest) String() string
type ShowApiVersionInfoRequestApiVersion ¶
type ShowApiVersionInfoRequestApiVersion struct {
// contains filtered or unexported fields
}
func (ShowApiVersionInfoRequestApiVersion) MarshalJSON ¶
func (c ShowApiVersionInfoRequestApiVersion) MarshalJSON() ([]byte, error)
func (*ShowApiVersionInfoRequestApiVersion) UnmarshalJSON ¶
func (c *ShowApiVersionInfoRequestApiVersion) UnmarshalJSON(b []byte) error
func (ShowApiVersionInfoRequestApiVersion) Value ¶
func (c ShowApiVersionInfoRequestApiVersion) Value() string
type ShowApiVersionInfoRequestApiVersionEnum ¶
type ShowApiVersionInfoRequestApiVersionEnum struct {
V1 ShowApiVersionInfoRequestApiVersion
}
func GetShowApiVersionInfoRequestApiVersionEnum ¶
func GetShowApiVersionInfoRequestApiVersionEnum() ShowApiVersionInfoRequestApiVersionEnum
type ShowApiVersionInfoResponse ¶
type ShowApiVersionInfoResponse struct { // 版本ID。 Id *string `json:"id,omitempty"` // 版本详情的URL地址。 Links *string `json:"links,omitempty"` // 该版本API的微版本信息。 Version *string `json:"version,omitempty"` // 版本的状态。 Status *ShowApiVersionInfoResponseStatus `json:"status,omitempty"` // 版本更新时间。 Updated *string `json:"updated,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowApiVersionInfoResponse) String ¶
func (o ShowApiVersionInfoResponse) String() string
type ShowApiVersionInfoResponseStatus ¶
type ShowApiVersionInfoResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowApiVersionInfoResponseStatus) MarshalJSON ¶
func (c ShowApiVersionInfoResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowApiVersionInfoResponseStatus) UnmarshalJSON ¶
func (c *ShowApiVersionInfoResponseStatus) UnmarshalJSON(b []byte) error
func (ShowApiVersionInfoResponseStatus) Value ¶
func (c ShowApiVersionInfoResponseStatus) Value() string
type ShowApiVersionInfoResponseStatusEnum ¶
type ShowApiVersionInfoResponseStatusEnum struct { CURRENT ShowApiVersionInfoResponseStatus SUPPORTED ShowApiVersionInfoResponseStatus DEPRECATED ShowApiVersionInfoResponseStatus }
func GetShowApiVersionInfoResponseStatusEnum ¶
func GetShowApiVersionInfoResponseStatusEnum() ShowApiVersionInfoResponseStatusEnum
type ShowEvaluationProjectDetailRequest ¶
type ShowEvaluationProjectDetailRequest struct { // 评估项目ID。 EvaluationProjectId string `json:"evaluation_project_id"` }
Request Object
func (ShowEvaluationProjectDetailRequest) String ¶
func (o ShowEvaluationProjectDetailRequest) String() string
type ShowEvaluationProjectDetailResponse ¶
type ShowEvaluationProjectDetailResponse struct { // 数据库大小。 SourceDbSize *string `json:"source_db_size,omitempty"` // 数据库schema个数。 SourceDbSchema *int64 `json:"source_db_schema,omitempty"` // 数据库CPU个数。 SourceDbCpu *string `json:"source_db_cpu,omitempty"` // 数据库字符集。 SourceDbCharacterSet *string `json:"source_db_character_set,omitempty"` // 数据库操作系统。 SourceDbOs *string `json:"source_db_os,omitempty"` // 实例数量。 SourceDbInstanceNum *int32 `json:"source_db_instance_num,omitempty"` // 数据库内存。 SourceDbRam *string `json:"source_db_ram,omitempty"` SourceDbInfo *SourceDb `json:"source_db_info,omitempty"` // 数据库物理RAM。 SourceDbPhyRam *string `json:"source_db_phy_ram,omitempty"` // 数据库版本。 SourceDbVersion *string `json:"source_db_version,omitempty"` // 数据库配置。 SourceDbConf *string `json:"source_db_conf,omitempty"` // 数据库时区。 SourceDbClock *string `json:"source_db_clock,omitempty"` // 评估项目ID。 EvaluationProjectId *int32 `json:"evaluation_project_id,omitempty"` // 评估项目名称。 EvaluationProjectName *string `json:"evaluation_project_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowEvaluationProjectDetailResponse) String ¶
func (o ShowEvaluationProjectDetailResponse) String() string
type ShowEvaluationProjectStatusRequest ¶
type ShowEvaluationProjectStatusRequest struct { // 评估项目ID。 EvaluationProjectId string `json:"evaluation_project_id"` }
Request Object
func (ShowEvaluationProjectStatusRequest) String ¶
func (o ShowEvaluationProjectStatusRequest) String() string
type ShowEvaluationProjectStatusResponse ¶
type ShowEvaluationProjectStatusResponse struct { // 评估项目ID。 EvaluationProjectId *int32 `json:"evaluation_project_id,omitempty"` // 评估项目名称。 EvaluationProjectName *string `json:"evaluation_project_name,omitempty"` // 评估项目状态。 EvaluationProjectStatus *ShowEvaluationProjectStatusResponseEvaluationProjectStatus `json:"evaluation_project_status,omitempty"` ProjectStatusDetail *ProjectStatusDetail `json:"project_status_detail,omitempty"` // 源数据库类型。 SourceDbType *string `json:"source_db_type,omitempty"` // 源数据库版本。 SourceDbVersion *string `json:"source_db_version,omitempty"` // 目标数据库类型。 TargetDbType *string `json:"target_db_type,omitempty"` // 目标数据库版本。 TargetDbVersion *string `json:"target_db_version,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowEvaluationProjectStatusResponse) String ¶
func (o ShowEvaluationProjectStatusResponse) String() string
type ShowEvaluationProjectStatusResponseEvaluationProjectStatus ¶
type ShowEvaluationProjectStatusResponseEvaluationProjectStatus struct {
// contains filtered or unexported fields
}
func (ShowEvaluationProjectStatusResponseEvaluationProjectStatus) MarshalJSON ¶
func (c ShowEvaluationProjectStatusResponseEvaluationProjectStatus) MarshalJSON() ([]byte, error)
func (*ShowEvaluationProjectStatusResponseEvaluationProjectStatus) UnmarshalJSON ¶
func (c *ShowEvaluationProjectStatusResponseEvaluationProjectStatus) UnmarshalJSON(b []byte) error
func (ShowEvaluationProjectStatusResponseEvaluationProjectStatus) Value ¶
func (c ShowEvaluationProjectStatusResponseEvaluationProjectStatus) Value() string
type ShowEvaluationProjectStatusResponseEvaluationProjectStatusEnum ¶
type ShowEvaluationProjectStatusResponseEvaluationProjectStatusEnum struct { COMPLETED ShowEvaluationProjectStatusResponseEvaluationProjectStatus WAITING ShowEvaluationProjectStatusResponseEvaluationProjectStatus PENDING ShowEvaluationProjectStatusResponseEvaluationProjectStatus FAILED ShowEvaluationProjectStatusResponseEvaluationProjectStatus STOPPED ShowEvaluationProjectStatusResponseEvaluationProjectStatus }
func GetShowEvaluationProjectStatusResponseEvaluationProjectStatusEnum ¶
func GetShowEvaluationProjectStatusResponseEvaluationProjectStatusEnum() ShowEvaluationProjectStatusResponseEvaluationProjectStatusEnum
type ShowMigrationProjectDetailRequest ¶
type ShowMigrationProjectDetailRequest struct { // 迁移项目ID。 MigrationProjectId string `json:"migration_project_id"` }
Request Object
func (ShowMigrationProjectDetailRequest) String ¶
func (o ShowMigrationProjectDetailRequest) String() string
type ShowMigrationProjectDetailResponse ¶
type ShowMigrationProjectDetailResponse struct { // 迁移项目ID。 MigrationProjectId *int32 `json:"migration_project_id,omitempty"` // 迁移项目状态。 MigrationProjectName *string `json:"migration_project_name,omitempty"` // 对应的评估项目名称。 EvaluationProjectName *string `json:"evaluation_project_name,omitempty"` SourceDbInfo *DataBase `json:"source_db_info,omitempty"` TargetDbInfo *DataBase `json:"target_db_info,omitempty"` // 创建时间。 CreatedTime *string `json:"created_time,omitempty"` // 更新时间。 UpdatedTime *string `json:"updated_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowMigrationProjectDetailResponse) String ¶
func (o ShowMigrationProjectDetailResponse) String() string
type ShowMigrationProjectStatusRequest ¶
type ShowMigrationProjectStatusRequest struct { // 迁移项目ID。 MigrationProjectId string `json:"migration_project_id"` }
Request Object
func (ShowMigrationProjectStatusRequest) String ¶
func (o ShowMigrationProjectStatusRequest) String() string
type ShowMigrationProjectStatusResponse ¶
type ShowMigrationProjectStatusResponse struct { // 迁移项目ID。 MigrationProjectId *int32 `json:"migration_project_id,omitempty"` // 迁移项目名称。 MigrationProjectName *string `json:"migration_project_name,omitempty"` // 评估项目ID。 EvaluationProjectId *int32 `json:"evaluation_project_id,omitempty"` // 评估项目名称。 EvaluationProjectName *string `json:"evaluation_project_name,omitempty"` // 迁移项目状态。 MigrationProjectStatus *ShowMigrationProjectStatusResponseMigrationProjectStatus `json:"migration_project_status,omitempty"` // 目标库权限检查状态。 PermissionCheckStatus *ShowMigrationProjectStatusResponsePermissionCheckStatus `json:"permission_check_status,omitempty"` // 资源ID。 ResourceId *string `json:"resource_id,omitempty"` // 创建时间。 CreatedTime *string `json:"created_time,omitempty"` // 更新时间。 UpdatedTime *string `json:"updated_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowMigrationProjectStatusResponse) String ¶
func (o ShowMigrationProjectStatusResponse) String() string
type ShowMigrationProjectStatusResponseMigrationProjectStatus ¶
type ShowMigrationProjectStatusResponseMigrationProjectStatus struct {
// contains filtered or unexported fields
}
func (ShowMigrationProjectStatusResponseMigrationProjectStatus) MarshalJSON ¶
func (c ShowMigrationProjectStatusResponseMigrationProjectStatus) MarshalJSON() ([]byte, error)
func (*ShowMigrationProjectStatusResponseMigrationProjectStatus) UnmarshalJSON ¶
func (c *ShowMigrationProjectStatusResponseMigrationProjectStatus) UnmarshalJSON(b []byte) error
func (ShowMigrationProjectStatusResponseMigrationProjectStatus) Value ¶
func (c ShowMigrationProjectStatusResponseMigrationProjectStatus) Value() string
type ShowMigrationProjectStatusResponseMigrationProjectStatusEnum ¶
type ShowMigrationProjectStatusResponseMigrationProjectStatusEnum struct { READY ShowMigrationProjectStatusResponseMigrationProjectStatus NOT_READY ShowMigrationProjectStatusResponseMigrationProjectStatus }
func GetShowMigrationProjectStatusResponseMigrationProjectStatusEnum ¶
func GetShowMigrationProjectStatusResponseMigrationProjectStatusEnum() ShowMigrationProjectStatusResponseMigrationProjectStatusEnum
type ShowMigrationProjectStatusResponsePermissionCheckStatus ¶
type ShowMigrationProjectStatusResponsePermissionCheckStatus struct {
// contains filtered or unexported fields
}
func (ShowMigrationProjectStatusResponsePermissionCheckStatus) MarshalJSON ¶
func (c ShowMigrationProjectStatusResponsePermissionCheckStatus) MarshalJSON() ([]byte, error)
func (*ShowMigrationProjectStatusResponsePermissionCheckStatus) UnmarshalJSON ¶
func (c *ShowMigrationProjectStatusResponsePermissionCheckStatus) UnmarshalJSON(b []byte) error
func (ShowMigrationProjectStatusResponsePermissionCheckStatus) Value ¶
func (c ShowMigrationProjectStatusResponsePermissionCheckStatus) Value() string
type ShowMigrationProjectStatusResponsePermissionCheckStatusEnum ¶
type ShowMigrationProjectStatusResponsePermissionCheckStatusEnum struct { SUCCESS ShowMigrationProjectStatusResponsePermissionCheckStatus FAILED ShowMigrationProjectStatusResponsePermissionCheckStatus WAITING ShowMigrationProjectStatusResponsePermissionCheckStatus PENDING ShowMigrationProjectStatusResponsePermissionCheckStatus IGNORE ShowMigrationProjectStatusResponsePermissionCheckStatus }
func GetShowMigrationProjectStatusResponsePermissionCheckStatusEnum ¶
func GetShowMigrationProjectStatusResponsePermissionCheckStatusEnum() ShowMigrationProjectStatusResponsePermissionCheckStatusEnum
type SourceDb ¶
type SourceDb struct { // 用户名。 UserName string `json:"user_name"` // 连接字符串。 ConnectionString *string `json:"connection_string,omitempty"` // 源数据库类型。 SourceDbType string `json:"source_db_type"` // service名称。 ServiceName string `json:"service_name"` // ip。 Ip *string `json:"ip,omitempty"` // port。 Port *string `json:"port,omitempty"` }
源数据库信息。
type SourceDbInfo ¶
type SourceDbInfo struct { // 连接字符串。 ConnectionString string `json:"connection_string"` // 用户名。 UserName string `json:"user_name"` // 用户密码。 Password string `json:"password"` // 数据库类型。 SourceDbType SourceDbInfoSourceDbType `json:"source_db_type"` // 数据库版本。 (注意:该字段的值是数据库类型source_db_type对应的版本,当前支持以下组合: ORACLE-11g; ORACLE-12c; ORACLE-18c; ORACLE-19c。) SourceDbVersion SourceDbInfoSourceDbVersion `json:"source_db_version"` }
源数据库信息。
func (SourceDbInfo) String ¶
func (o SourceDbInfo) String() string
type SourceDbInfoSourceDbType ¶
type SourceDbInfoSourceDbType struct {
// contains filtered or unexported fields
}
func (SourceDbInfoSourceDbType) MarshalJSON ¶
func (c SourceDbInfoSourceDbType) MarshalJSON() ([]byte, error)
func (*SourceDbInfoSourceDbType) UnmarshalJSON ¶
func (c *SourceDbInfoSourceDbType) UnmarshalJSON(b []byte) error
func (SourceDbInfoSourceDbType) Value ¶
func (c SourceDbInfoSourceDbType) Value() string
type SourceDbInfoSourceDbTypeEnum ¶
type SourceDbInfoSourceDbTypeEnum struct {
ORACLE SourceDbInfoSourceDbType
}
func GetSourceDbInfoSourceDbTypeEnum ¶
func GetSourceDbInfoSourceDbTypeEnum() SourceDbInfoSourceDbTypeEnum
type SourceDbInfoSourceDbVersion ¶
type SourceDbInfoSourceDbVersion struct {
// contains filtered or unexported fields
}
func (SourceDbInfoSourceDbVersion) MarshalJSON ¶
func (c SourceDbInfoSourceDbVersion) MarshalJSON() ([]byte, error)
func (*SourceDbInfoSourceDbVersion) UnmarshalJSON ¶
func (c *SourceDbInfoSourceDbVersion) UnmarshalJSON(b []byte) error
func (SourceDbInfoSourceDbVersion) Value ¶
func (c SourceDbInfoSourceDbVersion) Value() string
type SourceDbInfoSourceDbVersionEnum ¶
type SourceDbInfoSourceDbVersionEnum struct { E_11G SourceDbInfoSourceDbVersion E_12C SourceDbInfoSourceDbVersion E_18C SourceDbInfoSourceDbVersion E_19C SourceDbInfoSourceDbVersion }
func GetSourceDbInfoSourceDbVersionEnum ¶
func GetSourceDbInfoSourceDbVersionEnum() SourceDbInfoSourceDbVersionEnum
type SqlConvertReq ¶
type SqlConvertReq struct { // 源数据库类型。 SourceDbType SqlConvertReqSourceDbType `json:"source_db_type"` // 目标数据库类型。 TargetDbType SqlConvertReqTargetDbType `json:"target_db_type"` // 目标数据库版本。 (注意:该字段需要与 target_db_type 字段组合成有效的目标数据库类型与版本,当前支持以下组合: GaussDB Centralized-2.0; RDS for PostgreSQL-11; RDS for PostgreSQL-Enhanced Edition; RDS for MySQL-5.7; GaussDB(for MySQL) 8.0。) TargetDbVersion SqlConvertReqTargetDbVersion `json:"target_db_version"` // 需要转换的SQL语句。 SqlStatement string `json:"sql_statement"` }
SQL语句转换的请求体。
func (SqlConvertReq) String ¶
func (o SqlConvertReq) String() string
type SqlConvertReqSourceDbType ¶
type SqlConvertReqSourceDbType struct {
// contains filtered or unexported fields
}
func (SqlConvertReqSourceDbType) MarshalJSON ¶
func (c SqlConvertReqSourceDbType) MarshalJSON() ([]byte, error)
func (*SqlConvertReqSourceDbType) UnmarshalJSON ¶
func (c *SqlConvertReqSourceDbType) UnmarshalJSON(b []byte) error
func (SqlConvertReqSourceDbType) Value ¶
func (c SqlConvertReqSourceDbType) Value() string
type SqlConvertReqSourceDbTypeEnum ¶
type SqlConvertReqSourceDbTypeEnum struct {
ORACLE SqlConvertReqSourceDbType
}
func GetSqlConvertReqSourceDbTypeEnum ¶
func GetSqlConvertReqSourceDbTypeEnum() SqlConvertReqSourceDbTypeEnum
type SqlConvertReqTargetDbType ¶
type SqlConvertReqTargetDbType struct {
// contains filtered or unexported fields
}
func (SqlConvertReqTargetDbType) MarshalJSON ¶
func (c SqlConvertReqTargetDbType) MarshalJSON() ([]byte, error)
func (*SqlConvertReqTargetDbType) UnmarshalJSON ¶
func (c *SqlConvertReqTargetDbType) UnmarshalJSON(b []byte) error
func (SqlConvertReqTargetDbType) Value ¶
func (c SqlConvertReqTargetDbType) Value() string
type SqlConvertReqTargetDbTypeEnum ¶
type SqlConvertReqTargetDbTypeEnum struct { RDS_FOR_MY_SQL SqlConvertReqTargetDbType GAUSS_DB_CENTRALIZED SqlConvertReqTargetDbType GAUSS_DB_FOR_MY_SQL SqlConvertReqTargetDbType RDS_FOR_POSTGRE_SQL SqlConvertReqTargetDbType }
func GetSqlConvertReqTargetDbTypeEnum ¶
func GetSqlConvertReqTargetDbTypeEnum() SqlConvertReqTargetDbTypeEnum
type SqlConvertReqTargetDbVersion ¶
type SqlConvertReqTargetDbVersion struct {
// contains filtered or unexported fields
}
func (SqlConvertReqTargetDbVersion) MarshalJSON ¶
func (c SqlConvertReqTargetDbVersion) MarshalJSON() ([]byte, error)
func (*SqlConvertReqTargetDbVersion) UnmarshalJSON ¶
func (c *SqlConvertReqTargetDbVersion) UnmarshalJSON(b []byte) error
func (SqlConvertReqTargetDbVersion) Value ¶
func (c SqlConvertReqTargetDbVersion) Value() string
type SqlConvertReqTargetDbVersionEnum ¶
type SqlConvertReqTargetDbVersionEnum struct { E_5_7 SqlConvertReqTargetDbVersion E_8_0 SqlConvertReqTargetDbVersion E_11 SqlConvertReqTargetDbVersion E_2_0 SqlConvertReqTargetDbVersion ENHANCED_EDITION SqlConvertReqTargetDbVersion }
func GetSqlConvertReqTargetDbVersionEnum ¶
func GetSqlConvertReqTargetDbVersionEnum() SqlConvertReqTargetDbVersionEnum
type TargetDbInfo ¶
type TargetDbInfo struct { // 用户名。 UserName string `json:"user_name"` // 用户密码。 Password string `json:"password"` // service名称。 ServiceName string `json:"service_name"` // RDS数据库的实例ID。 InstanceId string `json:"instance_id"` }
目标数据库信息。
func (TargetDbInfo) String ¶
func (o TargetDbInfo) String() string
type UnSupportedItem ¶
type UnSupportedItem struct { // SQL语句不支持转换的原因。 Reason *string `json:"reason,omitempty"` // SQL语句不支持转换的建议。 Suggestion *string `json:"suggestion,omitempty"` // 行号。 LineNumber *int32 `json:"line_number,omitempty"` // 位置。 Position *int32 `json:"position,omitempty"` }
SQL语句不支持转换的详情。
func (UnSupportedItem) String ¶
func (o UnSupportedItem) String() string
type VersionDetails ¶
type VersionDetails struct { // 版本ID。 Id string `json:"id"` // 版本详情的URL地址。 Links string `json:"links"` // 该版本API的微版本信息。 Version string `json:"version"` // 版本的状态。 Status VersionDetailsStatus `json:"status"` // 版本更新时间。 Updated string `json:"updated"` }
版本信息描述
func (VersionDetails) String ¶
func (o VersionDetails) String() string
type VersionDetailsStatus ¶
type VersionDetailsStatus struct {
// contains filtered or unexported fields
}
func (VersionDetailsStatus) MarshalJSON ¶
func (c VersionDetailsStatus) MarshalJSON() ([]byte, error)
func (*VersionDetailsStatus) UnmarshalJSON ¶
func (c *VersionDetailsStatus) UnmarshalJSON(b []byte) error
func (VersionDetailsStatus) Value ¶
func (c VersionDetailsStatus) Value() string
type VersionDetailsStatusEnum ¶
type VersionDetailsStatusEnum struct { CURRENT VersionDetailsStatus SUPPORTED VersionDetailsStatus DEPRECATED VersionDetailsStatus }
func GetVersionDetailsStatusEnum ¶
func GetVersionDetailsStatusEnum() VersionDetailsStatusEnum
Source Files ¶
- model_check_permission_request.go
- model_check_permission_response.go
- model_commit_syntax_conversion_request.go
- model_commit_syntax_conversion_response.go
- model_commit_verification_request.go
- model_commit_verification_response.go
- model_confirm_target_db_req.go
- model_confirm_target_db_type_request.go
- model_confirm_target_db_type_response.go
- model_create_evaluation_project_req.go
- model_create_evaluation_project_request.go
- model_create_evaluation_project_response.go
- model_create_migration_project.go
- model_create_migration_project_request.go
- model_create_migration_project_response.go
- model_data_base.go
- model_database_object.go
- model_delete_evaluation_project_request.go
- model_delete_evaluation_project_response.go
- model_delete_migration_project_request.go
- model_delete_migration_project_response.go
- model_download_failure_report_request.go
- model_download_failure_report_response.go
- model_evaluation_project.go
- model_list_api_versions_request.go
- model_list_api_versions_response.go
- model_list_evaluation_projects_request.go
- model_list_evaluation_projects_response.go
- model_list_migration_projects_request.go
- model_list_migration_projects_response.go
- model_list_permission_check_result_request.go
- model_list_permission_check_result_response.go
- model_list_quotas_request.go
- model_list_quotas_response.go
- model_list_syntax_conversion_progress_request.go
- model_list_syntax_conversion_progress_response.go
- model_list_verification_progress_request.go
- model_list_verification_progress_response.go
- model_migration_project.go
- model_object_type_info.go
- model_open_gauss_config.go
- model_permission_item.go
- model_project_status_detail.go
- model_quota.go
- model_run_sql_conversion_request.go
- model_run_sql_conversion_response.go
- model_schema_info.go
- model_show_api_version_info_request.go
- model_show_api_version_info_response.go
- model_show_evaluation_project_detail_request.go
- model_show_evaluation_project_detail_response.go
- model_show_evaluation_project_status_request.go
- model_show_evaluation_project_status_response.go
- model_show_migration_project_detail_request.go
- model_show_migration_project_detail_response.go
- model_show_migration_project_status_request.go
- model_show_migration_project_status_response.go
- model_source_db.go
- model_source_db_info.go
- model_sql_convert_req.go
- model_target_db_info.go
- model_un_supported_item.go
- model_version_details.go