v2

package
v0.0.81 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

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)

该接口用于更新服务作业

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL