v1

package
v0.1.60 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 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 GenReqDefForCreateTask

func GenReqDefForCreateTask() *def.HttpRequestDef

func GenReqDefForDeleteTask

func GenReqDefForDeleteTask() *def.HttpRequestDef

func GenReqDefForListTask

func GenReqDefForListTask() *def.HttpRequestDef

func GenReqDefForShowTask

func GenReqDefForShowTask() *def.HttpRequestDef

func OroasClientBuilder

func OroasClientBuilder() *http_client.HcHttpClientBuilder

Types

type CreateTaskInvoker

type CreateTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateTaskInvoker) Invoke

type DeleteTaskInvoker

type DeleteTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteTaskInvoker) Invoke

type ListTaskInvoker

type ListTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTaskInvoker) Invoke

func (i *ListTaskInvoker) Invoke() (*model.ListTaskResponse, error)

type OroasClient

type OroasClient struct {
	HcClient *http_client.HcHttpClient
}

func NewOroasClient

func NewOroasClient(hcClient *http_client.HcHttpClient) *OroasClient

func (*OroasClient) CreateTask

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

CreateTask 创建任务

创建任务

Please refer to HUAWEI cloud API Explorer for details.

func (*OroasClient) CreateTaskInvoker

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

CreateTaskInvoker 创建任务

func (*OroasClient) DeleteTask

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

DeleteTask 删除任务

删除任务

Please refer to HUAWEI cloud API Explorer for details.

func (*OroasClient) DeleteTaskInvoker

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

DeleteTaskInvoker 删除任务

func (*OroasClient) ListTask

func (c *OroasClient) ListTask(request *model.ListTaskRequest) (*model.ListTaskResponse, error)

ListTask 查询任务列表

查询任务列表

Please refer to HUAWEI cloud API Explorer for details.

func (*OroasClient) ListTaskInvoker

func (c *OroasClient) ListTaskInvoker(request *model.ListTaskRequest) *ListTaskInvoker

ListTaskInvoker 查询任务列表

func (*OroasClient) ShowTask

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

ShowTask 获取任务详情

获取任务详情

Please refer to HUAWEI cloud API Explorer for details.

func (*OroasClient) ShowTaskInvoker

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

ShowTaskInvoker 获取任务详情

type ShowTaskInvoker

type ShowTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowTaskInvoker) Invoke

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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