Documentation ¶
Index ¶
- func RunTimerTaskBack(taskID uint) func()
- type ApiCIService
- type ApiCaseService
- func (testCaseService *ApiCaseService) AddApiTestCase(apiCaseID request.ApiCaseIdReq) (caseApiDetail interfacecase.ApiStep, err error)
- func (testCaseService *ApiCaseService) AddApisCase(taskID uint, caseIDs []uint) (err error)
- func (testCaseService *ApiCaseService) CreateApiCase(testCase interfacecase.ApiCase) (err error)
- func (testCaseService *ApiCaseService) DelApisCase(testCase interfacecase.ApiCaseRelationship) (err error)
- func (testCaseService *ApiCaseService) DeleteApiCase(testCase interfacecase.ApiCase) (err error)
- func (testCaseService *ApiCaseService) DeleteApiCaseByIds(ids request.IdsReq) (err error)
- func (testCaseService *ApiCaseService) FindApiTestCase(id uint) (err error, apiCaseRelationship []interfacecase.ApiCaseRelationship, ...)
- func (testCaseService *ApiCaseService) GetApiCase(id uint) (err error, testCase interfacecase.ApiCase)
- func (testCaseService *ApiCaseService) GetApiCaseInfoList(info interfacecaseReq.ApiCaseSearch) (err error, list interface{}, total int64)
- func (testCaseService *ApiCaseService) SetApisCase(id uint, caseIds []uint) (err error)
- func (testCaseService *ApiCaseService) SortApisCase(testCase []interfacecase.ApiCaseRelationship) (err error)
- func (testCaseService *ApiCaseService) UpdateApiCase(testCase interfacecase.ApiCase) (err error)
- type ApiConfigService
- func (acService *ApiConfigService) CreateApiConfig(ac interfacecase.ApiConfig) (err error)
- func (acService *ApiConfigService) DeleteApiConfig(ac interfacecase.ApiConfig) (err error)
- func (acService *ApiConfigService) DeleteApiConfigByIds(ids request.IdsReq) (err error)
- func (acService *ApiConfigService) GetApiConfig(id uint) (err error, ac interfacecase.ApiConfig)
- func (acService *ApiConfigService) GetApiConfigInfoList(info interfacecaseReq.ApiConfigSearch) (err error, list interface{}, total int64)
- func (acService *ApiConfigService) UpdateApiConfig(ac interfacecase.ApiConfig) (err error)
- type ApiMenuService
- func (a *ApiMenuService) CreateApiMenu(apicase interfacecase.ApiMenu) (err error)
- func (a *ApiMenuService) DeleteApiMenu(apicase interfacecase.ApiMenu) (err error)
- func (a *ApiMenuService) DeleteApiMenuByIds(ids request.IdsReq) (err error)
- func (a *ApiMenuService) GetApiMenu(id uint) (err error, apicase interfacecase.ApiMenu)
- func (a *ApiMenuService) GetApiMenuInfoList(info interfacecaseReq.ApiMenuSearch) (err error, list interface{}, total int64)
- func (a *ApiMenuService) GetApiMenuInterface(apicase interfacecase.ApiMenu) (err error)
- func (a *ApiMenuService) GetMenu(pid uint, menuType string, project uint) ([]*TreeList, error)
- func (a *ApiMenuService) UpdateApiMenu(apicase interfacecase.ApiMenu) (err error)
- type ApiParams
- type DataDetail
- type EnvironmentService
- func (env *EnvironmentService) CreateEnv(environment interfacecase.ApiEnv) (envs []interfacecase.ApiEnv, err error)
- func (env *EnvironmentService) CreateEnvVariable(envVar interfacecase.ApiEnvDetail) (err error)
- func (env *EnvironmentService) DeleteEnv(environment interfacecase.ApiEnv) (err error)
- func (env *EnvironmentService) DeleteEnvByIds(c *gin.Context)
- func (env *EnvironmentService) DeleteEnvVariable(environment interfacecase.ApiEnvDetail) (err error)
- func (env *EnvironmentService) FindEnv(id uint) (err error, environment interfacecase.ApiEnv)
- func (env *EnvironmentService) FindEnvVariable(id uint) (err error, environment interfacecase.ApiEnvDetail)
- func (env *EnvironmentService) GetEnvList(info interfacecaseReq.EnvSearch) (err error, list interface{})
- func (env *EnvironmentService) GetEnvVariableList(info interfacecaseReq.EnvVariableSearch) (err error, list interface{}, total int64)
- func (env *EnvironmentService) UpdateEnv(environment interfacecase.ApiEnv) (id uint, err error)
- type InterfaceTemplateService
- func (i *InterfaceTemplateService) CreateInterfaceTemplate(apicase interfacecase.ApiStep) (id *uint, err error)
- func (i *InterfaceTemplateService) CreateUserConfig(userConfig interfacecase.ApiUserConfig) (err error)
- func (i *InterfaceTemplateService) DeleteInterfaceTemplate(apicase interfacecase.ApiStep) (err error)
- func (i *InterfaceTemplateService) DeleteInterfaceTemplateByIds(ids request.IdsReq) (err error)
- func (i *InterfaceTemplateService) GetDebugTalk(debugTalk interfacecase.ApiDebugTalk) (err error, debugTalkFirst interfacecase.ApiDebugTalk)
- func (i *InterfaceTemplateService) GetGrpc(gRPC interfacecaseReq.GrpcFunc) (err error, data interface{})
- func (i *InterfaceTemplateService) GetInterfaceTemplate(id uint) (err error, apiCase interfacecase.ApiStep)
- func (i *InterfaceTemplateService) GetInterfaceTemplateInfoList(info interfacecaseReq.InterfaceTemplateSearch) (err error, list interface{}, total int64)
- func (i *InterfaceTemplateService) GetUserConfig(projectID uint, userID uint) (userConfig *interfacecase.ApiUserConfig, err error)
- func (i *InterfaceTemplateService) UpdateDebugTalk(debugTalk interfacecase.ApiDebugTalk) (err error)
- func (i *InterfaceTemplateService) UpdateInterfaceTemplate(apicase interfacecase.ApiStep) (id uint, err error)
- type MessageServer
- func (msgs *MessageServer) CreateMessage(msg interfacecase.ApiMessage) (err error)
- func (msgs *MessageServer) DeleteMessage(msg interfacecase.ApiMessage) (err error)
- func (msgs *MessageServer) FindMessage(id uint) (err error, messages interfacecase.ApiMessage)
- func (msgs *MessageServer) GetMessageList(info interfacecaseReq.ApiMessaceSearch) (err error, list interface{}, total int64)
- func (msgs *MessageServer) UpdateMessage(msg interfacecase.ApiMessage) (err error)
- type PerformanceService
- func (testCaseService *PerformanceService) AddOperation(testcase interfacecase.ApiStep, pid uint) (err error)
- func (testCaseService *PerformanceService) AddPerformanceCase(performanceID uint, caseIDs []uint) (err error)
- func (testCaseService *PerformanceService) CreatePerformance(testCase interfacecase.Performance) (err error)
- func (testCaseService *PerformanceService) DelPerformanceCase(testCase interfacecase.PerformanceRelationship) (err error)
- func (testCaseService *PerformanceService) DeletePerformance(testCase interfacecase.Performance) (err error)
- func (testCaseService *PerformanceService) DeleteReport(report interfacecase.PerformanceReport) (err error)
- func (testCaseService *PerformanceService) FindPerformance(id uint) (err error, testCase interfacecase.Performance)
- func (testCaseService *PerformanceService) FindPerformanceCase(id uint) (err error, performanceRelationship []interfacecase.PerformanceRelationship, ...)
- func (testCaseService *PerformanceService) FindPerformanceStep(id uint) (err error, step interfacecase.ApiStep)
- func (testCaseService *PerformanceService) FindReport(pReportReq interfacecaseReq.PReportDetail) (err error, report interface{})
- func (testCaseService *PerformanceService) GetPerformanceList(info request.PerformancekSearch) (err error, list interface{}, total int64)
- func (testCaseService *PerformanceService) GetReportList(info interfacecaseReq.PReportSearch) (err error, list interface{}, total int64)
- func (testCaseService *PerformanceService) SortPerformanceCase(testCase []interfacecase.PerformanceRelationship) (err error)
- func (testCaseService *PerformanceService) UpdatePerformance(testCase interfacecase.Performance) (err error)
- type PyPkgService
- func (p *PyPkgService) FindPyPkg(name string) (pkgInfo interfacecase.HrpPyPkg, err error)deprecated
- func (p *PyPkgService) FindPyPkgV2(name string) (pkgInfo *interfacecase.HrpPyPkg, err error)
- func (p *PyPkgService) PyPkgInstallService(pyPkg request.HrpPyPkgRequest, localPkg ...string) (err error)deprecated
- func (p *PyPkgService) PyPkgInstallServiceV2(pyPkg request.HrpPyPkgRequest) (err error)
- func (p *PyPkgService) PyPkgListService(info request.HrpPyPkgRequest) (list interface{}, total int64, err error)
- func (p *PyPkgService) PyPkgVersionService(pkgInfo request.HrpPyPkgRequest) (err error, list PyPkgVersionList)
- func (p *PyPkgService) PythonEnv() (PyEnvPath string, PipEnvPath string)
- func (p *PyPkgService) SearchPyPkg(pkg request.HrpPyPkgRequest) (pkgInfo request.HrpPyPkgRequest, err error)
- func (p *PyPkgService) SelectPyPkg(name string) bool
- func (p *PyPkgService) UnInstallService(pkg interfacecase.HrpPyPkg) (err error)
- func (p *PyPkgService) UpdatePyPkgService(PyPkg request.HrpPyPkgRequest) (err error)
- type PyPkgVersionList
- type ReportService
- func (reportService *ReportService) DelReport(report interfacecase.ApiReport) (err error)
- func (reportService *ReportService) FindReport(apiReport interfacecase.ApiReport) (err error, list interface{})
- func (reportService *ReportService) GetReportDetail(id uint) (err error, detail interfacecase.ApiReportDetailsRecordsData)
- func (reportService *ReportService) GetReportList(info interfacecaseReq.ReportSearch) (err error, list interface{}, total int64)
- type ReqResps
- type Request
- type Response
- type RunCaseService
- func (r *RunCaseService) Rebalance(runCase request.RunCaseReq) (*interfacecase.ApiReport, error)
- func (r *RunCaseService) RunApi(runCase request.RunCaseReq) (report *interfacecase.ApiReport, err error)
- func (r *RunCaseService) RunApiCase(runCase request.RunCaseReq) (report *interfacecase.ApiReport, err error)
- func (r *RunCaseService) RunBoomer(runCase request.RunCaseReq, runType interfacecase.RunType) (report *interfacecase.ApiReport, err error)
- func (r *RunCaseService) RunBoomerDebug(runCase request.RunCaseReq) (report *interfacecase.ApiReport, err error)
- func (r *RunCaseService) RunMasterBoomer(runCase request.RunCaseReq, _ interfacecase.RunType) (*interfacecase.ApiReport, error)
- func (r *RunCaseService) RunTestCaseStep(runCase request.RunCaseReq) (reports *interfacecase.ApiReport, err error)
- func (r *RunCaseService) RunTimerTask(runCase request.RunCaseReq, ci bool)
- func (r *RunCaseService) RunTimerTaskBack(taskID uint)
- func (r *RunCaseService) Stop(runCase request.RunCaseReq) (err error)
- type ServiceGroup
- type TestCaseService
- func (t *TestCaseService) AddTestCaseStep(apiCaseID request.ApiCaseIdReq) (caseApiDetail *interfacecase.ApiStep, err error)
- func (t *TestCaseService) CreateTestCaseStep(apicase interfacecase.ApiCaseStep) (err error)
- func (t *TestCaseService) DelTestCaseStep(apiCaseID request.ApiCaseIdReq) (err error)
- func (t *TestCaseService) DeleteTestCaseStep(apicase interfacecase.ApiCaseStep) (err error)
- func (t *TestCaseService) DeleteTestCaseStepByIds(ids request.IdsReq) (err error)
- func (t *TestCaseService) FindTestCaseStep(id uint, detail bool) (err error, apicase interfacecase.ApiCaseStep)
- func (t *TestCaseService) GetTestCaseStepInfoList(info interfacecaseReq.TestCaseSearch) (err error, list interface{}, total int64)
- func (t *TestCaseService) SortTestCaseStep(apicase interfacecase.ApiCaseStep) (err error)
- func (t *TestCaseService) UpdateTestCaseStep(apicase interfacecase.ApiCaseStep) (err error)
- type TimerTaskService
- func (taskService *TimerTaskService) AddTaskCase(taskID uint, caseIDs []uint) (err error)
- func (taskService *TimerTaskService) AddTaskTestCase(apiCaseID request.ApiCaseIdReq) (caseApiDetail interfacecase.ApiStep, err error)
- func (taskService *TimerTaskService) CreateTaskTag(taskTag interfacecase.ApiTimerTaskTag) (taskTags []interfacecase.ApiTimerTaskTag, err error)
- func (taskService *TimerTaskService) CreateTimerTask(task interfacecase.ApiTimerTask) (err error)
- func (taskService *TimerTaskService) DelTaskCase(task interfacecase.ApiTimerTaskRelationship) (err error)
- func (taskService *TimerTaskService) DeleteTimerTask(task interfacecase.ApiTimerTask) (err error)
- func (taskService *TimerTaskService) DeleteTimerTaskByIds(ids request.IdsReq) (err error)
- func (taskService *TimerTaskService) DeleteTimerTaskTag(task interfacecase.ApiTimerTaskTag) (err error)
- func (taskService *TimerTaskService) FindTaskTestCase(id uint) (err error, apiTimerTaskRelationship []interfacecase.ApiTimerTaskRelationship)
- func (taskService *TimerTaskService) GetTimerTask(id uint) (err error, task interfacecase.ApiTimerTask)
- func (taskService *TimerTaskService) GetTimerTaskInfoList(info interfacecaseReq.TimerTaskSearch) (err error, list interface{}, total int64)
- func (taskService *TimerTaskService) GetTimerTaskTagInfoList(info interfacecaseReq.TimerTaskTagSearch) (err error, list interface{}, total int64)
- func (taskService *TimerTaskService) SetTaskCase(id uint, caseIds []uint) (err error)
- func (taskService *TimerTaskService) SortTaskCase(task []interfacecase.ApiTimerTaskRelationship) (err error)
- func (taskService *TimerTaskService) UpdateTimerTask(task interfacecase.ApiTimerTask) (err error)
- type ToTestCase
- type TreeList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunTimerTaskBack ¶
func RunTimerTaskBack(taskID uint) func()
Types ¶
type ApiCIService ¶
type ApiCIService struct{}
func (*ApiCIService) GetRepost ¶
func (ci *ApiCIService) GetRepost(tagReq interfacecaseReq.CIRun) (error, interface{})
func (*ApiCIService) RunTag ¶
func (ci *ApiCIService) RunTag(tagReq interfacecaseReq.CIRun) (error, interface{})
type ApiCaseService ¶
type ApiCaseService struct { }
func (*ApiCaseService) AddApiTestCase ¶
func (testCaseService *ApiCaseService) AddApiTestCase(apiCaseID request.ApiCaseIdReq) (caseApiDetail interfacecase.ApiStep, err error)
func (*ApiCaseService) AddApisCase ¶
func (testCaseService *ApiCaseService) AddApisCase(taskID uint, caseIDs []uint) (err error)
func (*ApiCaseService) CreateApiCase ¶
func (testCaseService *ApiCaseService) CreateApiCase(testCase interfacecase.ApiCase) (err error)
func (*ApiCaseService) DelApisCase ¶
func (testCaseService *ApiCaseService) DelApisCase(testCase interfacecase.ApiCaseRelationship) (err error)
func (*ApiCaseService) DeleteApiCase ¶
func (testCaseService *ApiCaseService) DeleteApiCase(testCase interfacecase.ApiCase) (err error)
func (*ApiCaseService) DeleteApiCaseByIds ¶
func (testCaseService *ApiCaseService) DeleteApiCaseByIds(ids request.IdsReq) (err error)
func (*ApiCaseService) FindApiTestCase ¶
func (testCaseService *ApiCaseService) FindApiTestCase(id uint) (err error, apiCaseRelationship []interfacecase.ApiCaseRelationship, name string)
func (*ApiCaseService) GetApiCase ¶
func (testCaseService *ApiCaseService) GetApiCase(id uint) (err error, testCase interfacecase.ApiCase)
func (*ApiCaseService) GetApiCaseInfoList ¶
func (testCaseService *ApiCaseService) GetApiCaseInfoList(info interfacecaseReq.ApiCaseSearch) (err error, list interface{}, total int64)
func (*ApiCaseService) SetApisCase ¶
func (testCaseService *ApiCaseService) SetApisCase(id uint, caseIds []uint) (err error)
func (*ApiCaseService) SortApisCase ¶
func (testCaseService *ApiCaseService) SortApisCase(testCase []interfacecase.ApiCaseRelationship) (err error)
func (*ApiCaseService) UpdateApiCase ¶
func (testCaseService *ApiCaseService) UpdateApiCase(testCase interfacecase.ApiCase) (err error)
type ApiConfigService ¶
type ApiConfigService struct { }
func (*ApiConfigService) CreateApiConfig ¶
func (acService *ApiConfigService) CreateApiConfig(ac interfacecase.ApiConfig) (err error)
func (*ApiConfigService) DeleteApiConfig ¶
func (acService *ApiConfigService) DeleteApiConfig(ac interfacecase.ApiConfig) (err error)
func (*ApiConfigService) DeleteApiConfigByIds ¶
func (acService *ApiConfigService) DeleteApiConfigByIds(ids request.IdsReq) (err error)
func (*ApiConfigService) GetApiConfig ¶
func (acService *ApiConfigService) GetApiConfig(id uint) (err error, ac interfacecase.ApiConfig)
func (*ApiConfigService) GetApiConfigInfoList ¶
func (acService *ApiConfigService) GetApiConfigInfoList(info interfacecaseReq.ApiConfigSearch) (err error, list interface{}, total int64)
func (*ApiConfigService) UpdateApiConfig ¶
func (acService *ApiConfigService) UpdateApiConfig(ac interfacecase.ApiConfig) (err error)
type ApiMenuService ¶
type ApiMenuService struct { }
func (*ApiMenuService) CreateApiMenu ¶
func (a *ApiMenuService) CreateApiMenu(apicase interfacecase.ApiMenu) (err error)
func (*ApiMenuService) DeleteApiMenu ¶
func (a *ApiMenuService) DeleteApiMenu(apicase interfacecase.ApiMenu) (err error)
func (*ApiMenuService) DeleteApiMenuByIds ¶
func (a *ApiMenuService) DeleteApiMenuByIds(ids request.IdsReq) (err error)
func (*ApiMenuService) GetApiMenu ¶
func (a *ApiMenuService) GetApiMenu(id uint) (err error, apicase interfacecase.ApiMenu)
func (*ApiMenuService) GetApiMenuInfoList ¶
func (a *ApiMenuService) GetApiMenuInfoList(info interfacecaseReq.ApiMenuSearch) (err error, list interface{}, total int64)
func (*ApiMenuService) GetApiMenuInterface ¶
func (a *ApiMenuService) GetApiMenuInterface(apicase interfacecase.ApiMenu) (err error)
func (*ApiMenuService) UpdateApiMenu ¶
func (a *ApiMenuService) UpdateApiMenu(apicase interfacecase.ApiMenu) (err error)
type DataDetail ¶
type EnvironmentService ¶
type EnvironmentService struct { }
func (*EnvironmentService) CreateEnv ¶
func (env *EnvironmentService) CreateEnv(environment interfacecase.ApiEnv) (envs []interfacecase.ApiEnv, err error)
func (*EnvironmentService) CreateEnvVariable ¶
func (env *EnvironmentService) CreateEnvVariable(envVar interfacecase.ApiEnvDetail) (err error)
func (*EnvironmentService) DeleteEnv ¶
func (env *EnvironmentService) DeleteEnv(environment interfacecase.ApiEnv) (err error)
func (*EnvironmentService) DeleteEnvByIds ¶
func (env *EnvironmentService) DeleteEnvByIds(c *gin.Context)
func (*EnvironmentService) DeleteEnvVariable ¶
func (env *EnvironmentService) DeleteEnvVariable(environment interfacecase.ApiEnvDetail) (err error)
func (*EnvironmentService) FindEnv ¶
func (env *EnvironmentService) FindEnv(id uint) (err error, environment interfacecase.ApiEnv)
func (*EnvironmentService) FindEnvVariable ¶
func (env *EnvironmentService) FindEnvVariable(id uint) (err error, environment interfacecase.ApiEnvDetail)
func (*EnvironmentService) GetEnvList ¶
func (env *EnvironmentService) GetEnvList(info interfacecaseReq.EnvSearch) (err error, list interface{})
func (*EnvironmentService) GetEnvVariableList ¶
func (env *EnvironmentService) GetEnvVariableList(info interfacecaseReq.EnvVariableSearch) (err error, list interface{}, total int64)
func (*EnvironmentService) UpdateEnv ¶
func (env *EnvironmentService) UpdateEnv(environment interfacecase.ApiEnv) (id uint, err error)
type InterfaceTemplateService ¶
type InterfaceTemplateService struct { }
func (*InterfaceTemplateService) CreateInterfaceTemplate ¶
func (i *InterfaceTemplateService) CreateInterfaceTemplate(apicase interfacecase.ApiStep) (id *uint, err error)
func (*InterfaceTemplateService) CreateUserConfig ¶
func (i *InterfaceTemplateService) CreateUserConfig(userConfig interfacecase.ApiUserConfig) (err error)
func (*InterfaceTemplateService) DeleteInterfaceTemplate ¶
func (i *InterfaceTemplateService) DeleteInterfaceTemplate(apicase interfacecase.ApiStep) (err error)
func (*InterfaceTemplateService) DeleteInterfaceTemplateByIds ¶
func (i *InterfaceTemplateService) DeleteInterfaceTemplateByIds(ids request.IdsReq) (err error)
func (*InterfaceTemplateService) GetDebugTalk ¶
func (i *InterfaceTemplateService) GetDebugTalk(debugTalk interfacecase.ApiDebugTalk) (err error, debugTalkFirst interfacecase.ApiDebugTalk)
func (*InterfaceTemplateService) GetGrpc ¶
func (i *InterfaceTemplateService) GetGrpc(gRPC interfacecaseReq.GrpcFunc) (err error, data interface{})
func (*InterfaceTemplateService) GetInterfaceTemplate ¶
func (i *InterfaceTemplateService) GetInterfaceTemplate(id uint) (err error, apiCase interfacecase.ApiStep)
func (*InterfaceTemplateService) GetInterfaceTemplateInfoList ¶
func (i *InterfaceTemplateService) GetInterfaceTemplateInfoList(info interfacecaseReq.InterfaceTemplateSearch) (err error, list interface{}, total int64)
func (*InterfaceTemplateService) GetUserConfig ¶
func (i *InterfaceTemplateService) GetUserConfig(projectID uint, userID uint) (userConfig *interfacecase.ApiUserConfig, err error)
func (*InterfaceTemplateService) UpdateDebugTalk ¶
func (i *InterfaceTemplateService) UpdateDebugTalk(debugTalk interfacecase.ApiDebugTalk) (err error)
func (*InterfaceTemplateService) UpdateInterfaceTemplate ¶
func (i *InterfaceTemplateService) UpdateInterfaceTemplate(apicase interfacecase.ApiStep) (id uint, err error)
type MessageServer ¶
type MessageServer struct{}
func (*MessageServer) CreateMessage ¶
func (msgs *MessageServer) CreateMessage(msg interfacecase.ApiMessage) (err error)
func (*MessageServer) DeleteMessage ¶
func (msgs *MessageServer) DeleteMessage(msg interfacecase.ApiMessage) (err error)
func (*MessageServer) FindMessage ¶
func (msgs *MessageServer) FindMessage(id uint) (err error, messages interfacecase.ApiMessage)
func (*MessageServer) GetMessageList ¶
func (msgs *MessageServer) GetMessageList(info interfacecaseReq.ApiMessaceSearch) (err error, list interface{}, total int64)
func (*MessageServer) UpdateMessage ¶
func (msgs *MessageServer) UpdateMessage(msg interfacecase.ApiMessage) (err error)
type PerformanceService ¶
type PerformanceService struct { }
func (*PerformanceService) AddOperation ¶
func (testCaseService *PerformanceService) AddOperation(testcase interfacecase.ApiStep, pid uint) (err error)
func (*PerformanceService) AddPerformanceCase ¶
func (testCaseService *PerformanceService) AddPerformanceCase(performanceID uint, caseIDs []uint) (err error)
func (*PerformanceService) CreatePerformance ¶
func (testCaseService *PerformanceService) CreatePerformance(testCase interfacecase.Performance) (err error)
func (*PerformanceService) DelPerformanceCase ¶
func (testCaseService *PerformanceService) DelPerformanceCase(testCase interfacecase.PerformanceRelationship) (err error)
func (*PerformanceService) DeletePerformance ¶
func (testCaseService *PerformanceService) DeletePerformance(testCase interfacecase.Performance) (err error)
func (*PerformanceService) DeleteReport ¶
func (testCaseService *PerformanceService) DeleteReport(report interfacecase.PerformanceReport) (err error)
func (*PerformanceService) FindPerformance ¶
func (testCaseService *PerformanceService) FindPerformance(id uint) (err error, testCase interfacecase.Performance)
func (*PerformanceService) FindPerformanceCase ¶
func (testCaseService *PerformanceService) FindPerformanceCase(id uint) (err error, performanceRelationship []interfacecase.PerformanceRelationship, name string)
func (*PerformanceService) FindPerformanceStep ¶
func (testCaseService *PerformanceService) FindPerformanceStep(id uint) (err error, step interfacecase.ApiStep)
func (*PerformanceService) FindReport ¶
func (testCaseService *PerformanceService) FindReport(pReportReq interfacecaseReq.PReportDetail) (err error, report interface{})
func (*PerformanceService) GetPerformanceList ¶
func (testCaseService *PerformanceService) GetPerformanceList(info request.PerformancekSearch) (err error, list interface{}, total int64)
func (*PerformanceService) GetReportList ¶
func (testCaseService *PerformanceService) GetReportList(info interfacecaseReq.PReportSearch) (err error, list interface{}, total int64)
func (*PerformanceService) SortPerformanceCase ¶
func (testCaseService *PerformanceService) SortPerformanceCase(testCase []interfacecase.PerformanceRelationship) (err error)
func (*PerformanceService) UpdatePerformance ¶
func (testCaseService *PerformanceService) UpdatePerformance(testCase interfacecase.Performance) (err error)
type PyPkgService ¶
type PyPkgService struct { }
func (*PyPkgService) FindPyPkg
deprecated
func (p *PyPkgService) FindPyPkg(name string) (pkgInfo interfacecase.HrpPyPkg, err error)
Deprecated:FindPyPkg is deprecated, please use FindPyPkgV2 instead. FindPyPkg 查询Python包信息
func (*PyPkgService) FindPyPkgV2 ¶
func (p *PyPkgService) FindPyPkgV2(name string) (pkgInfo *interfacecase.HrpPyPkg, err error)
func (*PyPkgService) PyPkgInstallService
deprecated
func (p *PyPkgService) PyPkgInstallService(pyPkg request.HrpPyPkgRequest, localPkg ...string) (err error)
Deprecated:PyPkgInstallService is deprecated, please use PyPkgInstallServiceV2 instead. PyPkgInstallService 安装Python包
func (*PyPkgService) PyPkgInstallServiceV2 ¶
func (p *PyPkgService) PyPkgInstallServiceV2(pyPkg request.HrpPyPkgRequest) (err error)
func (*PyPkgService) PyPkgListService ¶
func (p *PyPkgService) PyPkgListService(info request.HrpPyPkgRequest) (list interface{}, total int64, err error)
PyPkgListService 获取Python包列表
func (*PyPkgService) PyPkgVersionService ¶
func (p *PyPkgService) PyPkgVersionService(pkgInfo request.HrpPyPkgRequest) (err error, list PyPkgVersionList)
PyPkgVersionService 查询Python包版本
func (*PyPkgService) PythonEnv ¶
func (p *PyPkgService) PythonEnv() (PyEnvPath string, PipEnvPath string)
func (*PyPkgService) SearchPyPkg ¶
func (p *PyPkgService) SearchPyPkg(pkg request.HrpPyPkgRequest) (pkgInfo request.HrpPyPkgRequest, err error)
SearchPyPkg 查询Python包--接口
func (*PyPkgService) SelectPyPkg ¶
func (p *PyPkgService) SelectPyPkg(name string) bool
SelectPyPkg 查询数据库中是否存在该Python包
func (*PyPkgService) UnInstallService ¶
func (p *PyPkgService) UnInstallService(pkg interfacecase.HrpPyPkg) (err error)
UnInstallService 卸载Python包
func (*PyPkgService) UpdatePyPkgService ¶
func (p *PyPkgService) UpdatePyPkgService(PyPkg request.HrpPyPkgRequest) (err error)
UpdatePyPkgService 更新Python包
type PyPkgVersionList ¶
type PyPkgVersionList struct {
Version []string `json:"version"`
}
type ReportService ¶
type ReportService struct { }
func (*ReportService) DelReport ¶
func (reportService *ReportService) DelReport(report interfacecase.ApiReport) (err error)
func (*ReportService) FindReport ¶
func (reportService *ReportService) FindReport(apiReport interfacecase.ApiReport) (err error, list interface{})
func (*ReportService) GetReportDetail ¶
func (reportService *ReportService) GetReportDetail(id uint) (err error, detail interfacecase.ApiReportDetailsRecordsData)
func (*ReportService) GetReportList ¶
func (reportService *ReportService) GetReportList(info interfacecaseReq.ReportSearch) (err error, list interface{}, total int64)
type RunCaseService ¶
type RunCaseService struct {
// contains filtered or unexported fields
}
func (*RunCaseService) Rebalance ¶
func (r *RunCaseService) Rebalance(runCase request.RunCaseReq) (*interfacecase.ApiReport, error)
func (*RunCaseService) RunApi ¶
func (r *RunCaseService) RunApi(runCase request.RunCaseReq) (report *interfacecase.ApiReport, err error)
func (*RunCaseService) RunApiCase ¶
func (r *RunCaseService) RunApiCase(runCase request.RunCaseReq) (report *interfacecase.ApiReport, err error)
func (*RunCaseService) RunBoomer ¶
func (r *RunCaseService) RunBoomer(runCase request.RunCaseReq, runType interfacecase.RunType) (report *interfacecase.ApiReport, err error)
func (*RunCaseService) RunBoomerDebug ¶
func (r *RunCaseService) RunBoomerDebug(runCase request.RunCaseReq) (report *interfacecase.ApiReport, err error)
func (*RunCaseService) RunMasterBoomer ¶
func (r *RunCaseService) RunMasterBoomer(runCase request.RunCaseReq, _ interfacecase.RunType) (*interfacecase.ApiReport, error)
func (*RunCaseService) RunTestCaseStep ¶
func (r *RunCaseService) RunTestCaseStep(runCase request.RunCaseReq) (reports *interfacecase.ApiReport, err error)
func (*RunCaseService) RunTimerTask ¶
func (r *RunCaseService) RunTimerTask(runCase request.RunCaseReq, ci bool)
func (*RunCaseService) RunTimerTaskBack ¶
func (r *RunCaseService) RunTimerTaskBack(taskID uint)
func (*RunCaseService) Stop ¶
func (r *RunCaseService) Stop(runCase request.RunCaseReq) (err error)
type ServiceGroup ¶
type ServiceGroup struct { // Code generated by server Begin; DO NOT EDIT. ApiMenuService InterfaceTemplateService ApiConfigService TestCaseService RunCaseService ReportService ApiCaseService TimerTaskService PerformanceService PyPkgService EnvironmentService MessageServer ApiCIService }
type TestCaseService ¶
type TestCaseService struct { }
func (*TestCaseService) AddTestCaseStep ¶
func (t *TestCaseService) AddTestCaseStep(apiCaseID request.ApiCaseIdReq) (caseApiDetail *interfacecase.ApiStep, err error)
func (*TestCaseService) CreateTestCaseStep ¶
func (t *TestCaseService) CreateTestCaseStep(apicase interfacecase.ApiCaseStep) (err error)
func (*TestCaseService) DelTestCaseStep ¶
func (t *TestCaseService) DelTestCaseStep(apiCaseID request.ApiCaseIdReq) (err error)
func (*TestCaseService) DeleteTestCaseStep ¶
func (t *TestCaseService) DeleteTestCaseStep(apicase interfacecase.ApiCaseStep) (err error)
func (*TestCaseService) DeleteTestCaseStepByIds ¶
func (t *TestCaseService) DeleteTestCaseStepByIds(ids request.IdsReq) (err error)
func (*TestCaseService) FindTestCaseStep ¶
func (t *TestCaseService) FindTestCaseStep(id uint, detail bool) (err error, apicase interfacecase.ApiCaseStep)
func (*TestCaseService) GetTestCaseStepInfoList ¶
func (t *TestCaseService) GetTestCaseStepInfoList(info interfacecaseReq.TestCaseSearch) (err error, list interface{}, total int64)
func (*TestCaseService) SortTestCaseStep ¶
func (t *TestCaseService) SortTestCaseStep(apicase interfacecase.ApiCaseStep) (err error)
func (*TestCaseService) UpdateTestCaseStep ¶
func (t *TestCaseService) UpdateTestCaseStep(apicase interfacecase.ApiCaseStep) (err error)
type TimerTaskService ¶
type TimerTaskService struct { }
func (*TimerTaskService) AddTaskCase ¶
func (taskService *TimerTaskService) AddTaskCase(taskID uint, caseIDs []uint) (err error)
func (*TimerTaskService) AddTaskTestCase ¶
func (taskService *TimerTaskService) AddTaskTestCase(apiCaseID request.ApiCaseIdReq) (caseApiDetail interfacecase.ApiStep, err error)
func (*TimerTaskService) CreateTaskTag ¶
func (taskService *TimerTaskService) CreateTaskTag(taskTag interfacecase.ApiTimerTaskTag) (taskTags []interfacecase.ApiTimerTaskTag, err error)
func (*TimerTaskService) CreateTimerTask ¶
func (taskService *TimerTaskService) CreateTimerTask(task interfacecase.ApiTimerTask) (err error)
func (*TimerTaskService) DelTaskCase ¶
func (taskService *TimerTaskService) DelTaskCase(task interfacecase.ApiTimerTaskRelationship) (err error)
func (*TimerTaskService) DeleteTimerTask ¶
func (taskService *TimerTaskService) DeleteTimerTask(task interfacecase.ApiTimerTask) (err error)
func (*TimerTaskService) DeleteTimerTaskByIds ¶
func (taskService *TimerTaskService) DeleteTimerTaskByIds(ids request.IdsReq) (err error)
func (*TimerTaskService) DeleteTimerTaskTag ¶
func (taskService *TimerTaskService) DeleteTimerTaskTag(task interfacecase.ApiTimerTaskTag) (err error)
func (*TimerTaskService) FindTaskTestCase ¶
func (taskService *TimerTaskService) FindTaskTestCase(id uint) (err error, apiTimerTaskRelationship []interfacecase.ApiTimerTaskRelationship)
func (*TimerTaskService) GetTimerTask ¶
func (taskService *TimerTaskService) GetTimerTask(id uint) (err error, task interfacecase.ApiTimerTask)
func (*TimerTaskService) GetTimerTaskInfoList ¶
func (taskService *TimerTaskService) GetTimerTaskInfoList(info interfacecaseReq.TimerTaskSearch) (err error, list interface{}, total int64)
func (*TimerTaskService) GetTimerTaskTagInfoList ¶
func (taskService *TimerTaskService) GetTimerTaskTagInfoList(info interfacecaseReq.TimerTaskTagSearch) (err error, list interface{}, total int64)
func (*TimerTaskService) SetTaskCase ¶
func (taskService *TimerTaskService) SetTaskCase(id uint, caseIds []uint) (err error)
func (*TimerTaskService) SortTaskCase ¶
func (taskService *TimerTaskService) SortTaskCase(task []interfacecase.ApiTimerTaskRelationship) (err error)
func (*TimerTaskService) UpdateTimerTask ¶
func (taskService *TimerTaskService) UpdateTimerTask(task interfacecase.ApiTimerTask) (err error)
type ToTestCase ¶
type ToTestCase struct { Config interfacecase.ApiConfig TestSteps []interfacecase.ApiStep }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.