Documentation ¶
Index ¶
- func GenReqDefForBatchUpdateTasks() *def.HttpRequestDef
- func GenReqDefForCheckPrefix() *def.HttpRequestDef
- func GenReqDefForCreateSyncEvents() *def.HttpRequestDef
- func GenReqDefForCreateSyncTask() *def.HttpRequestDef
- func GenReqDefForCreateTask() *def.HttpRequestDef
- func GenReqDefForCreateTaskGroup() *def.HttpRequestDef
- func GenReqDefForDeleteSyncTask() *def.HttpRequestDef
- func GenReqDefForDeleteTask() *def.HttpRequestDef
- func GenReqDefForDeleteTaskGroup() *def.HttpRequestDef
- func GenReqDefForListApiVersions() *def.HttpRequestDef
- func GenReqDefForListSyncTaskStatistic() *def.HttpRequestDef
- func GenReqDefForListSyncTasks() *def.HttpRequestDef
- func GenReqDefForListTaskGroup() *def.HttpRequestDef
- func GenReqDefForListTasks() *def.HttpRequestDef
- func GenReqDefForRetryTaskGroup() *def.HttpRequestDef
- func GenReqDefForShowApiInfo() *def.HttpRequestDef
- func GenReqDefForShowBucketList() *def.HttpRequestDef
- func GenReqDefForShowBucketObjects() *def.HttpRequestDef
- func GenReqDefForShowBucketRegion() *def.HttpRequestDef
- func GenReqDefForShowCdnInfo() *def.HttpRequestDef
- func GenReqDefForShowCloudType() *def.HttpRequestDef
- func GenReqDefForShowRegionInfo() *def.HttpRequestDef
- func GenReqDefForShowSyncTask() *def.HttpRequestDef
- func GenReqDefForShowTask() *def.HttpRequestDef
- func GenReqDefForShowTaskGroup() *def.HttpRequestDef
- func GenReqDefForStartSyncTask() *def.HttpRequestDef
- func GenReqDefForStartTask() *def.HttpRequestDef
- func GenReqDefForStartTaskGroup() *def.HttpRequestDef
- func GenReqDefForStopSyncTask() *def.HttpRequestDef
- func GenReqDefForStopTask() *def.HttpRequestDef
- func GenReqDefForStopTaskGroup() *def.HttpRequestDef
- func GenReqDefForUpdateBandwidthPolicy() *def.HttpRequestDef
- func GenReqDefForUpdateTaskGroup() *def.HttpRequestDef
- func OmsClientBuilder() *http_client.HcHttpClientBuilder
- type BatchUpdateTasksInvoker
- type CheckPrefixInvoker
- type CreateSyncEventsInvoker
- type CreateSyncTaskInvoker
- type CreateTaskGroupInvoker
- type CreateTaskInvoker
- type DeleteSyncTaskInvoker
- type DeleteTaskGroupInvoker
- type DeleteTaskInvoker
- type ListApiVersionsInvoker
- type ListSyncTaskStatisticInvoker
- type ListSyncTasksInvoker
- type ListTaskGroupInvoker
- type ListTasksInvoker
- type OmsClient
- func (c *OmsClient) BatchUpdateTasks(request *model.BatchUpdateTasksRequest) (*model.BatchUpdateTasksResponse, error)
- func (c *OmsClient) BatchUpdateTasksInvoker(request *model.BatchUpdateTasksRequest) *BatchUpdateTasksInvoker
- func (c *OmsClient) CheckPrefix(request *model.CheckPrefixRequest) (*model.CheckPrefixResponse, error)
- func (c *OmsClient) CheckPrefixInvoker(request *model.CheckPrefixRequest) *CheckPrefixInvoker
- func (c *OmsClient) CreateSyncEvents(request *model.CreateSyncEventsRequest) (*model.CreateSyncEventsResponse, error)
- func (c *OmsClient) CreateSyncEventsInvoker(request *model.CreateSyncEventsRequest) *CreateSyncEventsInvoker
- func (c *OmsClient) CreateSyncTask(request *model.CreateSyncTaskRequest) (*model.CreateSyncTaskResponse, error)
- func (c *OmsClient) CreateSyncTaskInvoker(request *model.CreateSyncTaskRequest) *CreateSyncTaskInvoker
- func (c *OmsClient) CreateTask(request *model.CreateTaskRequest) (*model.CreateTaskResponse, error)
- func (c *OmsClient) CreateTaskGroup(request *model.CreateTaskGroupRequest) (*model.CreateTaskGroupResponse, error)
- func (c *OmsClient) CreateTaskGroupInvoker(request *model.CreateTaskGroupRequest) *CreateTaskGroupInvoker
- func (c *OmsClient) CreateTaskInvoker(request *model.CreateTaskRequest) *CreateTaskInvoker
- func (c *OmsClient) DeleteSyncTask(request *model.DeleteSyncTaskRequest) (*model.DeleteSyncTaskResponse, error)
- func (c *OmsClient) DeleteSyncTaskInvoker(request *model.DeleteSyncTaskRequest) *DeleteSyncTaskInvoker
- func (c *OmsClient) DeleteTask(request *model.DeleteTaskRequest) (*model.DeleteTaskResponse, error)
- func (c *OmsClient) DeleteTaskGroup(request *model.DeleteTaskGroupRequest) (*model.DeleteTaskGroupResponse, error)
- func (c *OmsClient) DeleteTaskGroupInvoker(request *model.DeleteTaskGroupRequest) *DeleteTaskGroupInvoker
- func (c *OmsClient) DeleteTaskInvoker(request *model.DeleteTaskRequest) *DeleteTaskInvoker
- func (c *OmsClient) ListApiVersions(request *model.ListApiVersionsRequest) (*model.ListApiVersionsResponse, error)
- func (c *OmsClient) ListApiVersionsInvoker(request *model.ListApiVersionsRequest) *ListApiVersionsInvoker
- func (c *OmsClient) ListSyncTaskStatistic(request *model.ListSyncTaskStatisticRequest) (*model.ListSyncTaskStatisticResponse, error)
- func (c *OmsClient) ListSyncTaskStatisticInvoker(request *model.ListSyncTaskStatisticRequest) *ListSyncTaskStatisticInvoker
- func (c *OmsClient) ListSyncTasks(request *model.ListSyncTasksRequest) (*model.ListSyncTasksResponse, error)
- func (c *OmsClient) ListSyncTasksInvoker(request *model.ListSyncTasksRequest) *ListSyncTasksInvoker
- func (c *OmsClient) ListTaskGroup(request *model.ListTaskGroupRequest) (*model.ListTaskGroupResponse, error)
- func (c *OmsClient) ListTaskGroupInvoker(request *model.ListTaskGroupRequest) *ListTaskGroupInvoker
- func (c *OmsClient) ListTasks(request *model.ListTasksRequest) (*model.ListTasksResponse, error)
- func (c *OmsClient) ListTasksInvoker(request *model.ListTasksRequest) *ListTasksInvoker
- func (c *OmsClient) RetryTaskGroup(request *model.RetryTaskGroupRequest) (*model.RetryTaskGroupResponse, error)
- func (c *OmsClient) RetryTaskGroupInvoker(request *model.RetryTaskGroupRequest) *RetryTaskGroupInvoker
- func (c *OmsClient) ShowApiInfo(request *model.ShowApiInfoRequest) (*model.ShowApiInfoResponse, error)
- func (c *OmsClient) ShowApiInfoInvoker(request *model.ShowApiInfoRequest) *ShowApiInfoInvoker
- func (c *OmsClient) ShowBucketList(request *model.ShowBucketListRequest) (*model.ShowBucketListResponse, error)
- func (c *OmsClient) ShowBucketListInvoker(request *model.ShowBucketListRequest) *ShowBucketListInvoker
- func (c *OmsClient) ShowBucketObjects(request *model.ShowBucketObjectsRequest) (*model.ShowBucketObjectsResponse, error)
- func (c *OmsClient) ShowBucketObjectsInvoker(request *model.ShowBucketObjectsRequest) *ShowBucketObjectsInvoker
- func (c *OmsClient) ShowBucketRegion(request *model.ShowBucketRegionRequest) (*model.ShowBucketRegionResponse, error)
- func (c *OmsClient) ShowBucketRegionInvoker(request *model.ShowBucketRegionRequest) *ShowBucketRegionInvoker
- func (c *OmsClient) ShowCdnInfo(request *model.ShowCdnInfoRequest) (*model.ShowCdnInfoResponse, error)
- func (c *OmsClient) ShowCdnInfoInvoker(request *model.ShowCdnInfoRequest) *ShowCdnInfoInvoker
- func (c *OmsClient) ShowCloudType(request *model.ShowCloudTypeRequest) (*model.ShowCloudTypeResponse, error)
- func (c *OmsClient) ShowCloudTypeInvoker(request *model.ShowCloudTypeRequest) *ShowCloudTypeInvoker
- func (c *OmsClient) ShowRegionInfo(request *model.ShowRegionInfoRequest) (*model.ShowRegionInfoResponse, error)
- func (c *OmsClient) ShowRegionInfoInvoker(request *model.ShowRegionInfoRequest) *ShowRegionInfoInvoker
- func (c *OmsClient) ShowSyncTask(request *model.ShowSyncTaskRequest) (*model.ShowSyncTaskResponse, error)
- func (c *OmsClient) ShowSyncTaskInvoker(request *model.ShowSyncTaskRequest) *ShowSyncTaskInvoker
- func (c *OmsClient) ShowTask(request *model.ShowTaskRequest) (*model.ShowTaskResponse, error)
- func (c *OmsClient) ShowTaskGroup(request *model.ShowTaskGroupRequest) (*model.ShowTaskGroupResponse, error)
- func (c *OmsClient) ShowTaskGroupInvoker(request *model.ShowTaskGroupRequest) *ShowTaskGroupInvoker
- func (c *OmsClient) ShowTaskInvoker(request *model.ShowTaskRequest) *ShowTaskInvoker
- func (c *OmsClient) StartSyncTask(request *model.StartSyncTaskRequest) (*model.StartSyncTaskResponse, error)
- func (c *OmsClient) StartSyncTaskInvoker(request *model.StartSyncTaskRequest) *StartSyncTaskInvoker
- func (c *OmsClient) StartTask(request *model.StartTaskRequest) (*model.StartTaskResponse, error)
- func (c *OmsClient) StartTaskGroup(request *model.StartTaskGroupRequest) (*model.StartTaskGroupResponse, error)
- func (c *OmsClient) StartTaskGroupInvoker(request *model.StartTaskGroupRequest) *StartTaskGroupInvoker
- func (c *OmsClient) StartTaskInvoker(request *model.StartTaskRequest) *StartTaskInvoker
- func (c *OmsClient) StopSyncTask(request *model.StopSyncTaskRequest) (*model.StopSyncTaskResponse, error)
- func (c *OmsClient) StopSyncTaskInvoker(request *model.StopSyncTaskRequest) *StopSyncTaskInvoker
- func (c *OmsClient) StopTask(request *model.StopTaskRequest) (*model.StopTaskResponse, error)
- func (c *OmsClient) StopTaskGroup(request *model.StopTaskGroupRequest) (*model.StopTaskGroupResponse, error)
- func (c *OmsClient) StopTaskGroupInvoker(request *model.StopTaskGroupRequest) *StopTaskGroupInvoker
- func (c *OmsClient) StopTaskInvoker(request *model.StopTaskRequest) *StopTaskInvoker
- func (c *OmsClient) UpdateBandwidthPolicy(request *model.UpdateBandwidthPolicyRequest) (*model.UpdateBandwidthPolicyResponse, error)
- func (c *OmsClient) UpdateBandwidthPolicyInvoker(request *model.UpdateBandwidthPolicyRequest) *UpdateBandwidthPolicyInvoker
- func (c *OmsClient) UpdateTaskGroup(request *model.UpdateTaskGroupRequest) (*model.UpdateTaskGroupResponse, error)
- func (c *OmsClient) UpdateTaskGroupInvoker(request *model.UpdateTaskGroupRequest) *UpdateTaskGroupInvoker
- type RetryTaskGroupInvoker
- type ShowApiInfoInvoker
- type ShowBucketListInvoker
- type ShowBucketObjectsInvoker
- type ShowBucketRegionInvoker
- type ShowCdnInfoInvoker
- type ShowCloudTypeInvoker
- type ShowRegionInfoInvoker
- type ShowSyncTaskInvoker
- type ShowTaskGroupInvoker
- type ShowTaskInvoker
- type StartSyncTaskInvoker
- type StartTaskGroupInvoker
- type StartTaskInvoker
- type StopSyncTaskInvoker
- type StopTaskGroupInvoker
- type StopTaskInvoker
- type UpdateBandwidthPolicyInvoker
- type UpdateTaskGroupInvoker
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() *http_client.HcHttpClientBuilder
Types ¶
type BatchUpdateTasksInvoker ¶ added in v0.1.71
type BatchUpdateTasksInvoker struct {
*invoker.BaseInvoker
}
func (*BatchUpdateTasksInvoker) Invoke ¶ added in v0.1.71
func (i *BatchUpdateTasksInvoker) Invoke() (*model.BatchUpdateTasksResponse, error)
type CheckPrefixInvoker ¶ added in v0.1.68
type CheckPrefixInvoker struct {
*invoker.BaseInvoker
}
func (*CheckPrefixInvoker) Invoke ¶ added in v0.1.68
func (i *CheckPrefixInvoker) Invoke() (*model.CheckPrefixResponse, error)
type CreateSyncEventsInvoker ¶ added in v0.0.90
type CreateSyncEventsInvoker struct {
*invoker.BaseInvoker
}
func (*CreateSyncEventsInvoker) Invoke ¶ added in v0.0.90
func (i *CreateSyncEventsInvoker) Invoke() (*model.CreateSyncEventsResponse, error)
type CreateSyncTaskInvoker ¶ added in v0.1.68
type CreateSyncTaskInvoker struct {
*invoker.BaseInvoker
}
func (*CreateSyncTaskInvoker) Invoke ¶ added in v0.1.68
func (i *CreateSyncTaskInvoker) Invoke() (*model.CreateSyncTaskResponse, error)
type CreateTaskGroupInvoker ¶ added in v0.1.3
type CreateTaskGroupInvoker struct {
*invoker.BaseInvoker
}
func (*CreateTaskGroupInvoker) Invoke ¶ added in v0.1.3
func (i *CreateTaskGroupInvoker) Invoke() (*model.CreateTaskGroupResponse, error)
type CreateTaskInvoker ¶ added in v0.0.90
type CreateTaskInvoker struct {
*invoker.BaseInvoker
}
func (*CreateTaskInvoker) Invoke ¶ added in v0.0.90
func (i *CreateTaskInvoker) Invoke() (*model.CreateTaskResponse, error)
type DeleteSyncTaskInvoker ¶ added in v0.1.68
type DeleteSyncTaskInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteSyncTaskInvoker) Invoke ¶ added in v0.1.68
func (i *DeleteSyncTaskInvoker) Invoke() (*model.DeleteSyncTaskResponse, error)
type DeleteTaskGroupInvoker ¶ added in v0.1.3
type DeleteTaskGroupInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteTaskGroupInvoker) Invoke ¶ added in v0.1.3
func (i *DeleteTaskGroupInvoker) Invoke() (*model.DeleteTaskGroupResponse, error)
type DeleteTaskInvoker ¶ added in v0.0.90
type DeleteTaskInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteTaskInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteTaskInvoker) Invoke() (*model.DeleteTaskResponse, error)
type ListApiVersionsInvoker ¶ added in v0.0.90
type ListApiVersionsInvoker struct {
*invoker.BaseInvoker
}
func (*ListApiVersionsInvoker) Invoke ¶ added in v0.0.90
func (i *ListApiVersionsInvoker) Invoke() (*model.ListApiVersionsResponse, error)
type ListSyncTaskStatisticInvoker ¶ added in v0.1.68
type ListSyncTaskStatisticInvoker struct {
*invoker.BaseInvoker
}
func (*ListSyncTaskStatisticInvoker) Invoke ¶ added in v0.1.68
func (i *ListSyncTaskStatisticInvoker) Invoke() (*model.ListSyncTaskStatisticResponse, error)
type ListSyncTasksInvoker ¶ added in v0.1.68
type ListSyncTasksInvoker struct {
*invoker.BaseInvoker
}
func (*ListSyncTasksInvoker) Invoke ¶ added in v0.1.68
func (i *ListSyncTasksInvoker) Invoke() (*model.ListSyncTasksResponse, error)
type ListTaskGroupInvoker ¶ added in v0.1.3
type ListTaskGroupInvoker struct {
*invoker.BaseInvoker
}
func (*ListTaskGroupInvoker) Invoke ¶ added in v0.1.3
func (i *ListTaskGroupInvoker) Invoke() (*model.ListTaskGroupResponse, error)
type ListTasksInvoker ¶ added in v0.0.90
type ListTasksInvoker struct {
*invoker.BaseInvoker
}
func (*ListTasksInvoker) Invoke ¶ added in v0.0.90
func (i *ListTasksInvoker) Invoke() (*model.ListTasksResponse, error)
type OmsClient ¶
type OmsClient struct {
HcClient *http_client.HcHttpClient
}
func NewOmsClient ¶
func NewOmsClient(hcClient *http_client.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
func (c *OmsClient) ListSyncTaskStatistic(request *model.ListSyncTaskStatisticRequest) (*model.ListSyncTaskStatisticResponse, error)
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 ¶
func (c *OmsClient) UpdateBandwidthPolicy(request *model.UpdateBandwidthPolicyRequest) (*model.UpdateBandwidthPolicyResponse, error)
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
func (i *RetryTaskGroupInvoker) Invoke() (*model.RetryTaskGroupResponse, error)
type ShowApiInfoInvoker ¶ added in v0.0.90
type ShowApiInfoInvoker struct {
*invoker.BaseInvoker
}
func (*ShowApiInfoInvoker) Invoke ¶ added in v0.0.90
func (i *ShowApiInfoInvoker) Invoke() (*model.ShowApiInfoResponse, error)
type ShowBucketListInvoker ¶ added in v0.1.68
type ShowBucketListInvoker struct {
*invoker.BaseInvoker
}
func (*ShowBucketListInvoker) Invoke ¶ added in v0.1.68
func (i *ShowBucketListInvoker) Invoke() (*model.ShowBucketListResponse, error)
type ShowBucketObjectsInvoker ¶ added in v0.1.68
type ShowBucketObjectsInvoker struct {
*invoker.BaseInvoker
}
func (*ShowBucketObjectsInvoker) Invoke ¶ added in v0.1.68
func (i *ShowBucketObjectsInvoker) Invoke() (*model.ShowBucketObjectsResponse, error)
type ShowBucketRegionInvoker ¶ added in v0.1.68
type ShowBucketRegionInvoker struct {
*invoker.BaseInvoker
}
func (*ShowBucketRegionInvoker) Invoke ¶ added in v0.1.68
func (i *ShowBucketRegionInvoker) Invoke() (*model.ShowBucketRegionResponse, error)
type ShowCdnInfoInvoker ¶ added in v0.1.68
type ShowCdnInfoInvoker struct {
*invoker.BaseInvoker
}
func (*ShowCdnInfoInvoker) Invoke ¶ added in v0.1.68
func (i *ShowCdnInfoInvoker) Invoke() (*model.ShowCdnInfoResponse, error)
type ShowCloudTypeInvoker ¶ added in v0.1.68
type ShowCloudTypeInvoker struct {
*invoker.BaseInvoker
}
func (*ShowCloudTypeInvoker) Invoke ¶ added in v0.1.68
func (i *ShowCloudTypeInvoker) Invoke() (*model.ShowCloudTypeResponse, error)
type ShowRegionInfoInvoker ¶ added in v0.1.68
type ShowRegionInfoInvoker struct {
*invoker.BaseInvoker
}
func (*ShowRegionInfoInvoker) Invoke ¶ added in v0.1.68
func (i *ShowRegionInfoInvoker) Invoke() (*model.ShowRegionInfoResponse, error)
type ShowSyncTaskInvoker ¶ added in v0.1.68
type ShowSyncTaskInvoker struct {
*invoker.BaseInvoker
}
func (*ShowSyncTaskInvoker) Invoke ¶ added in v0.1.68
func (i *ShowSyncTaskInvoker) Invoke() (*model.ShowSyncTaskResponse, error)
type ShowTaskGroupInvoker ¶ added in v0.1.3
type ShowTaskGroupInvoker struct {
*invoker.BaseInvoker
}
func (*ShowTaskGroupInvoker) Invoke ¶ added in v0.1.3
func (i *ShowTaskGroupInvoker) Invoke() (*model.ShowTaskGroupResponse, error)
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
func (i *StartSyncTaskInvoker) Invoke() (*model.StartSyncTaskResponse, error)
type StartTaskGroupInvoker ¶ added in v0.1.3
type StartTaskGroupInvoker struct {
*invoker.BaseInvoker
}
func (*StartTaskGroupInvoker) Invoke ¶ added in v0.1.3
func (i *StartTaskGroupInvoker) Invoke() (*model.StartTaskGroupResponse, error)
type StartTaskInvoker ¶ added in v0.0.90
type StartTaskInvoker struct {
*invoker.BaseInvoker
}
func (*StartTaskInvoker) Invoke ¶ added in v0.0.90
func (i *StartTaskInvoker) Invoke() (*model.StartTaskResponse, error)
type StopSyncTaskInvoker ¶ added in v0.1.68
type StopSyncTaskInvoker struct {
*invoker.BaseInvoker
}
func (*StopSyncTaskInvoker) Invoke ¶ added in v0.1.68
func (i *StopSyncTaskInvoker) Invoke() (*model.StopSyncTaskResponse, error)
type StopTaskGroupInvoker ¶ added in v0.1.3
type StopTaskGroupInvoker struct {
*invoker.BaseInvoker
}
func (*StopTaskGroupInvoker) Invoke ¶ added in v0.1.3
func (i *StopTaskGroupInvoker) Invoke() (*model.StopTaskGroupResponse, error)
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
func (i *UpdateBandwidthPolicyInvoker) Invoke() (*model.UpdateBandwidthPolicyResponse, error)
type UpdateTaskGroupInvoker ¶ added in v0.1.3
type UpdateTaskGroupInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateTaskGroupInvoker) Invoke ¶ added in v0.1.3
func (i *UpdateTaskGroupInvoker) Invoke() (*model.UpdateTaskGroupResponse, error)