Documentation ¶
Index ¶
- func GenReqDefForCreateTasks() *def.HttpRequestDef
- func GenReqDefForDeleteTask() *def.HttpRequestDef
- func GenReqDefForListTasksDetails() *def.HttpRequestDef
- func GenReqDefForShowTask() *def.HttpRequestDef
- func GenReqDefForStartTask() *def.HttpRequestDef
- func GenReqDefForStopTask() *def.HttpRequestDef
- func GenReqDefForUpdateTask() *def.HttpRequestDef
- func VasClientBuilder() *http_client.HcHttpClientBuilder
- type CreateTasksInvoker
- type DeleteTaskInvoker
- type ListTasksDetailsInvoker
- type ShowTaskInvoker
- type StartTaskInvoker
- type StopTaskInvoker
- type UpdateTaskInvoker
- type VasClient
- func (c *VasClient) CreateTasks(request *model.CreateTasksRequest) (*model.CreateTasksResponse, error)
- func (c *VasClient) CreateTasksInvoker(request *model.CreateTasksRequest) *CreateTasksInvoker
- func (c *VasClient) DeleteTask(request *model.DeleteTaskRequest) (*model.DeleteTaskResponse, error)
- func (c *VasClient) DeleteTaskInvoker(request *model.DeleteTaskRequest) *DeleteTaskInvoker
- func (c *VasClient) ListTasksDetails(request *model.ListTasksDetailsRequest) (*model.ListTasksDetailsResponse, error)
- func (c *VasClient) ListTasksDetailsInvoker(request *model.ListTasksDetailsRequest) *ListTasksDetailsInvoker
- func (c *VasClient) ShowTask(request *model.ShowTaskRequest) (*model.ShowTaskResponse, error)
- func (c *VasClient) ShowTaskInvoker(request *model.ShowTaskRequest) *ShowTaskInvoker
- func (c *VasClient) StartTask(request *model.StartTaskRequest) (*model.StartTaskResponse, error)
- func (c *VasClient) StartTaskInvoker(request *model.StartTaskRequest) *StartTaskInvoker
- func (c *VasClient) StopTask(request *model.StopTaskRequest) (*model.StopTaskResponse, error)
- func (c *VasClient) StopTaskInvoker(request *model.StopTaskRequest) *StopTaskInvoker
- func (c *VasClient) UpdateTask(request *model.UpdateTaskRequest) (*model.UpdateTaskResponse, error)
- func (c *VasClient) UpdateTaskInvoker(request *model.UpdateTaskRequest) *UpdateTaskInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForCreateTasks ¶
func GenReqDefForCreateTasks() *def.HttpRequestDef
func GenReqDefForDeleteTask ¶
func GenReqDefForDeleteTask() *def.HttpRequestDef
func GenReqDefForListTasksDetails ¶
func GenReqDefForListTasksDetails() *def.HttpRequestDef
func GenReqDefForShowTask ¶
func GenReqDefForShowTask() *def.HttpRequestDef
func GenReqDefForStartTask ¶
func GenReqDefForStartTask() *def.HttpRequestDef
func GenReqDefForStopTask ¶
func GenReqDefForStopTask() *def.HttpRequestDef
func GenReqDefForUpdateTask ¶
func GenReqDefForUpdateTask() *def.HttpRequestDef
func VasClientBuilder ¶
func VasClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type CreateTasksInvoker ¶ added in v0.0.90
type CreateTasksInvoker struct {
*invoker.BaseInvoker
}
func (*CreateTasksInvoker) Invoke ¶ added in v0.0.90
func (i *CreateTasksInvoker) Invoke() (*model.CreateTasksResponse, 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 ListTasksDetailsInvoker ¶ added in v0.0.90
type ListTasksDetailsInvoker struct {
*invoker.BaseInvoker
}
func (*ListTasksDetailsInvoker) Invoke ¶ added in v0.0.90
func (i *ListTasksDetailsInvoker) Invoke() (*model.ListTasksDetailsResponse, 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 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 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 UpdateTaskInvoker ¶ added in v0.0.90
type UpdateTaskInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateTaskInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateTaskInvoker) Invoke() (*model.UpdateTaskResponse, error)
type VasClient ¶
type VasClient struct {
HcClient *http_client.HcHttpClient
}
func NewVasClient ¶
func NewVasClient(hcClient *http_client.HcHttpClient) *VasClient
func (*VasClient) CreateTasks ¶
func (c *VasClient) CreateTasks(request *model.CreateTasksRequest) (*model.CreateTasksResponse, error)
CreateTasks 创建服务作业
该接口用于创建服务作业
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VasClient) CreateTasksInvoker ¶ added in v0.0.90
func (c *VasClient) CreateTasksInvoker(request *model.CreateTasksRequest) *CreateTasksInvoker
CreateTasksInvoker 创建服务作业
func (*VasClient) DeleteTask ¶
func (c *VasClient) DeleteTask(request *model.DeleteTaskRequest) (*model.DeleteTaskResponse, error)
DeleteTask 删除服务作业
该接口用于删除服务作业
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VasClient) DeleteTaskInvoker ¶ added in v0.0.90
func (c *VasClient) DeleteTaskInvoker(request *model.DeleteTaskRequest) *DeleteTaskInvoker
DeleteTaskInvoker 删除服务作业
func (*VasClient) ListTasksDetails ¶
func (c *VasClient) ListTasksDetails(request *model.ListTasksDetailsRequest) (*model.ListTasksDetailsResponse, error)
ListTasksDetails 获取服务作业列表
该接口用于获取服务作业列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VasClient) ListTasksDetailsInvoker ¶ added in v0.0.90
func (c *VasClient) ListTasksDetailsInvoker(request *model.ListTasksDetailsRequest) *ListTasksDetailsInvoker
ListTasksDetailsInvoker 获取服务作业列表
func (*VasClient) ShowTask ¶
func (c *VasClient) ShowTask(request *model.ShowTaskRequest) (*model.ShowTaskResponse, error)
ShowTask 查询服务作业
该接口用于查询服务作业
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VasClient) ShowTaskInvoker ¶ added in v0.0.90
func (c *VasClient) ShowTaskInvoker(request *model.ShowTaskRequest) *ShowTaskInvoker
ShowTaskInvoker 查询服务作业
func (*VasClient) StartTask ¶
func (c *VasClient) StartTask(request *model.StartTaskRequest) (*model.StartTaskResponse, error)
StartTask 启动服务作业
该接口用于启动服务作业
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VasClient) StartTaskInvoker ¶ added in v0.0.90
func (c *VasClient) StartTaskInvoker(request *model.StartTaskRequest) *StartTaskInvoker
StartTaskInvoker 启动服务作业
func (*VasClient) StopTask ¶
func (c *VasClient) StopTask(request *model.StopTaskRequest) (*model.StopTaskResponse, error)
StopTask 停止服务作业
该接口用于停止服务作业
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VasClient) StopTaskInvoker ¶ added in v0.0.90
func (c *VasClient) StopTaskInvoker(request *model.StopTaskRequest) *StopTaskInvoker
StopTaskInvoker 停止服务作业
func (*VasClient) UpdateTask ¶
func (c *VasClient) UpdateTask(request *model.UpdateTaskRequest) (*model.UpdateTaskResponse, error)
UpdateTask 更新服务作业
该接口用于更新服务作业
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VasClient) UpdateTaskInvoker ¶ added in v0.0.90
func (c *VasClient) UpdateTaskInvoker(request *model.UpdateTaskRequest) *UpdateTaskInvoker
UpdateTaskInvoker 更新服务作业