v1

package
v0.0.80 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CptsClientBuilder

func CptsClientBuilder() *http_client.HcHttpClientBuilder

func GenReqDefForCreateCase

func GenReqDefForCreateCase() *def.HttpRequestDef

func GenReqDefForCreateProject

func GenReqDefForCreateProject() *def.HttpRequestDef

func GenReqDefForCreateTask

func GenReqDefForCreateTask() *def.HttpRequestDef

func GenReqDefForCreateTemp

func GenReqDefForCreateTemp() *def.HttpRequestDef

func GenReqDefForCreateVariable

func GenReqDefForCreateVariable() *def.HttpRequestDef

func GenReqDefForDebugCase

func GenReqDefForDebugCase() *def.HttpRequestDef

func GenReqDefForDeleteCase

func GenReqDefForDeleteCase() *def.HttpRequestDef

func GenReqDefForDeleteProject

func GenReqDefForDeleteProject() *def.HttpRequestDef

func GenReqDefForDeleteTask

func GenReqDefForDeleteTask() *def.HttpRequestDef

func GenReqDefForDeleteTemp

func GenReqDefForDeleteTemp() *def.HttpRequestDef

func GenReqDefForListProjectSets

func GenReqDefForListProjectSets() *def.HttpRequestDef

func GenReqDefForListVariables

func GenReqDefForListVariables() *def.HttpRequestDef

func GenReqDefForShowHistoryRunInfo

func GenReqDefForShowHistoryRunInfo() *def.HttpRequestDef

func GenReqDefForShowProcess

func GenReqDefForShowProcess() *def.HttpRequestDef

func GenReqDefForShowProject

func GenReqDefForShowProject() *def.HttpRequestDef

func GenReqDefForShowReport

func GenReqDefForShowReport() *def.HttpRequestDef

func GenReqDefForShowTask

func GenReqDefForShowTask() *def.HttpRequestDef

func GenReqDefForShowTaskSet

func GenReqDefForShowTaskSet() *def.HttpRequestDef

func GenReqDefForShowTemp

func GenReqDefForShowTemp() *def.HttpRequestDef

func GenReqDefForShowTempSet

func GenReqDefForShowTempSet() *def.HttpRequestDef

func GenReqDefForUpdateCase

func GenReqDefForUpdateCase() *def.HttpRequestDef

func GenReqDefForUpdateProject

func GenReqDefForUpdateProject() *def.HttpRequestDef

func GenReqDefForUpdateTask

func GenReqDefForUpdateTask() *def.HttpRequestDef

func GenReqDefForUpdateTaskStatus

func GenReqDefForUpdateTaskStatus() *def.HttpRequestDef

func GenReqDefForUpdateTemp

func GenReqDefForUpdateTemp() *def.HttpRequestDef

func GenReqDefForUpdateVariable

func GenReqDefForUpdateVariable() *def.HttpRequestDef

Types

type CptsClient

type CptsClient struct {
	HcClient *http_client.HcHttpClient
}

func NewCptsClient

func NewCptsClient(hcClient *http_client.HcHttpClient) *CptsClient

func (*CptsClient) CreateCase

func (c *CptsClient) CreateCase(request *model.CreateCaseRequest) (*model.CreateCaseResponse, error)

创建用例

func (*CptsClient) CreateProject

func (c *CptsClient) CreateProject(request *model.CreateProjectRequest) (*model.CreateProjectResponse, error)

创建工程

func (*CptsClient) CreateTask

func (c *CptsClient) CreateTask(request *model.CreateTaskRequest) (*model.CreateTaskResponse, error)

创建任务

func (*CptsClient) CreateTemp

func (c *CptsClient) CreateTemp(request *model.CreateTempRequest) (*model.CreateTempResponse, error)

创建事务

func (*CptsClient) CreateVariable

func (c *CptsClient) CreateVariable(request *model.CreateVariableRequest) (*model.CreateVariableResponse, error)

创建变量

func (*CptsClient) DebugCase

func (c *CptsClient) DebugCase(request *model.DebugCaseRequest) (*model.DebugCaseResponse, error)

调试用例

func (*CptsClient) DeleteCase

func (c *CptsClient) DeleteCase(request *model.DeleteCaseRequest) (*model.DeleteCaseResponse, error)

删除用例

func (*CptsClient) DeleteProject

func (c *CptsClient) DeleteProject(request *model.DeleteProjectRequest) (*model.DeleteProjectResponse, error)

删除工程

func (*CptsClient) DeleteTask

func (c *CptsClient) DeleteTask(request *model.DeleteTaskRequest) (*model.DeleteTaskResponse, error)

删除任务

func (*CptsClient) DeleteTemp

func (c *CptsClient) DeleteTemp(request *model.DeleteTempRequest) (*model.DeleteTempResponse, error)

删除事务

func (*CptsClient) ListProjectSets

func (c *CptsClient) ListProjectSets(request *model.ListProjectSetsRequest) (*model.ListProjectSetsResponse, error)

查询工程集

func (*CptsClient) ListVariables

func (c *CptsClient) ListVariables(request *model.ListVariablesRequest) (*model.ListVariablesResponse, error)

查询全局变量

func (*CptsClient) ShowHistoryRunInfo

查询CPTS任务离线报告列表

func (*CptsClient) ShowProcess

func (c *CptsClient) ShowProcess(request *model.ShowProcessRequest) (*model.ShowProcessResponse, error)

查询导入进度

func (*CptsClient) ShowProject

func (c *CptsClient) ShowProject(request *model.ShowProjectRequest) (*model.ShowProjectResponse, error)

查询工程

func (*CptsClient) ShowReport

func (c *CptsClient) ShowReport(request *model.ShowReportRequest) (*model.ShowReportResponse, error)

查询报告

func (*CptsClient) ShowTask

func (c *CptsClient) ShowTask(request *model.ShowTaskRequest) (*model.ShowTaskResponse, error)

查询任务

func (*CptsClient) ShowTaskSet

func (c *CptsClient) ShowTaskSet(request *model.ShowTaskSetRequest) (*model.ShowTaskSetResponse, error)

查询任务集

func (*CptsClient) ShowTemp

func (c *CptsClient) ShowTemp(request *model.ShowTempRequest) (*model.ShowTempResponse, error)

查询事务

func (*CptsClient) ShowTempSet

func (c *CptsClient) ShowTempSet(request *model.ShowTempSetRequest) (*model.ShowTempSetResponse, error)

查询事务集

func (*CptsClient) UpdateCase

func (c *CptsClient) UpdateCase(request *model.UpdateCaseRequest) (*model.UpdateCaseResponse, error)

修改用例

func (*CptsClient) UpdateProject

func (c *CptsClient) UpdateProject(request *model.UpdateProjectRequest) (*model.UpdateProjectResponse, error)

修改工程

func (*CptsClient) UpdateTask

func (c *CptsClient) UpdateTask(request *model.UpdateTaskRequest) (*model.UpdateTaskResponse, error)

修改任务

func (*CptsClient) UpdateTaskStatus

func (c *CptsClient) UpdateTaskStatus(request *model.UpdateTaskStatusRequest) (*model.UpdateTaskStatusResponse, error)

更新任务状态

func (*CptsClient) UpdateTemp

func (c *CptsClient) UpdateTemp(request *model.UpdateTempRequest) (*model.UpdateTempResponse, error)

修改事务

func (*CptsClient) UpdateVariable

func (c *CptsClient) UpdateVariable(request *model.UpdateVariableRequest) (*model.UpdateVariableResponse, error)

修改变量

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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