Documentation ¶
Index ¶
- func GenReqDefForCreateTask() *def.HttpRequestDef
- func GenReqDefForDeleteTask() *def.HttpRequestDef
- func GenReqDefForListTask() *def.HttpRequestDef
- func GenReqDefForShowTask() *def.HttpRequestDef
- func OroasClientBuilder() *httpclient.HcHttpClientBuilder
- type CreateTaskInvoker
- type DeleteTaskInvoker
- type ListTaskInvoker
- type OroasClient
- func (c *OroasClient) CreateTask(request *model.CreateTaskRequest) (*model.CreateTaskResponse, error)
- func (c *OroasClient) CreateTaskInvoker(request *model.CreateTaskRequest) *CreateTaskInvoker
- func (c *OroasClient) DeleteTask(request *model.DeleteTaskRequest) (*model.DeleteTaskResponse, error)
- func (c *OroasClient) DeleteTaskInvoker(request *model.DeleteTaskRequest) *DeleteTaskInvoker
- func (c *OroasClient) ListTask(request *model.ListTaskRequest) (*model.ListTaskResponse, error)
- func (c *OroasClient) ListTaskInvoker(request *model.ListTaskRequest) *ListTaskInvoker
- func (c *OroasClient) ShowTask(request *model.ShowTaskRequest) (*model.ShowTaskResponse, error)
- func (c *OroasClient) ShowTaskInvoker(request *model.ShowTaskRequest) *ShowTaskInvoker
- type ShowTaskInvoker
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() *httpclient.HcHttpClientBuilder
Types ¶
type CreateTaskInvoker ¶
type CreateTaskInvoker struct {
*invoker.BaseInvoker
}
func (*CreateTaskInvoker) Invoke ¶
func (i *CreateTaskInvoker) Invoke() (*model.CreateTaskResponse, error)
type DeleteTaskInvoker ¶
type DeleteTaskInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteTaskInvoker) Invoke ¶
func (i *DeleteTaskInvoker) Invoke() (*model.DeleteTaskResponse, error)
type ListTaskInvoker ¶
type ListTaskInvoker struct {
*invoker.BaseInvoker
}
func (*ListTaskInvoker) Invoke ¶
func (i *ListTaskInvoker) Invoke() (*model.ListTaskResponse, error)
type OroasClient ¶
type OroasClient struct {
HcClient *httpclient.HcHttpClient
}
func NewOroasClient ¶
func NewOroasClient(hcClient *httpclient.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)
Click to show internal directories.
Click to hide internal directories.