v2

package
v0.1.80 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForBatchUpdateTasks added in v0.1.71

func GenReqDefForBatchUpdateTasks() *def.HttpRequestDef

func GenReqDefForCheckPrefix added in v0.1.68

func GenReqDefForCheckPrefix() *def.HttpRequestDef

func GenReqDefForCreateSyncEvents

func GenReqDefForCreateSyncEvents() *def.HttpRequestDef

func GenReqDefForCreateSyncTask added in v0.1.68

func GenReqDefForCreateSyncTask() *def.HttpRequestDef

func GenReqDefForCreateTask

func GenReqDefForCreateTask() *def.HttpRequestDef

func GenReqDefForCreateTaskGroup added in v0.1.3

func GenReqDefForCreateTaskGroup() *def.HttpRequestDef

func GenReqDefForDeleteSyncTask added in v0.1.68

func GenReqDefForDeleteSyncTask() *def.HttpRequestDef

func GenReqDefForDeleteTask

func GenReqDefForDeleteTask() *def.HttpRequestDef

func GenReqDefForDeleteTaskGroup added in v0.1.3

func GenReqDefForDeleteTaskGroup() *def.HttpRequestDef

func GenReqDefForListApiVersions

func GenReqDefForListApiVersions() *def.HttpRequestDef

func GenReqDefForListSyncTaskStatistic added in v0.1.68

func GenReqDefForListSyncTaskStatistic() *def.HttpRequestDef

func GenReqDefForListSyncTasks added in v0.1.68

func GenReqDefForListSyncTasks() *def.HttpRequestDef

func GenReqDefForListTaskGroup added in v0.1.3

func GenReqDefForListTaskGroup() *def.HttpRequestDef

func GenReqDefForListTasks

func GenReqDefForListTasks() *def.HttpRequestDef

func GenReqDefForRetryTaskGroup added in v0.1.3

func GenReqDefForRetryTaskGroup() *def.HttpRequestDef

func GenReqDefForShowApiInfo

func GenReqDefForShowApiInfo() *def.HttpRequestDef

func GenReqDefForShowBucketList added in v0.1.68

func GenReqDefForShowBucketList() *def.HttpRequestDef

func GenReqDefForShowBucketObjects added in v0.1.68

func GenReqDefForShowBucketObjects() *def.HttpRequestDef

func GenReqDefForShowBucketRegion added in v0.1.68

func GenReqDefForShowBucketRegion() *def.HttpRequestDef

func GenReqDefForShowCdnInfo added in v0.1.68

func GenReqDefForShowCdnInfo() *def.HttpRequestDef

func GenReqDefForShowCloudType added in v0.1.68

func GenReqDefForShowCloudType() *def.HttpRequestDef

func GenReqDefForShowRegionInfo added in v0.1.68

func GenReqDefForShowRegionInfo() *def.HttpRequestDef

func GenReqDefForShowSyncTask added in v0.1.68

func GenReqDefForShowSyncTask() *def.HttpRequestDef

func GenReqDefForShowTask

func GenReqDefForShowTask() *def.HttpRequestDef

func GenReqDefForShowTaskGroup added in v0.1.3

func GenReqDefForShowTaskGroup() *def.HttpRequestDef

func GenReqDefForStartSyncTask added in v0.1.68

func GenReqDefForStartSyncTask() *def.HttpRequestDef

func GenReqDefForStartTask

func GenReqDefForStartTask() *def.HttpRequestDef

func GenReqDefForStartTaskGroup added in v0.1.3

func GenReqDefForStartTaskGroup() *def.HttpRequestDef

func GenReqDefForStopSyncTask added in v0.1.68

func GenReqDefForStopSyncTask() *def.HttpRequestDef

func GenReqDefForStopTask

func GenReqDefForStopTask() *def.HttpRequestDef

func GenReqDefForStopTaskGroup added in v0.1.3

func GenReqDefForStopTaskGroup() *def.HttpRequestDef

func GenReqDefForUpdateBandwidthPolicy

func GenReqDefForUpdateBandwidthPolicy() *def.HttpRequestDef

func GenReqDefForUpdateTaskGroup added in v0.1.3

func GenReqDefForUpdateTaskGroup() *def.HttpRequestDef

func OmsClientBuilder

func OmsClientBuilder() *httpclient.HcHttpClientBuilder

Types

type BatchUpdateTasksInvoker added in v0.1.71

type BatchUpdateTasksInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchUpdateTasksInvoker) Invoke added in v0.1.71

type CheckPrefixInvoker added in v0.1.68

type CheckPrefixInvoker struct {
	*invoker.BaseInvoker
}

func (*CheckPrefixInvoker) Invoke added in v0.1.68

type CreateSyncEventsInvoker added in v0.0.90

type CreateSyncEventsInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateSyncEventsInvoker) Invoke added in v0.0.90

type CreateSyncTaskInvoker added in v0.1.68

type CreateSyncTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateSyncTaskInvoker) Invoke added in v0.1.68

type CreateTaskGroupInvoker added in v0.1.3

type CreateTaskGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateTaskGroupInvoker) Invoke added in v0.1.3

type CreateTaskInvoker added in v0.0.90

type CreateTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateTaskInvoker) Invoke added in v0.0.90

type DeleteSyncTaskInvoker added in v0.1.68

type DeleteSyncTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteSyncTaskInvoker) Invoke added in v0.1.68

type DeleteTaskGroupInvoker added in v0.1.3

type DeleteTaskGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteTaskGroupInvoker) Invoke added in v0.1.3

type DeleteTaskInvoker added in v0.0.90

type DeleteTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteTaskInvoker) Invoke added in v0.0.90

type ListApiVersionsInvoker added in v0.0.90

type ListApiVersionsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListApiVersionsInvoker) Invoke added in v0.0.90

type ListSyncTaskStatisticInvoker added in v0.1.68

type ListSyncTaskStatisticInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSyncTaskStatisticInvoker) Invoke added in v0.1.68

type ListSyncTasksInvoker added in v0.1.68

type ListSyncTasksInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSyncTasksInvoker) Invoke added in v0.1.68

type ListTaskGroupInvoker added in v0.1.3

type ListTaskGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTaskGroupInvoker) Invoke added in v0.1.3

type ListTasksInvoker added in v0.0.90

type ListTasksInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTasksInvoker) Invoke added in v0.0.90

type OmsClient

type OmsClient struct {
	HcClient *httpclient.HcHttpClient
}

func NewOmsClient

func NewOmsClient(hcClient *httpclient.HcHttpClient) *OmsClient

func (*OmsClient) BatchUpdateTasks added in v0.1.71

func (c *OmsClient) BatchUpdateTasks(request *model.BatchUpdateTasksRequest) (*model.BatchUpdateTasksResponse, error)

BatchUpdateTasks 批量更新任务

批量更新迁移任务,可指定单个迁移任务组下所有的迁移任务或通过迁移任务ID来执行。

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) BatchUpdateTasksInvoker added in v0.1.71

func (c *OmsClient) BatchUpdateTasksInvoker(request *model.BatchUpdateTasksRequest) *BatchUpdateTasksInvoker

BatchUpdateTasksInvoker 批量更新任务

func (*OmsClient) CheckPrefix added in v0.1.68

func (c *OmsClient) CheckPrefix(request *model.CheckPrefixRequest) (*model.CheckPrefixResponse, error)

CheckPrefix 检查前缀是否在源端桶中存在

检查前缀是否在源端桶中存在

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) CheckPrefixInvoker added in v0.1.68

func (c *OmsClient) CheckPrefixInvoker(request *model.CheckPrefixRequest) *CheckPrefixInvoker

CheckPrefixInvoker 检查前缀是否在源端桶中存在

func (*OmsClient) CreateSyncEvents

func (c *OmsClient) CreateSyncEvents(request *model.CreateSyncEventsRequest) (*model.CreateSyncEventsResponse, error)

CreateSyncEvents 创建同步事件

源端有对象需要进行同步时,调用该接口创建一个同步事件,系统将根据同步事件中包含的对象名称进行同步(目前只支持华北-北京四、华东-上海一地区)。

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) CreateSyncEventsInvoker added in v0.0.90

func (c *OmsClient) CreateSyncEventsInvoker(request *model.CreateSyncEventsRequest) *CreateSyncEventsInvoker

CreateSyncEventsInvoker 创建同步事件

func (*OmsClient) CreateSyncTask added in v0.1.68

func (c *OmsClient) CreateSyncTask(request *model.CreateSyncTaskRequest) (*model.CreateSyncTaskResponse, error)

CreateSyncTask 创建同步任务

创建同步任务,创建成功后,任务会被自动启动,不需要额外调用启动任务命令。

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) CreateSyncTaskInvoker added in v0.1.68

func (c *OmsClient) CreateSyncTaskInvoker(request *model.CreateSyncTaskRequest) *CreateSyncTaskInvoker

CreateSyncTaskInvoker 创建同步任务

func (*OmsClient) CreateTask

func (c *OmsClient) CreateTask(request *model.CreateTaskRequest) (*model.CreateTaskResponse, error)

CreateTask 创建迁移任务

创建迁移任务,创建成功后,任务会被自动启动,不需要额外调用启动任务命令。

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) CreateTaskGroup added in v0.1.3

func (c *OmsClient) CreateTaskGroup(request *model.CreateTaskGroupRequest) (*model.CreateTaskGroupResponse, error)

CreateTaskGroup 创建迁移任务组

创建迁移任务组,创建成功后,迁移任务组会自动创建迁移任务,不需要额外调用启动任务命令。

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) CreateTaskGroupInvoker added in v0.1.3

func (c *OmsClient) CreateTaskGroupInvoker(request *model.CreateTaskGroupRequest) *CreateTaskGroupInvoker

CreateTaskGroupInvoker 创建迁移任务组

func (*OmsClient) CreateTaskInvoker added in v0.0.90

func (c *OmsClient) CreateTaskInvoker(request *model.CreateTaskRequest) *CreateTaskInvoker

CreateTaskInvoker 创建迁移任务

func (*OmsClient) DeleteSyncTask added in v0.1.68

func (c *OmsClient) DeleteSyncTask(request *model.DeleteSyncTaskRequest) (*model.DeleteSyncTaskResponse, error)

DeleteSyncTask 删除同步任务

调用该接口删除同步任务。 正在同步的任务不允许删除,如果删除会返回失败;若要删除,请先行暂停任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) DeleteSyncTaskInvoker added in v0.1.68

func (c *OmsClient) DeleteSyncTaskInvoker(request *model.DeleteSyncTaskRequest) *DeleteSyncTaskInvoker

DeleteSyncTaskInvoker 删除同步任务

func (*OmsClient) DeleteTask

func (c *OmsClient) DeleteTask(request *model.DeleteTaskRequest) (*model.DeleteTaskResponse, error)

DeleteTask 删除迁移任务

调用该接口删除迁移任务。 正在运行的任务不允许删除,如果删除会返回失败;若要删除,请先行暂停任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) DeleteTaskGroup added in v0.1.3

func (c *OmsClient) DeleteTaskGroup(request *model.DeleteTaskGroupRequest) (*model.DeleteTaskGroupResponse, error)

DeleteTaskGroup 删除指定id的迁移任务组

删除指定的迁移任务组. 创建任务中、监控中、暂停中状态的任务不允许删除,如果删除会返回失败;若要删除,请先行暂停任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) DeleteTaskGroupInvoker added in v0.1.3

func (c *OmsClient) DeleteTaskGroupInvoker(request *model.DeleteTaskGroupRequest) *DeleteTaskGroupInvoker

DeleteTaskGroupInvoker 删除指定id的迁移任务组

func (*OmsClient) DeleteTaskInvoker added in v0.0.90

func (c *OmsClient) DeleteTaskInvoker(request *model.DeleteTaskRequest) *DeleteTaskInvoker

DeleteTaskInvoker 删除迁移任务

func (*OmsClient) ListApiVersions

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

ListApiVersions 查询API版本信息列表

查询对象存储迁移服务的API版本信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) ListApiVersionsInvoker added in v0.0.90

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

ListApiVersionsInvoker 查询API版本信息列表

func (*OmsClient) ListSyncTaskStatistic added in v0.1.68

ListSyncTaskStatistic 查询指定ID的同步任务统计数据

查询指定ID同步任务的接收同步请求对象数、同步成功对象数、同步失败对象数、同步跳过对象数、同步成功对象容量统计数据(目前只支持华北-北京四、华东-上海一地区)。

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) ListSyncTaskStatisticInvoker added in v0.1.68

func (c *OmsClient) ListSyncTaskStatisticInvoker(request *model.ListSyncTaskStatisticRequest) *ListSyncTaskStatisticInvoker

ListSyncTaskStatisticInvoker 查询指定ID的同步任务统计数据

func (*OmsClient) ListSyncTasks added in v0.1.68

func (c *OmsClient) ListSyncTasks(request *model.ListSyncTasksRequest) (*model.ListSyncTasksResponse, error)

ListSyncTasks 查询同步任务列表

查询用户名下所有同步任务信息

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) ListSyncTasksInvoker added in v0.1.68

func (c *OmsClient) ListSyncTasksInvoker(request *model.ListSyncTasksRequest) *ListSyncTasksInvoker

ListSyncTasksInvoker 查询同步任务列表

func (*OmsClient) ListTaskGroup added in v0.1.3

func (c *OmsClient) ListTaskGroup(request *model.ListTaskGroupRequest) (*model.ListTaskGroupResponse, error)

ListTaskGroup 查询迁移任务组列表

查询用户账户下的任务组信息

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) ListTaskGroupInvoker added in v0.1.3

func (c *OmsClient) ListTaskGroupInvoker(request *model.ListTaskGroupRequest) *ListTaskGroupInvoker

ListTaskGroupInvoker 查询迁移任务组列表

func (*OmsClient) ListTasks

func (c *OmsClient) ListTasks(request *model.ListTasksRequest) (*model.ListTasksResponse, error)

ListTasks 查询迁移任务列表

查询用户账户下的所有任务信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) ListTasksInvoker added in v0.0.90

func (c *OmsClient) ListTasksInvoker(request *model.ListTasksRequest) *ListTasksInvoker

ListTasksInvoker 查询迁移任务列表

func (*OmsClient) RetryTaskGroup added in v0.1.3

func (c *OmsClient) RetryTaskGroup(request *model.RetryTaskGroupRequest) (*model.RetryTaskGroupResponse, error)

RetryTaskGroup 对已经失败的指定id迁移任务组进行重启

当迁移任务组处于迁移失败状态时,调用该接口重启指定id的迁移任务组。

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) RetryTaskGroupInvoker added in v0.1.3

func (c *OmsClient) RetryTaskGroupInvoker(request *model.RetryTaskGroupRequest) *RetryTaskGroupInvoker

RetryTaskGroupInvoker 对已经失败的指定id迁移任务组进行重启

func (*OmsClient) ShowApiInfo

func (c *OmsClient) ShowApiInfo(request *model.ShowApiInfoRequest) (*model.ShowApiInfoResponse, error)

ShowApiInfo 查询指定API版本信息

查询对象存储迁移服务指定API版本信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) ShowApiInfoInvoker added in v0.0.90

func (c *OmsClient) ShowApiInfoInvoker(request *model.ShowApiInfoRequest) *ShowApiInfoInvoker

ShowApiInfoInvoker 查询指定API版本信息

func (*OmsClient) ShowBucketList added in v0.1.68

func (c *OmsClient) ShowBucketList(request *model.ShowBucketListRequest) (*model.ShowBucketListResponse, error)

ShowBucketList 查询桶列表

查询桶列表

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) ShowBucketListInvoker added in v0.1.68

func (c *OmsClient) ShowBucketListInvoker(request *model.ShowBucketListRequest) *ShowBucketListInvoker

ShowBucketListInvoker 查询桶列表

func (*OmsClient) ShowBucketObjects added in v0.1.68

func (c *OmsClient) ShowBucketObjects(request *model.ShowBucketObjectsRequest) (*model.ShowBucketObjectsResponse, error)

ShowBucketObjects 查询桶对象列表

查询桶对象列表

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) ShowBucketObjectsInvoker added in v0.1.68

func (c *OmsClient) ShowBucketObjectsInvoker(request *model.ShowBucketObjectsRequest) *ShowBucketObjectsInvoker

ShowBucketObjectsInvoker 查询桶对象列表

func (*OmsClient) ShowBucketRegion added in v0.1.68

func (c *OmsClient) ShowBucketRegion(request *model.ShowBucketRegionRequest) (*model.ShowBucketRegionResponse, error)

ShowBucketRegion 查询桶对应的region

查询桶对应的region

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) ShowBucketRegionInvoker added in v0.1.68

func (c *OmsClient) ShowBucketRegionInvoker(request *model.ShowBucketRegionRequest) *ShowBucketRegionInvoker

ShowBucketRegionInvoker 查询桶对应的region

func (*OmsClient) ShowCdnInfo added in v0.1.68

func (c *OmsClient) ShowCdnInfo(request *model.ShowCdnInfoRequest) (*model.ShowCdnInfoResponse, error)

ShowCdnInfo 查桶对应的CDN信息

查桶对应的CDN信息

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) ShowCdnInfoInvoker added in v0.1.68

func (c *OmsClient) ShowCdnInfoInvoker(request *model.ShowCdnInfoRequest) *ShowCdnInfoInvoker

ShowCdnInfoInvoker 查桶对应的CDN信息

func (*OmsClient) ShowCloudType added in v0.1.68

func (c *OmsClient) ShowCloudType(request *model.ShowCloudTypeRequest) (*model.ShowCloudTypeResponse, error)

ShowCloudType 查询所有支持的云厂商

查询所有支持的云厂商

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) ShowCloudTypeInvoker added in v0.1.68

func (c *OmsClient) ShowCloudTypeInvoker(request *model.ShowCloudTypeRequest) *ShowCloudTypeInvoker

ShowCloudTypeInvoker 查询所有支持的云厂商

func (*OmsClient) ShowRegionInfo added in v0.1.68

func (c *OmsClient) ShowRegionInfo(request *model.ShowRegionInfoRequest) (*model.ShowRegionInfoResponse, error)

ShowRegionInfo 查询云厂商支持的reigon

查询云厂商支持的reigon

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) ShowRegionInfoInvoker added in v0.1.68

func (c *OmsClient) ShowRegionInfoInvoker(request *model.ShowRegionInfoRequest) *ShowRegionInfoInvoker

ShowRegionInfoInvoker 查询云厂商支持的reigon

func (*OmsClient) ShowSyncTask added in v0.1.68

func (c *OmsClient) ShowSyncTask(request *model.ShowSyncTaskRequest) (*model.ShowSyncTaskResponse, error)

ShowSyncTask 查询指定ID的同步任务详情

查询指定ID的同步任务详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) ShowSyncTaskInvoker added in v0.1.68

func (c *OmsClient) ShowSyncTaskInvoker(request *model.ShowSyncTaskRequest) *ShowSyncTaskInvoker

ShowSyncTaskInvoker 查询指定ID的同步任务详情

func (*OmsClient) ShowTask

func (c *OmsClient) ShowTask(request *model.ShowTaskRequest) (*model.ShowTaskResponse, error)

ShowTask 查询指定ID的任务详情

查询指定ID的任务详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) ShowTaskGroup added in v0.1.3

func (c *OmsClient) ShowTaskGroup(request *model.ShowTaskGroupRequest) (*model.ShowTaskGroupResponse, error)

ShowTaskGroup 获取指定id的taskgroup信息

获取指定id的taskgroup信息

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) ShowTaskGroupInvoker added in v0.1.3

func (c *OmsClient) ShowTaskGroupInvoker(request *model.ShowTaskGroupRequest) *ShowTaskGroupInvoker

ShowTaskGroupInvoker 获取指定id的taskgroup信息

func (*OmsClient) ShowTaskInvoker added in v0.0.90

func (c *OmsClient) ShowTaskInvoker(request *model.ShowTaskRequest) *ShowTaskInvoker

ShowTaskInvoker 查询指定ID的任务详情

func (*OmsClient) StartSyncTask added in v0.1.68

func (c *OmsClient) StartSyncTask(request *model.StartSyncTaskRequest) (*model.StartSyncTaskResponse, error)

StartSyncTask 启动同步任务

同步任务停止后,调用该接口以启动同步任务(目前只支持华北-北京四、华东-上海一地区)。

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) StartSyncTaskInvoker added in v0.1.68

func (c *OmsClient) StartSyncTaskInvoker(request *model.StartSyncTaskRequest) *StartSyncTaskInvoker

StartSyncTaskInvoker 启动同步任务

func (*OmsClient) StartTask

func (c *OmsClient) StartTask(request *model.StartTaskRequest) (*model.StartTaskResponse, error)

StartTask 启动迁移任务

迁移任务暂停或失败后,调用该接口以启动任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) StartTaskGroup added in v0.1.3

func (c *OmsClient) StartTaskGroup(request *model.StartTaskGroupRequest) (*model.StartTaskGroupResponse, error)

StartTaskGroup 恢复指定id的迁移任务组

当迁移任务组处于暂停状态时,调用该接口启动指定id的迁移任务组。

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) StartTaskGroupInvoker added in v0.1.3

func (c *OmsClient) StartTaskGroupInvoker(request *model.StartTaskGroupRequest) *StartTaskGroupInvoker

StartTaskGroupInvoker 恢复指定id的迁移任务组

func (*OmsClient) StartTaskInvoker added in v0.0.90

func (c *OmsClient) StartTaskInvoker(request *model.StartTaskRequest) *StartTaskInvoker

StartTaskInvoker 启动迁移任务

func (*OmsClient) StopSyncTask added in v0.1.68

func (c *OmsClient) StopSyncTask(request *model.StopSyncTaskRequest) (*model.StopSyncTaskResponse, error)

StopSyncTask 暂停同步任务

当同步任务处于同步中时,调用该接口停止任务(目前只支持华北-北京四、华东-上海一地区)。

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) StopSyncTaskInvoker added in v0.1.68

func (c *OmsClient) StopSyncTaskInvoker(request *model.StopSyncTaskRequest) *StopSyncTaskInvoker

StopSyncTaskInvoker 暂停同步任务

func (*OmsClient) StopTask

func (c *OmsClient) StopTask(request *model.StopTaskRequest) (*model.StopTaskResponse, error)

StopTask 暂停迁移任务

当迁移任务处于迁移中时,调用该接口停止任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) StopTaskGroup added in v0.1.3

func (c *OmsClient) StopTaskGroup(request *model.StopTaskGroupRequest) (*model.StopTaskGroupResponse, error)

StopTaskGroup 暂停指定id的迁移任务组

当迁移任务组处于创建任务中或监控中时,调用该接口暂停指定迁移任务组。

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) StopTaskGroupInvoker added in v0.1.3

func (c *OmsClient) StopTaskGroupInvoker(request *model.StopTaskGroupRequest) *StopTaskGroupInvoker

StopTaskGroupInvoker 暂停指定id的迁移任务组

func (*OmsClient) StopTaskInvoker added in v0.0.90

func (c *OmsClient) StopTaskInvoker(request *model.StopTaskRequest) *StopTaskInvoker

StopTaskInvoker 暂停迁移任务

func (*OmsClient) UpdateBandwidthPolicy

UpdateBandwidthPolicy 更新任务带宽策略

当迁移任务未执行完成时,修改迁移任务的流量控制策略。

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) UpdateBandwidthPolicyInvoker added in v0.0.90

func (c *OmsClient) UpdateBandwidthPolicyInvoker(request *model.UpdateBandwidthPolicyRequest) *UpdateBandwidthPolicyInvoker

UpdateBandwidthPolicyInvoker 更新任务带宽策略

func (*OmsClient) UpdateTaskGroup added in v0.1.3

func (c *OmsClient) UpdateTaskGroup(request *model.UpdateTaskGroupRequest) (*model.UpdateTaskGroupResponse, error)

UpdateTaskGroup 更新指定id的迁移任务组的流控策略

当迁移任务组未执行完成时,修改迁移任务组的流量控制策略。

Please refer to HUAWEI cloud API Explorer for details.

func (*OmsClient) UpdateTaskGroupInvoker added in v0.1.3

func (c *OmsClient) UpdateTaskGroupInvoker(request *model.UpdateTaskGroupRequest) *UpdateTaskGroupInvoker

UpdateTaskGroupInvoker 更新指定id的迁移任务组的流控策略

type RetryTaskGroupInvoker added in v0.1.3

type RetryTaskGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*RetryTaskGroupInvoker) Invoke added in v0.1.3

type ShowApiInfoInvoker added in v0.0.90

type ShowApiInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowApiInfoInvoker) Invoke added in v0.0.90

type ShowBucketListInvoker added in v0.1.68

type ShowBucketListInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowBucketListInvoker) Invoke added in v0.1.68

type ShowBucketObjectsInvoker added in v0.1.68

type ShowBucketObjectsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowBucketObjectsInvoker) Invoke added in v0.1.68

type ShowBucketRegionInvoker added in v0.1.68

type ShowBucketRegionInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowBucketRegionInvoker) Invoke added in v0.1.68

type ShowCdnInfoInvoker added in v0.1.68

type ShowCdnInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowCdnInfoInvoker) Invoke added in v0.1.68

type ShowCloudTypeInvoker added in v0.1.68

type ShowCloudTypeInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowCloudTypeInvoker) Invoke added in v0.1.68

type ShowRegionInfoInvoker added in v0.1.68

type ShowRegionInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowRegionInfoInvoker) Invoke added in v0.1.68

type ShowSyncTaskInvoker added in v0.1.68

type ShowSyncTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowSyncTaskInvoker) Invoke added in v0.1.68

type ShowTaskGroupInvoker added in v0.1.3

type ShowTaskGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowTaskGroupInvoker) Invoke added in v0.1.3

type ShowTaskInvoker added in v0.0.90

type ShowTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowTaskInvoker) Invoke added in v0.0.90

func (i *ShowTaskInvoker) Invoke() (*model.ShowTaskResponse, error)

type StartSyncTaskInvoker added in v0.1.68

type StartSyncTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*StartSyncTaskInvoker) Invoke added in v0.1.68

type StartTaskGroupInvoker added in v0.1.3

type StartTaskGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*StartTaskGroupInvoker) Invoke added in v0.1.3

type StartTaskInvoker added in v0.0.90

type StartTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*StartTaskInvoker) Invoke added in v0.0.90

type StopSyncTaskInvoker added in v0.1.68

type StopSyncTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*StopSyncTaskInvoker) Invoke added in v0.1.68

type StopTaskGroupInvoker added in v0.1.3

type StopTaskGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*StopTaskGroupInvoker) Invoke added in v0.1.3

type StopTaskInvoker added in v0.0.90

type StopTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*StopTaskInvoker) Invoke added in v0.0.90

func (i *StopTaskInvoker) Invoke() (*model.StopTaskResponse, error)

type UpdateBandwidthPolicyInvoker added in v0.0.90

type UpdateBandwidthPolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateBandwidthPolicyInvoker) Invoke added in v0.0.90

type UpdateTaskGroupInvoker added in v0.1.3

type UpdateTaskGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateTaskGroupInvoker) Invoke added in v0.1.3

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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