v1

package
v0.1.39 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForCheckPermission

func GenReqDefForCheckPermission() *def.HttpRequestDef

func GenReqDefForCommitSyntaxConversion

func GenReqDefForCommitSyntaxConversion() *def.HttpRequestDef

func GenReqDefForCommitVerification

func GenReqDefForCommitVerification() *def.HttpRequestDef

func GenReqDefForConfirmTargetDbType

func GenReqDefForConfirmTargetDbType() *def.HttpRequestDef

func GenReqDefForCreateEvaluationProject

func GenReqDefForCreateEvaluationProject() *def.HttpRequestDef

func GenReqDefForCreateMigrationProject

func GenReqDefForCreateMigrationProject() *def.HttpRequestDef

func GenReqDefForDeleteEvaluationProject

func GenReqDefForDeleteEvaluationProject() *def.HttpRequestDef

func GenReqDefForDeleteMigrationProject

func GenReqDefForDeleteMigrationProject() *def.HttpRequestDef

func GenReqDefForDownloadFailureReport

func GenReqDefForDownloadFailureReport() *def.HttpRequestDef

func GenReqDefForListApiVersions

func GenReqDefForListApiVersions() *def.HttpRequestDef

func GenReqDefForListEvaluationProjects

func GenReqDefForListEvaluationProjects() *def.HttpRequestDef

func GenReqDefForListMigrationProjects

func GenReqDefForListMigrationProjects() *def.HttpRequestDef

func GenReqDefForListPermissionCheckResult

func GenReqDefForListPermissionCheckResult() *def.HttpRequestDef

func GenReqDefForListQuotas

func GenReqDefForListQuotas() *def.HttpRequestDef

func GenReqDefForListSyntaxConversionProgress

func GenReqDefForListSyntaxConversionProgress() *def.HttpRequestDef

func GenReqDefForListVerificationProgress

func GenReqDefForListVerificationProgress() *def.HttpRequestDef

func GenReqDefForRunSqlConversion

func GenReqDefForRunSqlConversion() *def.HttpRequestDef

func GenReqDefForShowApiVersionInfo

func GenReqDefForShowApiVersionInfo() *def.HttpRequestDef

func GenReqDefForShowEvaluationProjectDetail

func GenReqDefForShowEvaluationProjectDetail() *def.HttpRequestDef

func GenReqDefForShowEvaluationProjectStatus

func GenReqDefForShowEvaluationProjectStatus() *def.HttpRequestDef

func GenReqDefForShowMigrationProjectDetail

func GenReqDefForShowMigrationProjectDetail() *def.HttpRequestDef

func GenReqDefForShowMigrationProjectStatus

func GenReqDefForShowMigrationProjectStatus() *def.HttpRequestDef

func UgoClientBuilder

func UgoClientBuilder() *http_client.HcHttpClientBuilder

Types

type CheckPermissionInvoker

type CheckPermissionInvoker struct {
	*invoker.BaseInvoker
}

func (*CheckPermissionInvoker) Invoke

type CommitSyntaxConversionInvoker

type CommitSyntaxConversionInvoker struct {
	*invoker.BaseInvoker
}

func (*CommitSyntaxConversionInvoker) Invoke

type CommitVerificationInvoker

type CommitVerificationInvoker struct {
	*invoker.BaseInvoker
}

func (*CommitVerificationInvoker) Invoke

type ConfirmTargetDbTypeInvoker

type ConfirmTargetDbTypeInvoker struct {
	*invoker.BaseInvoker
}

func (*ConfirmTargetDbTypeInvoker) Invoke

type CreateEvaluationProjectInvoker

type CreateEvaluationProjectInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateEvaluationProjectInvoker) Invoke

type CreateMigrationProjectInvoker

type CreateMigrationProjectInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateMigrationProjectInvoker) Invoke

type DeleteEvaluationProjectInvoker

type DeleteEvaluationProjectInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteEvaluationProjectInvoker) Invoke

type DeleteMigrationProjectInvoker

type DeleteMigrationProjectInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteMigrationProjectInvoker) Invoke

type DownloadFailureReportInvoker

type DownloadFailureReportInvoker struct {
	*invoker.BaseInvoker
}

func (*DownloadFailureReportInvoker) Invoke

type ListApiVersionsInvoker

type ListApiVersionsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListApiVersionsInvoker) Invoke

type ListEvaluationProjectsInvoker

type ListEvaluationProjectsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListEvaluationProjectsInvoker) Invoke

type ListMigrationProjectsInvoker

type ListMigrationProjectsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListMigrationProjectsInvoker) Invoke

type ListPermissionCheckResultInvoker

type ListPermissionCheckResultInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPermissionCheckResultInvoker) Invoke

type ListQuotasInvoker

type ListQuotasInvoker struct {
	*invoker.BaseInvoker
}

func (*ListQuotasInvoker) Invoke

type ListSyntaxConversionProgressInvoker

type ListSyntaxConversionProgressInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSyntaxConversionProgressInvoker) Invoke

type ListVerificationProgressInvoker

type ListVerificationProgressInvoker struct {
	*invoker.BaseInvoker
}

func (*ListVerificationProgressInvoker) Invoke

type RunSqlConversionInvoker

type RunSqlConversionInvoker struct {
	*invoker.BaseInvoker
}

func (*RunSqlConversionInvoker) Invoke

type ShowApiVersionInfoInvoker

type ShowApiVersionInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowApiVersionInfoInvoker) Invoke

type ShowEvaluationProjectDetailInvoker

type ShowEvaluationProjectDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowEvaluationProjectDetailInvoker) Invoke

type ShowEvaluationProjectStatusInvoker

type ShowEvaluationProjectStatusInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowEvaluationProjectStatusInvoker) Invoke

type ShowMigrationProjectDetailInvoker

type ShowMigrationProjectDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowMigrationProjectDetailInvoker) Invoke

type ShowMigrationProjectStatusInvoker

type ShowMigrationProjectStatusInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowMigrationProjectStatusInvoker) Invoke

type UgoClient

type UgoClient struct {
	HcClient *http_client.HcHttpClient
}

func NewUgoClient

func NewUgoClient(hcClient *http_client.HcHttpClient) *UgoClient

func (*UgoClient) CheckPermission

func (c *UgoClient) CheckPermission(request *model.CheckPermissionRequest) (*model.CheckPermissionResponse, error)

CheckPermission 目标库权限检查。

目标库权限检查。

Please refer to HUAWEI cloud API Explorer for details.

func (*UgoClient) CheckPermissionInvoker

func (c *UgoClient) CheckPermissionInvoker(request *model.CheckPermissionRequest) *CheckPermissionInvoker

CheckPermissionInvoker 目标库权限检查。

func (*UgoClient) CommitSyntaxConversion

CommitSyntaxConversion 提交语法转换

提交语法转换。只有migration_project_status为\"READY\"时才能调用该接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*UgoClient) CommitSyntaxConversionInvoker

func (c *UgoClient) CommitSyntaxConversionInvoker(request *model.CommitSyntaxConversionRequest) *CommitSyntaxConversionInvoker

CommitSyntaxConversionInvoker 提交语法转换

func (*UgoClient) CommitVerification

func (c *UgoClient) CommitVerification(request *model.CommitVerificationRequest) (*model.CommitVerificationResponse, error)

CommitVerification 提交验证。

提交验证。语法转换完成后,才能调用该接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*UgoClient) CommitVerificationInvoker

func (c *UgoClient) CommitVerificationInvoker(request *model.CommitVerificationRequest) *CommitVerificationInvoker

CommitVerificationInvoker 提交验证。

func (*UgoClient) ConfirmTargetDbType

ConfirmTargetDbType 评估项目确认目标数据库类型。

评估项目确认目标数据库类型。

Please refer to HUAWEI cloud API Explorer for details.

func (*UgoClient) ConfirmTargetDbTypeInvoker

func (c *UgoClient) ConfirmTargetDbTypeInvoker(request *model.ConfirmTargetDbTypeRequest) *ConfirmTargetDbTypeInvoker

ConfirmTargetDbTypeInvoker 评估项目确认目标数据库类型。

func (*UgoClient) CreateEvaluationProject

CreateEvaluationProject 创建评估项目。

创建评估项目。评估项目分2个阶段:采集、评估。

Please refer to HUAWEI cloud API Explorer for details.

func (*UgoClient) CreateEvaluationProjectInvoker

func (c *UgoClient) CreateEvaluationProjectInvoker(request *model.CreateEvaluationProjectRequest) *CreateEvaluationProjectInvoker

CreateEvaluationProjectInvoker 创建评估项目。

func (*UgoClient) CreateMigrationProject

CreateMigrationProject 创建迁移项目。

创建迁移项目。创建迁移项目需要关联状态为“COMPLETED”的评估项目。迁移项目依次经历以下几个阶段:目标库权限检查、语法转换、验证、下载迁移失败的报告、删除。

Please refer to HUAWEI cloud API Explorer for details.

func (*UgoClient) CreateMigrationProjectInvoker

func (c *UgoClient) CreateMigrationProjectInvoker(request *model.CreateMigrationProjectRequest) *CreateMigrationProjectInvoker

CreateMigrationProjectInvoker 创建迁移项目。

func (*UgoClient) DeleteEvaluationProject

DeleteEvaluationProject 删除评估项目。

删除评估项目。

Please refer to HUAWEI cloud API Explorer for details.

func (*UgoClient) DeleteEvaluationProjectInvoker

func (c *UgoClient) DeleteEvaluationProjectInvoker(request *model.DeleteEvaluationProjectRequest) *DeleteEvaluationProjectInvoker

DeleteEvaluationProjectInvoker 删除评估项目。

func (*UgoClient) DeleteMigrationProject

DeleteMigrationProject 删除迁移项目

删除迁移项目。

Please refer to HUAWEI cloud API Explorer for details.

func (*UgoClient) DeleteMigrationProjectInvoker

func (c *UgoClient) DeleteMigrationProjectInvoker(request *model.DeleteMigrationProjectRequest) *DeleteMigrationProjectInvoker

DeleteMigrationProjectInvoker 删除迁移项目

func (*UgoClient) DownloadFailureReport

DownloadFailureReport 下载迁移错误报告。

下载迁移错误报告。

Please refer to HUAWEI cloud API Explorer for details.

func (*UgoClient) DownloadFailureReportInvoker

func (c *UgoClient) DownloadFailureReportInvoker(request *model.DownloadFailureReportRequest) *DownloadFailureReportInvoker

DownloadFailureReportInvoker 下载迁移错误报告。

func (*UgoClient) ListApiVersions

func (c *UgoClient) ListApiVersions(request *model.ListApiVersionsRequest) (*model.ListApiVersionsResponse, error)

ListApiVersions 查询API版本信息列表。

查询API版本信息列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*UgoClient) ListApiVersionsInvoker

func (c *UgoClient) ListApiVersionsInvoker(request *model.ListApiVersionsRequest) *ListApiVersionsInvoker

ListApiVersionsInvoker 查询API版本信息列表。

func (*UgoClient) ListEvaluationProjects

ListEvaluationProjects 查询评估项目列表。

查询评估项目列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*UgoClient) ListEvaluationProjectsInvoker

func (c *UgoClient) ListEvaluationProjectsInvoker(request *model.ListEvaluationProjectsRequest) *ListEvaluationProjectsInvoker

ListEvaluationProjectsInvoker 查询评估项目列表。

func (*UgoClient) ListMigrationProjects

ListMigrationProjects 查询迁移项目列表。

查询迁移项目列表。创建迁移项目之后,调用该接口,根据项目名称,获取项目ID。

Please refer to HUAWEI cloud API Explorer for details.

func (*UgoClient) ListMigrationProjectsInvoker

func (c *UgoClient) ListMigrationProjectsInvoker(request *model.ListMigrationProjectsRequest) *ListMigrationProjectsInvoker

ListMigrationProjectsInvoker 查询迁移项目列表。

func (*UgoClient) ListPermissionCheckResult

ListPermissionCheckResult 查询权限检查结果。

查询权限检查结果。permission_check_status 为 \"SUCCESS\" 或者 \"FAILED\" 时,才能调用该接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*UgoClient) ListPermissionCheckResultInvoker

func (c *UgoClient) ListPermissionCheckResultInvoker(request *model.ListPermissionCheckResultRequest) *ListPermissionCheckResultInvoker

ListPermissionCheckResultInvoker 查询权限检查结果。

func (*UgoClient) ListQuotas

func (c *UgoClient) ListQuotas(request *model.ListQuotasRequest) (*model.ListQuotasResponse, error)

ListQuotas 查询配额。

查询单租户的配额,包括评估项目配额、迁移项目配额。

Please refer to HUAWEI cloud API Explorer for details.

func (*UgoClient) ListQuotasInvoker

func (c *UgoClient) ListQuotasInvoker(request *model.ListQuotasRequest) *ListQuotasInvoker

ListQuotasInvoker 查询配额。

func (*UgoClient) ListSyntaxConversionProgress

ListSyntaxConversionProgress 查询语法转换的进度。

查询语法转换的进度。

Please refer to HUAWEI cloud API Explorer for details.

func (*UgoClient) ListSyntaxConversionProgressInvoker

func (c *UgoClient) ListSyntaxConversionProgressInvoker(request *model.ListSyntaxConversionProgressRequest) *ListSyntaxConversionProgressInvoker

ListSyntaxConversionProgressInvoker 查询语法转换的进度。

func (*UgoClient) ListVerificationProgress

ListVerificationProgress 查询验证进度。

查询验证进度。

Please refer to HUAWEI cloud API Explorer for details.

func (*UgoClient) ListVerificationProgressInvoker

func (c *UgoClient) ListVerificationProgressInvoker(request *model.ListVerificationProgressRequest) *ListVerificationProgressInvoker

ListVerificationProgressInvoker 查询验证进度。

func (*UgoClient) RunSqlConversion

func (c *UgoClient) RunSqlConversion(request *model.RunSqlConversionRequest) (*model.RunSqlConversionResponse, error)

RunSqlConversion SQL语句转换。

SQL语句转换。

Please refer to HUAWEI cloud API Explorer for details.

func (*UgoClient) RunSqlConversionInvoker

func (c *UgoClient) RunSqlConversionInvoker(request *model.RunSqlConversionRequest) *RunSqlConversionInvoker

RunSqlConversionInvoker SQL语句转换。

func (*UgoClient) ShowApiVersionInfo

func (c *UgoClient) ShowApiVersionInfo(request *model.ShowApiVersionInfoRequest) (*model.ShowApiVersionInfoResponse, error)

ShowApiVersionInfo 查询指定版本号的API版本信息。

查询指定版本号的API版本信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*UgoClient) ShowApiVersionInfoInvoker

func (c *UgoClient) ShowApiVersionInfoInvoker(request *model.ShowApiVersionInfoRequest) *ShowApiVersionInfoInvoker

ShowApiVersionInfoInvoker 查询指定版本号的API版本信息。

func (*UgoClient) ShowEvaluationProjectDetail

ShowEvaluationProjectDetail 查询评估项目详情。

查询评估项目详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*UgoClient) ShowEvaluationProjectDetailInvoker

func (c *UgoClient) ShowEvaluationProjectDetailInvoker(request *model.ShowEvaluationProjectDetailRequest) *ShowEvaluationProjectDetailInvoker

ShowEvaluationProjectDetailInvoker 查询评估项目详情。

func (*UgoClient) ShowEvaluationProjectStatus

ShowEvaluationProjectStatus 查询评估项目状态。

查询评估项目状态。

Please refer to HUAWEI cloud API Explorer for details.

func (*UgoClient) ShowEvaluationProjectStatusInvoker

func (c *UgoClient) ShowEvaluationProjectStatusInvoker(request *model.ShowEvaluationProjectStatusRequest) *ShowEvaluationProjectStatusInvoker

ShowEvaluationProjectStatusInvoker 查询评估项目状态。

func (*UgoClient) ShowMigrationProjectDetail

ShowMigrationProjectDetail 查询迁移项目详情。

查询迁移项目详情。只有migration_project_status为\"READY\"时才能调用该接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*UgoClient) ShowMigrationProjectDetailInvoker

func (c *UgoClient) ShowMigrationProjectDetailInvoker(request *model.ShowMigrationProjectDetailRequest) *ShowMigrationProjectDetailInvoker

ShowMigrationProjectDetailInvoker 查询迁移项目详情。

func (*UgoClient) ShowMigrationProjectStatus

ShowMigrationProjectStatus 查询迁移项目状态。

查询迁移项目状态。

Please refer to HUAWEI cloud API Explorer for details.

func (*UgoClient) ShowMigrationProjectStatusInvoker

func (c *UgoClient) ShowMigrationProjectStatusInvoker(request *model.ShowMigrationProjectStatusRequest) *ShowMigrationProjectStatusInvoker

ShowMigrationProjectStatusInvoker 查询迁移项目状态。

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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