v1

package
v0.1.34 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 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 GenReqDefForDeleteVariable added in v0.1.2

func GenReqDefForDeleteVariable() *def.HttpRequestDef

func GenReqDefForListProjectSets

func GenReqDefForListProjectSets() *def.HttpRequestDef

func GenReqDefForListProjectTestCase added in v0.1.2

func GenReqDefForListProjectTestCase() *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 GenReqDefForUpdateTaskRelatedTestCase added in v0.1.2

func GenReqDefForUpdateTaskRelatedTestCase() *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)

CreateCase 创建用例

创建用例

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) CreateCaseInvoker added in v0.0.90

func (c *CptsClient) CreateCaseInvoker(request *model.CreateCaseRequest) *CreateCaseInvoker

CreateCaseInvoker 创建用例

func (*CptsClient) CreateProject

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

CreateProject 创建工程

创建工程

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) CreateProjectInvoker added in v0.0.90

func (c *CptsClient) CreateProjectInvoker(request *model.CreateProjectRequest) *CreateProjectInvoker

CreateProjectInvoker 创建工程

func (*CptsClient) CreateTask

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

CreateTask 创建任务

创建任务

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) CreateTaskInvoker added in v0.0.90

func (c *CptsClient) CreateTaskInvoker(request *model.CreateTaskRequest) *CreateTaskInvoker

CreateTaskInvoker 创建任务

func (*CptsClient) CreateTemp

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

CreateTemp 创建事务

创建事务

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) CreateTempInvoker added in v0.0.90

func (c *CptsClient) CreateTempInvoker(request *model.CreateTempRequest) *CreateTempInvoker

CreateTempInvoker 创建事务

func (*CptsClient) CreateVariable

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

CreateVariable 创建变量

创建变量

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) CreateVariableInvoker added in v0.0.90

func (c *CptsClient) CreateVariableInvoker(request *model.CreateVariableRequest) *CreateVariableInvoker

CreateVariableInvoker 创建变量

func (*CptsClient) DebugCase

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

DebugCase 调试用例

调试用例

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) DebugCaseInvoker added in v0.0.90

func (c *CptsClient) DebugCaseInvoker(request *model.DebugCaseRequest) *DebugCaseInvoker

DebugCaseInvoker 调试用例

func (*CptsClient) DeleteCase

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

DeleteCase 删除用例

删除用例

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) DeleteCaseInvoker added in v0.0.90

func (c *CptsClient) DeleteCaseInvoker(request *model.DeleteCaseRequest) *DeleteCaseInvoker

DeleteCaseInvoker 删除用例

func (*CptsClient) DeleteProject

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

DeleteProject 删除工程

删除工程

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) DeleteProjectInvoker added in v0.0.90

func (c *CptsClient) DeleteProjectInvoker(request *model.DeleteProjectRequest) *DeleteProjectInvoker

DeleteProjectInvoker 删除工程

func (*CptsClient) DeleteTask

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

DeleteTask 删除任务

删除任务

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) DeleteTaskInvoker added in v0.0.90

func (c *CptsClient) DeleteTaskInvoker(request *model.DeleteTaskRequest) *DeleteTaskInvoker

DeleteTaskInvoker 删除任务

func (*CptsClient) DeleteTemp

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

DeleteTemp 删除事务

删除事务

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) DeleteTempInvoker added in v0.0.90

func (c *CptsClient) DeleteTempInvoker(request *model.DeleteTempRequest) *DeleteTempInvoker

DeleteTempInvoker 删除事务

func (*CptsClient) DeleteVariable added in v0.1.2

func (c *CptsClient) DeleteVariable(request *model.DeleteVariableRequest) (*model.DeleteVariableResponse, error)

DeleteVariable 删除全局变量

删除全局变量

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) DeleteVariableInvoker added in v0.1.2

func (c *CptsClient) DeleteVariableInvoker(request *model.DeleteVariableRequest) *DeleteVariableInvoker

DeleteVariableInvoker 删除全局变量

func (*CptsClient) ListProjectSets

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

ListProjectSets 查询工程集

查询工程集

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) ListProjectSetsInvoker added in v0.0.90

func (c *CptsClient) ListProjectSetsInvoker(request *model.ListProjectSetsRequest) *ListProjectSetsInvoker

ListProjectSetsInvoker 查询工程集

func (*CptsClient) ListProjectTestCase added in v0.1.2

ListProjectTestCase 查询用例树

查询用例树

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) ListProjectTestCaseInvoker added in v0.1.2

func (c *CptsClient) ListProjectTestCaseInvoker(request *model.ListProjectTestCaseRequest) *ListProjectTestCaseInvoker

ListProjectTestCaseInvoker 查询用例树

func (*CptsClient) ListVariables

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

ListVariables 查询全局变量

查询全局变量

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) ListVariablesInvoker added in v0.0.90

func (c *CptsClient) ListVariablesInvoker(request *model.ListVariablesRequest) *ListVariablesInvoker

ListVariablesInvoker 查询全局变量

func (*CptsClient) ShowHistoryRunInfo

ShowHistoryRunInfo 查询CPTS任务离线报告列表

查询CPTS任务离线报告列表

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) ShowHistoryRunInfoInvoker added in v0.0.90

func (c *CptsClient) ShowHistoryRunInfoInvoker(request *model.ShowHistoryRunInfoRequest) *ShowHistoryRunInfoInvoker

ShowHistoryRunInfoInvoker 查询CPTS任务离线报告列表

func (*CptsClient) ShowProcess

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

ShowProcess 查询导入进度

查询导入进度

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) ShowProcessInvoker added in v0.0.90

func (c *CptsClient) ShowProcessInvoker(request *model.ShowProcessRequest) *ShowProcessInvoker

ShowProcessInvoker 查询导入进度

func (*CptsClient) ShowProject

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

ShowProject 查询工程

查询工程

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) ShowProjectInvoker added in v0.0.90

func (c *CptsClient) ShowProjectInvoker(request *model.ShowProjectRequest) *ShowProjectInvoker

ShowProjectInvoker 查询工程

func (*CptsClient) ShowReport

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

ShowReport 查询报告

查询报告

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) ShowReportInvoker added in v0.0.90

func (c *CptsClient) ShowReportInvoker(request *model.ShowReportRequest) *ShowReportInvoker

ShowReportInvoker 查询报告

func (*CptsClient) ShowTask

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

ShowTask 查询任务

查询任务

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) ShowTaskInvoker added in v0.0.90

func (c *CptsClient) ShowTaskInvoker(request *model.ShowTaskRequest) *ShowTaskInvoker

ShowTaskInvoker 查询任务

func (*CptsClient) ShowTaskSet

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

ShowTaskSet 查询任务集

查询任务集

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) ShowTaskSetInvoker added in v0.0.90

func (c *CptsClient) ShowTaskSetInvoker(request *model.ShowTaskSetRequest) *ShowTaskSetInvoker

ShowTaskSetInvoker 查询任务集

func (*CptsClient) ShowTemp

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

ShowTemp 查询事务

查询事务

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) ShowTempInvoker added in v0.0.90

func (c *CptsClient) ShowTempInvoker(request *model.ShowTempRequest) *ShowTempInvoker

ShowTempInvoker 查询事务

func (*CptsClient) ShowTempSet

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

ShowTempSet 查询事务集

查询事务集

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) ShowTempSetInvoker added in v0.0.90

func (c *CptsClient) ShowTempSetInvoker(request *model.ShowTempSetRequest) *ShowTempSetInvoker

ShowTempSetInvoker 查询事务集

func (*CptsClient) UpdateCase

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

UpdateCase 修改用例

修改用例

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) UpdateCaseInvoker added in v0.0.90

func (c *CptsClient) UpdateCaseInvoker(request *model.UpdateCaseRequest) *UpdateCaseInvoker

UpdateCaseInvoker 修改用例

func (*CptsClient) UpdateProject

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

UpdateProject 修改工程

修改工程

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) UpdateProjectInvoker added in v0.0.90

func (c *CptsClient) UpdateProjectInvoker(request *model.UpdateProjectRequest) *UpdateProjectInvoker

UpdateProjectInvoker 修改工程

func (*CptsClient) UpdateTask

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

UpdateTask 修改任务

修改任务

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) UpdateTaskInvoker added in v0.0.90

func (c *CptsClient) UpdateTaskInvoker(request *model.UpdateTaskRequest) *UpdateTaskInvoker

UpdateTaskInvoker 修改任务

func (*CptsClient) UpdateTaskRelatedTestCase added in v0.1.2

UpdateTaskRelatedTestCase 修改任务关联用例

修改任务关联用例

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) UpdateTaskRelatedTestCaseInvoker added in v0.1.2

func (c *CptsClient) UpdateTaskRelatedTestCaseInvoker(request *model.UpdateTaskRelatedTestCaseRequest) *UpdateTaskRelatedTestCaseInvoker

UpdateTaskRelatedTestCaseInvoker 修改任务关联用例

func (*CptsClient) UpdateTaskStatus

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

UpdateTaskStatus 更新任务状态

更新任务状态

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) UpdateTaskStatusInvoker added in v0.0.90

func (c *CptsClient) UpdateTaskStatusInvoker(request *model.UpdateTaskStatusRequest) *UpdateTaskStatusInvoker

UpdateTaskStatusInvoker 更新任务状态

func (*CptsClient) UpdateTemp

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

UpdateTemp 修改事务

修改事务

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) UpdateTempInvoker added in v0.0.90

func (c *CptsClient) UpdateTempInvoker(request *model.UpdateTempRequest) *UpdateTempInvoker

UpdateTempInvoker 修改事务

func (*CptsClient) UpdateVariable

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

UpdateVariable 修改变量

修改变量

Please refer to HUAWEI cloud API Explorer for details.

func (*CptsClient) UpdateVariableInvoker added in v0.0.90

func (c *CptsClient) UpdateVariableInvoker(request *model.UpdateVariableRequest) *UpdateVariableInvoker

UpdateVariableInvoker 修改变量

type CreateCaseInvoker added in v0.0.90

type CreateCaseInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateCaseInvoker) Invoke added in v0.0.90

type CreateProjectInvoker added in v0.0.90

type CreateProjectInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateProjectInvoker) Invoke added in v0.0.90

type CreateTaskInvoker added in v0.0.90

type CreateTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateTaskInvoker) Invoke added in v0.0.90

type CreateTempInvoker added in v0.0.90

type CreateTempInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateTempInvoker) Invoke added in v0.0.90

type CreateVariableInvoker added in v0.0.90

type CreateVariableInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateVariableInvoker) Invoke added in v0.0.90

type DebugCaseInvoker added in v0.0.90

type DebugCaseInvoker struct {
	*invoker.BaseInvoker
}

func (*DebugCaseInvoker) Invoke added in v0.0.90

type DeleteCaseInvoker added in v0.0.90

type DeleteCaseInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteCaseInvoker) Invoke added in v0.0.90

type DeleteProjectInvoker added in v0.0.90

type DeleteProjectInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteProjectInvoker) Invoke added in v0.0.90

type DeleteTaskInvoker added in v0.0.90

type DeleteTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteTaskInvoker) Invoke added in v0.0.90

type DeleteTempInvoker added in v0.0.90

type DeleteTempInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteTempInvoker) Invoke added in v0.0.90

type DeleteVariableInvoker added in v0.1.2

type DeleteVariableInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteVariableInvoker) Invoke added in v0.1.2

type ListProjectSetsInvoker added in v0.0.90

type ListProjectSetsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListProjectSetsInvoker) Invoke added in v0.0.90

type ListProjectTestCaseInvoker added in v0.1.2

type ListProjectTestCaseInvoker struct {
	*invoker.BaseInvoker
}

func (*ListProjectTestCaseInvoker) Invoke added in v0.1.2

type ListVariablesInvoker added in v0.0.90

type ListVariablesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListVariablesInvoker) Invoke added in v0.0.90

type ShowHistoryRunInfoInvoker added in v0.0.90

type ShowHistoryRunInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowHistoryRunInfoInvoker) Invoke added in v0.0.90

type ShowProcessInvoker added in v0.0.90

type ShowProcessInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowProcessInvoker) Invoke added in v0.0.90

type ShowProjectInvoker added in v0.0.90

type ShowProjectInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowProjectInvoker) Invoke added in v0.0.90

type ShowReportInvoker added in v0.0.90

type ShowReportInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowReportInvoker) Invoke added in v0.0.90

type ShowTaskInvoker added in v0.0.90

type ShowTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowTaskInvoker) Invoke added in v0.0.90

func (i *ShowTaskInvoker) Invoke() (*model.ShowTaskResponse, error)

type ShowTaskSetInvoker added in v0.0.90

type ShowTaskSetInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowTaskSetInvoker) Invoke added in v0.0.90

type ShowTempInvoker added in v0.0.90

type ShowTempInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowTempInvoker) Invoke added in v0.0.90

func (i *ShowTempInvoker) Invoke() (*model.ShowTempResponse, error)

type ShowTempSetInvoker added in v0.0.90

type ShowTempSetInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowTempSetInvoker) Invoke added in v0.0.90

type UpdateCaseInvoker added in v0.0.90

type UpdateCaseInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateCaseInvoker) Invoke added in v0.0.90

type UpdateProjectInvoker added in v0.0.90

type UpdateProjectInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateProjectInvoker) Invoke added in v0.0.90

type UpdateTaskInvoker added in v0.0.90

type UpdateTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateTaskInvoker) Invoke added in v0.0.90

type UpdateTaskRelatedTestCaseInvoker added in v0.1.2

type UpdateTaskRelatedTestCaseInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateTaskRelatedTestCaseInvoker) Invoke added in v0.1.2

type UpdateTaskStatusInvoker added in v0.0.90

type UpdateTaskStatusInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateTaskStatusInvoker) Invoke added in v0.0.90

type UpdateTempInvoker added in v0.0.90

type UpdateTempInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateTempInvoker) Invoke added in v0.0.90

type UpdateVariableInvoker added in v0.0.90

type UpdateVariableInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateVariableInvoker) Invoke added in v0.0.90

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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