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)
该接口用于创建服务作业
func (*VasClient) DeleteTask ¶
func (c *VasClient) DeleteTask(request *model.DeleteTaskRequest) (*model.DeleteTaskResponse, error)
该接口用于删除服务作业
func (*VasClient) ListTasksDetails ¶
func (c *VasClient) ListTasksDetails(request *model.ListTasksDetailsRequest) (*model.ListTasksDetailsResponse, error)
该接口用于获取服务作业列表
func (*VasClient) ShowTask ¶
func (c *VasClient) ShowTask(request *model.ShowTaskRequest) (*model.ShowTaskResponse, error)
该接口用于查询服务作业
func (*VasClient) StartTask ¶
func (c *VasClient) StartTask(request *model.StartTaskRequest) (*model.StartTaskResponse, error)
该接口用于启动服务作业
func (*VasClient) StopTask ¶
func (c *VasClient) StopTask(request *model.StopTaskRequest) (*model.StopTaskResponse, error)
该接口用于停止服务作业
func (*VasClient) UpdateTask ¶
func (c *VasClient) UpdateTask(request *model.UpdateTaskRequest) (*model.UpdateTaskResponse, error)
该接口用于更新服务作业
Click to show internal directories.
Click to hide internal directories.