Documentation ¶
Index ¶
- func GenReqDefForCreateTask() *def.HttpRequestDef
- func GenReqDefForDeleteTask() *def.HttpRequestDef
- func GenReqDefForListTask() *def.HttpRequestDef
- func GenReqDefForShowTask() *def.HttpRequestDef
- func OptVerseClientBuilder() *httpclient.HcHttpClientBuilder
- type CreateTaskInvoker
- type DeleteTaskInvoker
- type ListTaskInvoker
- type OptVerseClient
- func (c *OptVerseClient) CreateTask(request *model.CreateTaskRequest) (*model.CreateTaskResponse, error)
- func (c *OptVerseClient) CreateTaskInvoker(request *model.CreateTaskRequest) *CreateTaskInvoker
- func (c *OptVerseClient) DeleteTask(request *model.DeleteTaskRequest) (*model.DeleteTaskResponse, error)
- func (c *OptVerseClient) DeleteTaskInvoker(request *model.DeleteTaskRequest) *DeleteTaskInvoker
- func (c *OptVerseClient) ListTask(request *model.ListTaskRequest) (*model.ListTaskResponse, error)
- func (c *OptVerseClient) ListTaskInvoker(request *model.ListTaskRequest) *ListTaskInvoker
- func (c *OptVerseClient) ShowTask(request *model.ShowTaskRequest) (*model.ShowTaskResponse, error)
- func (c *OptVerseClient) 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 OptVerseClientBuilder ¶
func OptVerseClientBuilder() *httpclient.HcHttpClientBuilder
Types ¶
type CreateTaskInvoker ¶
type CreateTaskInvoker struct {
*invoker.BaseInvoker
}
func (*CreateTaskInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *CreateTaskInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*CreateTaskInvoker) Invoke ¶
func (i *CreateTaskInvoker) Invoke() (*model.CreateTaskResponse, error)
type DeleteTaskInvoker ¶
type DeleteTaskInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteTaskInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DeleteTaskInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DeleteTaskInvoker) Invoke ¶
func (i *DeleteTaskInvoker) Invoke() (*model.DeleteTaskResponse, error)
type ListTaskInvoker ¶
type ListTaskInvoker struct {
*invoker.BaseInvoker
}
func (*ListTaskInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ListTaskInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ListTaskInvoker) Invoke ¶
func (i *ListTaskInvoker) Invoke() (*model.ListTaskResponse, error)
type OptVerseClient ¶
type OptVerseClient struct {
HcClient *httpclient.HcHttpClient
}
func NewOptVerseClient ¶
func NewOptVerseClient(hcClient *httpclient.HcHttpClient) *OptVerseClient
func (*OptVerseClient) CreateTask ¶
func (c *OptVerseClient) CreateTask(request *model.CreateTaskRequest) (*model.CreateTaskResponse, error)
CreateTask 创建任务
创建任务
Please refer to HUAWEI cloud API Explorer for details.
func (*OptVerseClient) CreateTaskInvoker ¶
func (c *OptVerseClient) CreateTaskInvoker(request *model.CreateTaskRequest) *CreateTaskInvoker
CreateTaskInvoker 创建任务
func (*OptVerseClient) DeleteTask ¶
func (c *OptVerseClient) DeleteTask(request *model.DeleteTaskRequest) (*model.DeleteTaskResponse, error)
DeleteTask 删除任务
删除任务
Please refer to HUAWEI cloud API Explorer for details.
func (*OptVerseClient) DeleteTaskInvoker ¶
func (c *OptVerseClient) DeleteTaskInvoker(request *model.DeleteTaskRequest) *DeleteTaskInvoker
DeleteTaskInvoker 删除任务
func (*OptVerseClient) ListTask ¶
func (c *OptVerseClient) ListTask(request *model.ListTaskRequest) (*model.ListTaskResponse, error)
ListTask 查询任务列表
查询任务列表
Please refer to HUAWEI cloud API Explorer for details.
func (*OptVerseClient) ListTaskInvoker ¶
func (c *OptVerseClient) ListTaskInvoker(request *model.ListTaskRequest) *ListTaskInvoker
ListTaskInvoker 查询任务列表
func (*OptVerseClient) ShowTask ¶
func (c *OptVerseClient) ShowTask(request *model.ShowTaskRequest) (*model.ShowTaskResponse, error)
ShowTask 获取任务详情
获取任务详情
Please refer to HUAWEI cloud API Explorer for details.
func (*OptVerseClient) ShowTaskInvoker ¶
func (c *OptVerseClient) ShowTaskInvoker(request *model.ShowTaskRequest) *ShowTaskInvoker
ShowTaskInvoker 获取任务详情
type ShowTaskInvoker ¶
type ShowTaskInvoker struct {
*invoker.BaseInvoker
}
func (*ShowTaskInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ShowTaskInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ShowTaskInvoker) Invoke ¶
func (i *ShowTaskInvoker) Invoke() (*model.ShowTaskResponse, error)
Click to show internal directories.
Click to hide internal directories.