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 VasClient
- func (c *VasClient) CreateTasks(request *model.CreateTasksRequest) (*model.CreateTasksResponse, error)
- func (c *VasClient) DeleteTask(request *model.DeleteTaskRequest) (*model.DeleteTaskResponse, error)
- func (c *VasClient) ListTasksDetails(request *model.ListTasksDetailsRequest) (*model.ListTasksDetailsResponse, error)
- func (c *VasClient) ShowTask(request *model.ShowTaskRequest) (*model.ShowTaskResponse, error)
- func (c *VasClient) StartTask(request *model.StartTaskRequest) (*model.StartTaskResponse, error)
- func (c *VasClient) StopTask(request *model.StopTaskRequest) (*model.StopTaskResponse, error)
- func (c *VasClient) UpdateTask(request *model.UpdateTaskRequest) (*model.UpdateTaskResponse, error)
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 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)
创建服务作业
该接口用于创建服务作业
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VasClient) DeleteTask ¶
func (c *VasClient) DeleteTask(request *model.DeleteTaskRequest) (*model.DeleteTaskResponse, error)
删除服务作业
该接口用于删除服务作业
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VasClient) ListTasksDetails ¶
func (c *VasClient) ListTasksDetails(request *model.ListTasksDetailsRequest) (*model.ListTasksDetailsResponse, error)
获取服务作业列表
该接口用于获取服务作业列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VasClient) ShowTask ¶
func (c *VasClient) ShowTask(request *model.ShowTaskRequest) (*model.ShowTaskResponse, error)
查询服务作业
该接口用于查询服务作业
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VasClient) StartTask ¶
func (c *VasClient) StartTask(request *model.StartTaskRequest) (*model.StartTaskResponse, error)
启动服务作业
该接口用于启动服务作业
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VasClient) StopTask ¶
func (c *VasClient) StopTask(request *model.StopTaskRequest) (*model.StopTaskResponse, error)
停止服务作业
该接口用于停止服务作业
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VasClient) UpdateTask ¶
func (c *VasClient) UpdateTask(request *model.UpdateTaskRequest) (*model.UpdateTaskResponse, error)
更新服务作业
该接口用于更新服务作业
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.