Documentation ¶
Index ¶
- func CptsClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForCreateCase() *def.HttpRequestDef
- func GenReqDefForCreateProject() *def.HttpRequestDef
- func GenReqDefForCreateTask() *def.HttpRequestDef
- func GenReqDefForCreateTemp() *def.HttpRequestDef
- func GenReqDefForCreateVariable() *def.HttpRequestDef
- func GenReqDefForDebugCase() *def.HttpRequestDef
- func GenReqDefForDeleteCase() *def.HttpRequestDef
- func GenReqDefForDeleteProject() *def.HttpRequestDef
- func GenReqDefForDeleteTask() *def.HttpRequestDef
- func GenReqDefForDeleteTemp() *def.HttpRequestDef
- func GenReqDefForListProjectSets() *def.HttpRequestDef
- func GenReqDefForListVariables() *def.HttpRequestDef
- func GenReqDefForShowHistoryRunInfo() *def.HttpRequestDef
- func GenReqDefForShowProcess() *def.HttpRequestDef
- func GenReqDefForShowProject() *def.HttpRequestDef
- func GenReqDefForShowReport() *def.HttpRequestDef
- func GenReqDefForShowTask() *def.HttpRequestDef
- func GenReqDefForShowTaskSet() *def.HttpRequestDef
- func GenReqDefForShowTemp() *def.HttpRequestDef
- func GenReqDefForShowTempSet() *def.HttpRequestDef
- func GenReqDefForUpdateCase() *def.HttpRequestDef
- func GenReqDefForUpdateProject() *def.HttpRequestDef
- func GenReqDefForUpdateTask() *def.HttpRequestDef
- func GenReqDefForUpdateTaskStatus() *def.HttpRequestDef
- func GenReqDefForUpdateTemp() *def.HttpRequestDef
- func GenReqDefForUpdateVariable() *def.HttpRequestDef
- type CptsClient
- func (c *CptsClient) CreateCase(request *model.CreateCaseRequest) (*model.CreateCaseResponse, error)
- func (c *CptsClient) CreateProject(request *model.CreateProjectRequest) (*model.CreateProjectResponse, error)
- func (c *CptsClient) CreateTask(request *model.CreateTaskRequest) (*model.CreateTaskResponse, error)
- func (c *CptsClient) CreateTemp(request *model.CreateTempRequest) (*model.CreateTempResponse, error)
- func (c *CptsClient) CreateVariable(request *model.CreateVariableRequest) (*model.CreateVariableResponse, error)
- func (c *CptsClient) DebugCase(request *model.DebugCaseRequest) (*model.DebugCaseResponse, error)
- func (c *CptsClient) DeleteCase(request *model.DeleteCaseRequest) (*model.DeleteCaseResponse, error)
- func (c *CptsClient) DeleteProject(request *model.DeleteProjectRequest) (*model.DeleteProjectResponse, error)
- func (c *CptsClient) DeleteTask(request *model.DeleteTaskRequest) (*model.DeleteTaskResponse, error)
- func (c *CptsClient) DeleteTemp(request *model.DeleteTempRequest) (*model.DeleteTempResponse, error)
- func (c *CptsClient) ListProjectSets(request *model.ListProjectSetsRequest) (*model.ListProjectSetsResponse, error)
- func (c *CptsClient) ListVariables(request *model.ListVariablesRequest) (*model.ListVariablesResponse, error)
- func (c *CptsClient) ShowHistoryRunInfo(request *model.ShowHistoryRunInfoRequest) (*model.ShowHistoryRunInfoResponse, error)
- func (c *CptsClient) ShowProcess(request *model.ShowProcessRequest) (*model.ShowProcessResponse, error)
- func (c *CptsClient) ShowProject(request *model.ShowProjectRequest) (*model.ShowProjectResponse, error)
- func (c *CptsClient) ShowReport(request *model.ShowReportRequest) (*model.ShowReportResponse, error)
- func (c *CptsClient) ShowTask(request *model.ShowTaskRequest) (*model.ShowTaskResponse, error)
- func (c *CptsClient) ShowTaskSet(request *model.ShowTaskSetRequest) (*model.ShowTaskSetResponse, error)
- func (c *CptsClient) ShowTemp(request *model.ShowTempRequest) (*model.ShowTempResponse, error)
- func (c *CptsClient) ShowTempSet(request *model.ShowTempSetRequest) (*model.ShowTempSetResponse, error)
- func (c *CptsClient) UpdateCase(request *model.UpdateCaseRequest) (*model.UpdateCaseResponse, error)
- func (c *CptsClient) UpdateProject(request *model.UpdateProjectRequest) (*model.UpdateProjectResponse, error)
- func (c *CptsClient) UpdateTask(request *model.UpdateTaskRequest) (*model.UpdateTaskResponse, error)
- func (c *CptsClient) UpdateTaskStatus(request *model.UpdateTaskStatusRequest) (*model.UpdateTaskStatusResponse, error)
- func (c *CptsClient) UpdateTemp(request *model.UpdateTempRequest) (*model.UpdateTempResponse, error)
- func (c *CptsClient) UpdateVariable(request *model.UpdateVariableRequest) (*model.UpdateVariableResponse, error)
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 ¶
func (c *CptsClient) ShowHistoryRunInfo(request *model.ShowHistoryRunInfoRequest) (*model.ShowHistoryRunInfoResponse, error)
查询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)
修改变量
Click to show internal directories.
Click to hide internal directories.