Documentation ¶
Overview ¶
Package endpoints 定义所有的 route handle.
Package endpoints Info的handle ¶
Package endpoints release的handle
Index ¶
- Constants
- Variables
- func CreateBuild(pipeline, branch, uid string, appId uint64) (*apistructs.QaBuildCreateResponse, error)
- func GetPipelineLink(p apistructs.PipelineDTO, ctxMap map[string]interface{}) (string, bool)
- func InternalReverseHandler(handler func(context.Context, *http.Request, map[string]string) error) http.Handler
- func MetricsSonar(sonarStore *apistructs.SonarStoreRequest, bdl *bundle.Bundle)
- func NotImplemented(ctx context.Context, request *http.Request, m map[string]string) (httpserver.Responser, error)
- func ProxyMetrics(ctx context.Context, r *http.Request, vars map[string]string) error
- func SetProjectStatsCache()
- func StartHookTaskConsumer()
- type CompareData
- type Endpoints
- func (e *Endpoints) APIDocWebsocket(ctx context.Context, w http.ResponseWriter, r *http.Request, ...) error
- func (e *Endpoints) AddConfigs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) AddIssueRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) AddTestPlanCaseRelIssueRelations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) AddTestPlanV2Step(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ApplicationsResources(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) AutoTestPlanService() *atv2.Service
- func (e *Endpoints) AutotestSpaceStats(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) AutotestV2Service() *atv2.Service
- func (e *Endpoints) BatchCleanTestCasesFromRecycleBin(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) BatchCopyTestCases(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) BatchCreateTestCases(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) BatchDeleteSonarMetricRules(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) BatchInsertSonarMetricRules(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) BatchQueryPipelineSnippetYaml(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) BatchUpdateIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) BatchUpdateIssueSubscriber(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) BatchUpdateTestCases(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) BatchUpdateTestPlanCaseRelations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CDPCallback(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CICDTaskLog(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CancelApiTestPipeline(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CancelApiTests(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CancelCodeCoverage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CancelDiceAutotestScene(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CancelDiceAutotestTestPlans(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CancelQuoteCertificate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CleanTestSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CleanTestSetFromRecycleBin(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CloseTicket(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CloseTicketByKey(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CodeCoverageService() *code_coverage.CodeCoverage
- func (e *Endpoints) CopyAutoTestFileTreeNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CopyAutoTestScene(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CopyAutoTestSpaceV2(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CopySceneSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CopyTestSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateAPIAsset(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateAPITest(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateAPITestEnv(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateAPIVersion(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateAccess(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateApplication(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateAutoTestFileTreeNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateAutoTestGlobalConfig(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateAutoTestScene(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateAutoTestSceneInput(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateAutoTestSceneOutput(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateAutoTestSceneStep(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateAutoTestSpace(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateBranchRule(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateCertificate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateClient(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateComment(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateCommentIssueStream(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateContract(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateFileTreeNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateGittarFileTreeNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateInstantiation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateIssuePanel(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateIssueProperty(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateIssuePropertyInstance(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateIssueStage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateIssueState(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateIteration(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateLibReference(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateNamespace(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateNamespaceRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateOrg(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateOrgPublisher(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateProject(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreatePublisher(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateSLA(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateSceneSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateTestCase(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateTestPlan(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateTestPlanCaseRelations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateTestPlanV2(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateTestReportRecord(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateTestSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateTicket(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DBClient() *dao.DBClient
- func (e *Endpoints) DeleteAPIAsset(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteAPIAssetVersion(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteAPITestEnvByEnvID(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteAccess(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteApiTestsByApiID(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteApplication(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteAutoTestFileTreeNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteAutoTestGlobalConfig(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteAutoTestScene(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteAutoTestSceneInput(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteAutoTestSceneOutput(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteAutoTestSceneStep(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteAutoTestSpace(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteBranchRule(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteCertificate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteClient(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteComment(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteConfig(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteContract(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteFileTreeNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteGittarFileTreeNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteIssuePanel(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteIssueProperty(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteIssueRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteIssueState(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteIteration(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteLibReference(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteNamespace(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteNamespaceRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteOrg(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteProject(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeletePublisher(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteSLA(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteSceneSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteSonarMetricRules(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteTestPlan(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteTestPlanV2(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteTestPlanV2Step(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteTicket(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DownloadSpecText(ctx context.Context, w http.ResponseWriter, r *http.Request, ...) (err error)
- func (e *Endpoints) DragSceneSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) EndCallBack(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) EndCodeCoverage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ExecuteApiTests(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ExecuteAttemptTest(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ExecuteDiceAutotestScene(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ExecuteDiceAutotestSceneStep(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ExecuteDiceAutotestTestPlans(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ExecuteManualTestAPI(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ExecuteTestPlanAPITest(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ExportAutoTestSpace(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ExportAutotestSceneSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ExportConfigs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ExportExcelIssue(ctx context.Context, w http.ResponseWriter, r *http.Request, ...) (err error)
- func (e *Endpoints) ExportTestCases(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ExportTestPlanCaseRels(ctx context.Context, w http.ResponseWriter, r *http.Request, ...) error
- func (e *Endpoints) FetchOrgResources(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) FindAutoTestFileTreeNodeAncestors(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) FindFileTreeNodeAncestors(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) FindGittarFileTreeNodeAncestors(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) FixDataErr(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) FuzzySearchAutoTestFileTreeNodes(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) FuzzySearchFileTreeNodes(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) FuzzySearchGittarFileTreeNodes(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GenerateTestPlanReport(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetAPIAsset(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetAPIAssetVersion(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetAPITestEnv(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetAccess(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetAllValidBranchWorkspaces(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetApiTests(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetAutoTestExecHistory(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetAutoTestFileTreeNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetAutoTestScene(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetAutoTestSceneStep(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetAutoTestSpace(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetAutoTestSpaceList(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetCertificate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetClient(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetCodeCoverageRecord(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetCodeCoverageRecordStatus(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetConfigs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetContract(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetDeployConfigs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetFileRecord(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetFileRecordsByProjectId(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetFileTreeNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetGittarFileByPipelineId(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetGittarFileTreeNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetInstantiations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssueBugPercentage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssueBugSeverityPercentage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssueBugStatusPercentage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssueManHourSum(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssuePanel(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssuePanelIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssueProperties(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssuePropertyInstance(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssuePropertyUpdateTime(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssueRelations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssueStage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssueStateRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssueStates(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssueStatesBelong(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssueStatesByIDs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssuesForWorkbench(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIteration(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetLocale(request *http.Request) *i18n.LocaleResource
- func (e *Endpoints) GetMultiNamespaceConfigs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetNexusOrgDockerCredentialByImage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetNodeDetail(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetOperation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetOrg(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetOrgByDomain(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetOrgNexus(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetPipelineDetail(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetPipelineTaskLogs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetProject(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetPublisher(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetRecords(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetSLA(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetSceneSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetSceneSets(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetSonarCredential(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetSonarMetricRules(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetTestCase(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetTestPlan(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetTestPlanCaseRel(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetTestPlanCaseRels(issueID uint64) ([]apistructs.TestPlanCaseRel, error)
- func (e *Endpoints) GetTestPlanV2(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetTestPlanV2Step(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetTestRecord(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetTestReportRecord(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetTestSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetTestTypes(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetTicket(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetWorkbenchData(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GittarMRCreateCallback(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GittarWebHookCallback(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) Health(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ImportAutotestSceneSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ImportAutotestSpace(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ImportConfigs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ImportExcelIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ImportTestCases(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) Info(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) InternalListTestPlanCaseRels(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) InternalRemoveTestPlanCaseRelIssueRelations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) IssueCallback(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) IssueService() *issue.Issue
- func (e *Endpoints) IssueStateService() *issuestate.IssueState
- func (e *Endpoints) IterationService() *iteration.Iteration
- func (e *Endpoints) ListAPIGateways(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListAPITestEnvs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListAccess(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListApiTests(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListAutoTestFileTreeNodeHistory(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListAutoTestFileTreeNodes(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListAutoTestGlobalConfigs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListAutoTestScene(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListAutoTestSceneInput(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListAutoTestSceneOutput(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListAutoTestSceneStep(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListAutoTestSceneStepOutPut(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListAutoTestScenes(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListCertificates(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListChildrenNodes(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListCodeCoverageRecord(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListComments(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListContract(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListContractRecords(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListFileTreeNodes(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListGittarFileTreeNodes(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListLibReference(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListLibReferenceVersion(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListMemberRoles(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListMyClients(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListMyPublishers(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListOrg(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListProject(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListProjectAPIGateways(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListPublicOrg(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListPublishers(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListQuoteCertificates(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListRuntimeServices(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListSLAs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListSwaggerClient(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListSwaggerVersions(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListTestPlanTestSets(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListTestPlanV2Step(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListTestReportRecord(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListTestSets(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListTicket(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ManualTestCaseService() *testcase.Service
- func (e *Endpoints) ManualTestPlanService() *mttestplan.TestPlan
- func (e *Endpoints) MigrateFromAutoTestV1(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) MoveAutoTestFileTreeNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) MoveAutoTestScene(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) MoveAutoTestSceneStep(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) MoveAutoTestSceneV2(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) MoveTestPlanV2Step(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) MvCpNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) PagingAPIAssetVersions(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) PagingAPIAssets(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) PagingIssueStreams(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) PagingIssues(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) PagingIterations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) PagingSonarMetricRules(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) PagingTestCases(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) PagingTestPlanCaseRelations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) PagingTestPlans(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) PagingTestPlansV2(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ProxyCICDTaskLogDownload(ctx context.Context, r *http.Request, vars map[string]string) error
- func (e *Endpoints) PushCertificateConfig(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) QueryBranchRules(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) QueryPipelineSnippetYaml(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) QueryPipelineSnippetYamlV2(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) QuerySonarMetricRules(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) QuerySonarMetricRulesDefinition(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) QuoteCertificate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ReadyCallBack(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) RecoverTestSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) RecoverTestSetFromRecycleBin(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) RecycleTestSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) RegisterEvents() error
- func (e *Endpoints) RegisterWebhooks() error
- func (e *Endpoints) ReleaseCallback(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) RemoveTestPlanCaseRelIssueRelations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ReopenTicket(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) RepoBranchEventCallback(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) RepoMrEventCallback(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) RepoTagEventCallback(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ReportCallBack(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) Routes() []httpserver.Endpoint
- func (e *Endpoints) RunIssueAddOrRepairHistory(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) RunIssueHistory(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) SaveAutoTestFileTreeNodePipeline(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) SearchOperations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ShowOrgNexusPassword(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) SonarIssues(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) SonarIssuesStore(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) StartCodeCoverage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) StatisticResults(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) SubscribeIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) TestCallback(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) TestCaseService() *testcase.Service
- func (e *Endpoints) TestSetService() *testset.Service
- func (e *Endpoints) TriggerGitNotify(orgID string, appID string, eventName string, params map[string]string) error
- func (e *Endpoints) UCClient() *ucauth.UCClient
- func (e *Endpoints) UnsubscribeIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateAPIAsset(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateAPITestEnv(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateAccess(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateApiTest(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateAssetVersion(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateAutoTestFileTreeNodeBasicInfo(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateAutoTestGlobalConfig(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateAutoTestScene(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateAutoTestSceneInput(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateAutoTestSceneOutput(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateAutoTestSceneStep(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateAutoTestSpace(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateBranchRule(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateCertificate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateClient(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateCmsNsConfigs(userID string, orgID uint64) error
- func (e *Endpoints) UpdateComment(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateConfigs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateContract(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateInstantiation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateIssuePanel(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateIssuePanelIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateIssuePropertiesIndex(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateIssueProperty(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateIssuePropertyInstance(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateIssueStateRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateIssueType(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateIteration(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateOrg(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdatePublisher(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateSLA(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateSceneSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateSonarMetricRules(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateTestCase(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateTestPlan(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateTestPlanV2(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateTestPlanV2Step(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateTestSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateTicket(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ValidateSwagger(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) WatchApprovalStatusChanged(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- type EventCallback
- type Option
- func WithAppCertificate(cer *appcertificate.AppCertificate) Option
- func WithAssetSvc(svc *assetsvc.Service) Option
- func WithAutoTest(svc *autotest.Service) Option
- func WithAutoTestV2(svc *atv2.Service) Option
- func WithBranchRule(branchRule *branchrule.BranchRule) Option
- func WithBundle(bdl *bundle.Bundle) Option
- func WithCDP(c *cdp.CDP) Option
- func WithCQ(cq *cq.CQ) Option
- func WithCertificate(cer *certificate.Certificate) Option
- func WithCodeCoverageExecRecord(svc *code_coverage.CodeCoverage) Option
- func WithComment(comment *comment.Comment) Option
- func WithDB(db *dao.DBClient) Option
- func WithEnvConfig(envConfig *environment.EnvConfig) Option
- func WithEtcdStore(etcdStore *etcd.Store) Option
- func WithEvent(ev *event.Event) Option
- func WithFileTreeSvc(svc *apidocsvc.Service) Option
- func WithGittarFileTree(fileTree *filetree.GittarFileTree) Option
- func WithIssue(issue *issue.Issue) Option
- func WithIssuePanel(panel *issuepanel.IssuePanel) Option
- func WithIssueProperty(property *issueproperty.IssueProperty) Option
- func WithIssueRelated(ir *issuerelated.IssueRelated) Option
- func WithIssueState(state *issuestate.IssueState) Option
- func WithIssueStream(stream *issuestream.IssueStream) Option
- func WithIteration(itr *iteration.Iteration) Option
- func WithJSONStore(store jsonstore.JsonStore) Option
- func WithLibReference(libReference *libreference.LibReference) Option
- func WithMigrate(svc *migrate.Service) Option
- func WithNamespace(namespace *namespace.Namespace) Option
- func WithOSSClient(client *oss.Client) Option
- func WithOrg(org *org.Org) Option
- func WithPermission(perm *permission.Permission) Option
- func WithPipeline(p *pipeline.Pipeline) Option
- func WithPipelineCms(cms cmspb.CmsServiceServer) Option
- func WithProject(p *project.Project) Option
- func WithProjectPipelineFileTree(fileTree *projectpipelinefiletree.FileTree) Option
- func WithPublisher(pub *publisher.Publisher) Option
- func WithQueryStringDecoder(decoder *schema.Decoder) Option
- func WithSceneSet(svc *sceneset.Service) Option
- func WithSonarMetricRule(sonarMetricRule *sonar_metric_rule.Service) Option
- func WithTestReportRecord(svc *test_report.TestReport) Option
- func WithTestSet(svc *testset.Service) Option
- func WithTestcase(svc *testcase.Service) Option
- func WithTestplan(testPlan *mttestplan.TestPlan) Option
- func WithTicket(ticket *ticket.Ticket) Option
- func WithUCClient(uc *ucauth.UCClient) Option
- func WithWorkbench(w *workbench.Workbench) Option
- type SimplifyConfig
- type TextRange
Constants ¶
const ( ApiTest = "API_TEST" PipelineYmlVersion = "1.1" ApiTestType = "api-test" ApiTestIDs = "api_ids" UsecaseID = "usecase_id" PipelineStageLen = 10 Project = "project" Usecase = "case" )
API 返回对应的错误类型
const ( // ReleaseCallbackPath ReleaseCallback的路径 ReleaseCallbackPath = "/api/actions/release-callback" CDPCallbackPath = "/api/actions/cdp-callback" GitCreateMrCallback = "/api/actions/git-mr-create-callback" GitMergeMrCallback = "/api/actions/git-mr-merge-callback" GitCloseMrCallback = "/api/actions/git-mr-close-callback" GitCommentMrCallback = "/api/actions/git-mr-comment-callback" GitDeleteBranchCallback = "/api/actions/git-branch-delete-callback" GitDeleteTagCallback = "/api/actions/git-tag-delete-callback" IssueCallback = "/api/actions/issue-callback" MrCheckRunCallback = "/api/actions/check-run-callback" )
const ( Bugs = "bugs" Coverage = "coverage" Vulnerabilities = "vulnerabilities" CodeSmells = "codeSmells" Duplications = "duplications" IssueStatistics = "issuesStatistics" SonarMetricsName = "sonar_metrics_statistics" )
sonar 分析结果的问题类型
const ( SonarIssue = "SONAR_ISSUE" SonarIssueStore = "SONAR_ISSUE_STORE" )
API 返回对应的错误类型
const APITestEnv = "API_TEST_ENV"
const (
BranchPrefix = "refs/heads/"
)
const (
ErrMsgURLMissingPathApiID = "URL PATH 缺少参数: apiID"
)
const (
PAGE = 300
)
工单对应的pagesize
Variables ¶
var ( ProjectStatsCache *sync.Map Once sync.Once )
var TaskQueue = make(chan *apistructs.GittarPushEventRequest, 300)
Functions ¶
func CreateBuild ¶
func CreateBuild(pipeline, branch, uid string, appId uint64) (*apistructs.QaBuildCreateResponse, error)
func GetPipelineLink ¶
func GetPipelineLink(p apistructs.PipelineDTO, ctxMap map[string]interface{}) (string, bool)
GetPipelineLink Get the link to the running pipeline
func InternalReverseHandler ¶
func MetricsSonar ¶
func MetricsSonar(sonarStore *apistructs.SonarStoreRequest, bdl *bundle.Bundle)
func NotImplemented ¶
func ProxyMetrics ¶
func StartHookTaskConsumer ¶
func StartHookTaskConsumer()
Types ¶
type CompareData ¶
type CompareData struct { Path string `json:"path"` Message string `json:"message"` Rule string `json:"rule"` Code string `json:"code"` //Line int `json:"line"` TextRange TextRange `json:"textRange"` }
CompareData 将新产生的 sonar 问题与上次分析产生的问题进行对比的数据
type Endpoints ¶
type Endpoints struct { ImportChannel chan uint64 ExportChannel chan uint64 CopyChannel chan uint64 // contains filtered or unexported fields }
Endpoints 定义 endpoint 方法
func (*Endpoints) APIDocWebsocket ¶
func (e *Endpoints) APIDocWebsocket(ctx context.Context, w http.ResponseWriter, r *http.Request, vars map[string]string) error
APIDocWebsocket is the handler for the editor session, all edtion in the same websocket session.
func (*Endpoints) AddConfigs ¶
func (e *Endpoints) AddConfigs(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
AddConfigs 添加配置条目
func (*Endpoints) AddIssueRelation ¶
func (e *Endpoints) AddIssueRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
AddIssueRelation 添加issue关联关系
func (*Endpoints) AddTestPlanCaseRelIssueRelations ¶
func (e *Endpoints) AddTestPlanCaseRelIssueRelations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
AddTestPlanCaseRelIssueRelations 测试计划用例与事件缺陷 新增关联
func (*Endpoints) AddTestPlanV2Step ¶
func (e *Endpoints) AddTestPlanV2Step(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
AddTestPlanV2Step Add a step in the test plan
func (*Endpoints) ApplicationsResources ¶ added in v1.5.0
func (e *Endpoints) ApplicationsResources(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ApplicationsResources responses the resources list for every applications in the project
func (*Endpoints) AutoTestPlanService ¶ added in v1.4.0
func (*Endpoints) AutotestSpaceStats ¶ added in v1.5.0
func (*Endpoints) AutotestV2Service ¶
func (*Endpoints) BatchCleanTestCasesFromRecycleBin ¶
func (*Endpoints) BatchCopyTestCases ¶
func (e *Endpoints) BatchCopyTestCases(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
BatchUpdateTestCases 批量复制测试用例
func (*Endpoints) BatchCreateTestCases ¶
func (*Endpoints) BatchDeleteSonarMetricRules ¶
func (*Endpoints) BatchInsertSonarMetricRules ¶
func (*Endpoints) BatchQueryPipelineSnippetYaml ¶
func (*Endpoints) BatchUpdateIssue ¶
func (e *Endpoints) BatchUpdateIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
BatchUpdateIssue 批量更新事件(仅支持需求、缺陷更新处理人、状态、迭代)
func (*Endpoints) BatchUpdateIssueSubscriber ¶
func (e *Endpoints) BatchUpdateIssueSubscriber(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
BatchUpdateIssueSubscriber batch update issue subscriber
func (*Endpoints) BatchUpdateTestCases ¶
func (e *Endpoints) BatchUpdateTestCases(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
BatchUpdateTestCases 批量更新测试用例
func (*Endpoints) BatchUpdateTestPlanCaseRelations ¶
func (e *Endpoints) BatchUpdateTestPlanCaseRelations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
BatchUpdateTestPlanCaseRelations 批量更新测试计划用例关系
func (*Endpoints) CDPCallback ¶
func (e *Endpoints) CDPCallback(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CDPCallback cdp hook的回调
func (*Endpoints) CICDTaskLog ¶
func (e *Endpoints) CICDTaskLog(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CICDTaskLog 包装 cicd task 获取接口 dashboard: /api/logs?start=0&end=1576498555732000000&count=-200&stream=stderr&id=pipeline-task-2059&source=job
func (*Endpoints) CancelApiTestPipeline ¶
func (*Endpoints) CancelApiTests ¶
func (e *Endpoints) CancelApiTests(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CancelApiTests 取消执行测试计划
func (*Endpoints) CancelCodeCoverage ¶ added in v1.3.1
func (e *Endpoints) CancelCodeCoverage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CancelCodeCoverage cancel all exec of project
func (*Endpoints) CancelDiceAutotestScene ¶
func (e *Endpoints) CancelDiceAutotestScene(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CancelDiceAutotestScene 取消执行场景
func (*Endpoints) CancelDiceAutotestTestPlans ¶
func (*Endpoints) CancelQuoteCertificate ¶
func (e *Endpoints) CancelQuoteCertificate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CancelQuoteCertificate 应用删除引用Certificate
func (*Endpoints) CleanTestSet ¶
func (e *Endpoints) CleanTestSet(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CleanTestSet 清空测试集
func (*Endpoints) CleanTestSetFromRecycleBin ¶
func (*Endpoints) CloseTicket ¶
func (e *Endpoints) CloseTicket(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CloseTicket 关闭工单
func (*Endpoints) CloseTicketByKey ¶
func (e *Endpoints) CloseTicketByKey(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CloseTicketByKey 根据 key 关闭工单(告警使用, 仅对内)
func (*Endpoints) CodeCoverageService ¶ added in v1.3.1
func (e *Endpoints) CodeCoverageService() *code_coverage.CodeCoverage
func (*Endpoints) CopyAutoTestFileTreeNode ¶
func (*Endpoints) CopyAutoTestScene ¶
func (e *Endpoints) CopyAutoTestScene(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CopyAutoTestScene 复制场景
func (*Endpoints) CopyAutoTestSpaceV2 ¶
func (e *Endpoints) CopyAutoTestSpaceV2(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CopyAutoTestSpaceV2 v2 use spaceData copy self, resolve input id bug
func (*Endpoints) CopySceneSet ¶
func (*Endpoints) CopyTestSet ¶
func (e *Endpoints) CopyTestSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CopyTestSet 拷贝测试集
func (*Endpoints) CreateAPIAsset ¶
func (e *Endpoints) CreateAPIAsset(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateAPIAsset creates APIAsset
func (*Endpoints) CreateAPITest ¶
func (e *Endpoints) CreateAPITest(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateAPITest 创建 API 接口测试
func (*Endpoints) CreateAPITestEnv ¶
func (e *Endpoints) CreateAPITestEnv(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateAPITestEnv 创建API测试环境变量
func (*Endpoints) CreateAPIVersion ¶
func (e *Endpoints) CreateAPIVersion(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateAPIVersion 创建 API 资料版本
func (*Endpoints) CreateAccess ¶
func (e *Endpoints) CreateAccess(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateAccess creates an Access
func (*Endpoints) CreateApplication ¶
func (e *Endpoints) CreateApplication(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CreateApplication 创建应用
func (*Endpoints) CreateAutoTestFileTreeNode ¶
func (*Endpoints) CreateAutoTestGlobalConfig ¶
func (*Endpoints) CreateAutoTestScene ¶
func (e *Endpoints) CreateAutoTestScene(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateAutoTestScene 新建场景
func (*Endpoints) CreateAutoTestSceneInput ¶
func (e *Endpoints) CreateAutoTestSceneInput(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateAutoTestSceneInput 创建场景入参
func (*Endpoints) CreateAutoTestSceneOutput ¶
func (e *Endpoints) CreateAutoTestSceneOutput(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateAutoTestSceneOutput 创建场景出参
func (*Endpoints) CreateAutoTestSceneStep ¶
func (e *Endpoints) CreateAutoTestSceneStep(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateAutoTestSceneStep 创建场景步骤
func (*Endpoints) CreateAutoTestSpace ¶
func (e *Endpoints) CreateAutoTestSpace(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateAutoTestSpace 创建测试空间
func (*Endpoints) CreateBranchRule ¶
func (e *Endpoints) CreateBranchRule(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateBranchRule 创建分支规则
func (*Endpoints) CreateCertificate ¶
func (e *Endpoints) CreateCertificate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateCertificate 创建证书
func (*Endpoints) CreateClient ¶
func (e *Endpoints) CreateClient(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
创建一个客户端
func (*Endpoints) CreateComment ¶
func (e *Endpoints) CreateComment(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CreateComment 创建工单评论
func (*Endpoints) CreateCommentIssueStream ¶
func (e *Endpoints) CreateCommentIssueStream(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateCommentIssueStream 创建评论活动记录
func (*Endpoints) CreateContract ¶
func (e *Endpoints) CreateContract(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
创建一个合约
func (*Endpoints) CreateFileTreeNode ¶
func (*Endpoints) CreateGittarFileTreeNode ¶
func (*Endpoints) CreateInstantiation ¶
func (e *Endpoints) CreateInstantiation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
实例化 (即创建一个 instantiation)
func (*Endpoints) CreateIssue ¶
func (e *Endpoints) CreateIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateIssue 创建事件
func (*Endpoints) CreateIssuePanel ¶
func (e *Endpoints) CreateIssuePanel(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateIssuePanel create panel
func (*Endpoints) CreateIssueProperty ¶
func (*Endpoints) CreateIssuePropertyInstance ¶
func (*Endpoints) CreateIssueStage ¶
func (e *Endpoints) CreateIssueStage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateIssueStage 创建事件
func (*Endpoints) CreateIssueState ¶
func (e *Endpoints) CreateIssueState(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateIssueState 创建事件状态
func (*Endpoints) CreateIteration ¶
func (e *Endpoints) CreateIteration(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateIteration 创建迭代
func (*Endpoints) CreateLibReference ¶
func (e *Endpoints) CreateLibReference(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateLibReference 创建库引用
func (*Endpoints) CreateNamespace ¶
func (e *Endpoints) CreateNamespace(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CreateNamespace 创建 namespace
func (*Endpoints) CreateNamespaceRelation ¶
func (e *Endpoints) CreateNamespaceRelation(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CreateNamespaceRelation 创建 namespace 关联关系
func (*Endpoints) CreateNode ¶
func (*Endpoints) CreateOrg ¶
func (e *Endpoints) CreateOrg(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateOrg 创建企业
func (*Endpoints) CreateOrgPublisher ¶
func (e *Endpoints) CreateOrgPublisher(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateOrgPublisher 创建发布商
func (*Endpoints) CreateProject ¶
func (e *Endpoints) CreateProject(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateProject 创建项目
func (*Endpoints) CreatePublisher ¶
func (e *Endpoints) CreatePublisher(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreatePublisher 创建Publisher
func (*Endpoints) CreateSLA ¶
func (e *Endpoints) CreateSLA(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
创建 SLA
func (*Endpoints) CreateSceneSet ¶
func (*Endpoints) CreateTestCase ¶
func (e *Endpoints) CreateTestCase(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateTestCase 创建测试用例
func (*Endpoints) CreateTestPlan ¶
func (e *Endpoints) CreateTestPlan(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateTestPlan 创建测试计划
func (*Endpoints) CreateTestPlanCaseRelations ¶
func (e *Endpoints) CreateTestPlanCaseRelations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateTestPlanCaseRelations 创建测试计划用例关系
func (*Endpoints) CreateTestPlanV2 ¶
func (e *Endpoints) CreateTestPlanV2(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateTestPlanV2 Create test plan
func (*Endpoints) CreateTestReportRecord ¶ added in v1.4.0
func (*Endpoints) CreateTestSet ¶
func (e *Endpoints) CreateTestSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateTestSet 创建测试集
func (*Endpoints) CreateTicket ¶
func (e *Endpoints) CreateTicket(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CreateTicket 创建工单
func (*Endpoints) DeleteAPIAsset ¶
func (e *Endpoints) DeleteAPIAsset(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteAPIAsset deletes APIAsset
func (*Endpoints) DeleteAPIAssetVersion ¶
func (e *Endpoints) DeleteAPIAssetVersion(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteAPIAssetVersion 删除 API Version
func (*Endpoints) DeleteAPITestEnvByEnvID ¶
func (e *Endpoints) DeleteAPITestEnvByEnvID(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteAPITestEnvByEnvID 根据envID删除测试环境变量
func (*Endpoints) DeleteAccess ¶
func (*Endpoints) DeleteApiTestsByApiID ¶
func (e *Endpoints) DeleteApiTestsByApiID(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteApiTestsByApiID 根据apiID删除接口测试信息
func (*Endpoints) DeleteApplication ¶
func (e *Endpoints) DeleteApplication(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
DeleteApplication delete application
func (*Endpoints) DeleteAutoTestFileTreeNode ¶
func (*Endpoints) DeleteAutoTestGlobalConfig ¶
func (*Endpoints) DeleteAutoTestScene ¶
func (e *Endpoints) DeleteAutoTestScene(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteAutoTestScene 删除场景
func (*Endpoints) DeleteAutoTestSceneInput ¶
func (e *Endpoints) DeleteAutoTestSceneInput(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteAutoTestSceneInput 删除场景入参列表
func (*Endpoints) DeleteAutoTestSceneOutput ¶
func (e *Endpoints) DeleteAutoTestSceneOutput(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteAutoTestSceneOutput 删除场景出参
func (*Endpoints) DeleteAutoTestSceneStep ¶
func (e *Endpoints) DeleteAutoTestSceneStep(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteAutoTestSceneStep 删除场景步骤
func (*Endpoints) DeleteAutoTestSpace ¶
func (e *Endpoints) DeleteAutoTestSpace(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteAutoTestSpace 删除测试空间
func (*Endpoints) DeleteBranchRule ¶
func (e *Endpoints) DeleteBranchRule(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteBranchRule 删除分支规则
func (*Endpoints) DeleteCertificate ¶
func (e *Endpoints) DeleteCertificate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteCertificate 删除Certificate
func (*Endpoints) DeleteClient ¶
func (*Endpoints) DeleteComment ¶
func (e *Endpoints) DeleteComment(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
DeleteComment 删除工单评论
func (*Endpoints) DeleteConfig ¶
func (e *Endpoints) DeleteConfig(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
DeleteConfig 删除指定 namespace 下的某个配置
func (*Endpoints) DeleteContract ¶
func (*Endpoints) DeleteFileTreeNode ¶
func (*Endpoints) DeleteGittarFileTreeNode ¶
func (*Endpoints) DeleteIssue ¶
func (e *Endpoints) DeleteIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteIssue delete the issue
func (*Endpoints) DeleteIssuePanel ¶
func (e *Endpoints) DeleteIssuePanel(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteIssuePanel delete panel
func (*Endpoints) DeleteIssueProperty ¶
func (*Endpoints) DeleteIssueRelation ¶
func (e *Endpoints) DeleteIssueRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteIssueRelation 删除issue关联关系
func (*Endpoints) DeleteIssueState ¶
func (e *Endpoints) DeleteIssueState(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteIssueState 删除事件状态
func (*Endpoints) DeleteIteration ¶
func (e *Endpoints) DeleteIteration(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteIteration 删除 iteration
func (*Endpoints) DeleteLibReference ¶
func (e *Endpoints) DeleteLibReference(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteLibReference 删除库引用
func (*Endpoints) DeleteNamespace ¶
func (e *Endpoints) DeleteNamespace(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteNamespace 删除 namespace
func (*Endpoints) DeleteNamespaceRelation ¶
func (e *Endpoints) DeleteNamespaceRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteNamespaceRelation 删除 namespace 关联关系
func (*Endpoints) DeleteNode ¶
func (*Endpoints) DeleteOrg ¶
func (e *Endpoints) DeleteOrg(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteOrg 删除企业
func (*Endpoints) DeleteProject ¶
func (e *Endpoints) DeleteProject(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteProject delete project
func (*Endpoints) DeletePublisher ¶
func (e *Endpoints) DeletePublisher(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeletePublisher 删除Publisher
func (*Endpoints) DeleteSceneSet ¶
func (*Endpoints) DeleteSonarMetricRules ¶
func (*Endpoints) DeleteTestPlan ¶
func (e *Endpoints) DeleteTestPlan(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteTestPlan 删除测试计划
func (*Endpoints) DeleteTestPlanV2 ¶
func (e *Endpoints) DeleteTestPlanV2(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteTestPlanV2 Delete test plan
func (*Endpoints) DeleteTestPlanV2Step ¶
func (e *Endpoints) DeleteTestPlanV2Step(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteTestPlanV2Step Delete a step in the test plan
func (*Endpoints) DeleteTicket ¶
func (e *Endpoints) DeleteTicket(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CloseTicket 关闭工单
func (*Endpoints) DownloadSpecText ¶
func (e *Endpoints) DownloadSpecText(ctx context.Context, w http.ResponseWriter, r *http.Request, vars map[string]string) (err error)
下载 swagger 文本
func (*Endpoints) DragSceneSet ¶
func (*Endpoints) EndCallBack ¶ added in v1.3.1
func (e *Endpoints) EndCallBack(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
EndCallBack Record end callBack
func (*Endpoints) EndCodeCoverage ¶ added in v1.3.1
func (e *Endpoints) EndCodeCoverage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
EndCodeCoverage end code coverage
func (*Endpoints) ExecuteApiTests ¶
func (e *Endpoints) ExecuteApiTests(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ExecuteApiTests 根据planID创建个pipeline执行api测试
func (*Endpoints) ExecuteAttemptTest ¶
func (*Endpoints) ExecuteDiceAutotestScene ¶
func (e *Endpoints) ExecuteDiceAutotestScene(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ExecuteDiceAutotestScene 执行场景
func (*Endpoints) ExecuteDiceAutotestSceneStep ¶
func (e *Endpoints) ExecuteDiceAutotestSceneStep(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ExecuteDiceAutotestScene 执行步骤
func (*Endpoints) ExecuteDiceAutotestTestPlans ¶
func (*Endpoints) ExecuteManualTestAPI ¶
func (e *Endpoints) ExecuteManualTestAPI(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ExecuteManualTestAPI 用户尝试执行单个或者多个API测试
func (*Endpoints) ExecuteTestPlanAPITest ¶
func (e *Endpoints) ExecuteTestPlanAPITest(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ExecuteTestPlanAPITest 执行测试计划接口测试
func (*Endpoints) ExportAutoTestSpace ¶
func (*Endpoints) ExportAutotestSceneSet ¶ added in v1.4.0
func (*Endpoints) ExportConfigs ¶
func (*Endpoints) ExportExcelIssue ¶
func (e *Endpoints) ExportExcelIssue(ctx context.Context, w http.ResponseWriter, r *http.Request, vars map[string]string) (err error)
ExportExcelIssue 导出事件到 excel
func (*Endpoints) ExportTestCases ¶
func (e *Endpoints) ExportTestCases(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ExportTestCases 导出测试用例
func (*Endpoints) ExportTestPlanCaseRels ¶
func (e *Endpoints) ExportTestPlanCaseRels(ctx context.Context, w http.ResponseWriter, r *http.Request, vars map[string]string) error
ExportTestCases 导出测试计划下的测试用例
func (*Endpoints) FetchOrgResources ¶ added in v1.4.0
func (*Endpoints) FindAutoTestFileTreeNodeAncestors ¶
func (*Endpoints) FindFileTreeNodeAncestors ¶
func (*Endpoints) FindGittarFileTreeNodeAncestors ¶
func (*Endpoints) FixDataErr ¶
func (e *Endpoints) FixDataErr(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
FixDataErr 修复 namespace 不存在的数据
func (*Endpoints) FuzzySearchAutoTestFileTreeNodes ¶
func (*Endpoints) FuzzySearchFileTreeNodes ¶
func (*Endpoints) FuzzySearchGittarFileTreeNodes ¶
func (*Endpoints) GenerateTestPlanReport ¶
func (e *Endpoints) GenerateTestPlanReport(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GenerateTestPlanReport 生成测试计划报告
func (*Endpoints) GetAPIAsset ¶
func (e *Endpoints) GetAPIAsset(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetAPIAsset selects APIAsset
func (*Endpoints) GetAPIAssetVersion ¶
func (e *Endpoints) GetAPIAssetVersion(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetAPIAssetVersion 查询 API 资产版本详情
func (*Endpoints) GetAPITestEnv ¶
func (e *Endpoints) GetAPITestEnv(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetAPITestEnv 获取指定ID的环境变量信息
func (*Endpoints) GetAllValidBranchWorkspaces ¶
func (e *Endpoints) GetAllValidBranchWorkspaces(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetAllValidBranchWorkspaces 查询应用分支
func (*Endpoints) GetApiTests ¶
func (e *Endpoints) GetApiTests(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetApiTests 根据获取接口测试信息
func (*Endpoints) GetAutoTestExecHistory ¶ added in v1.4.0
func (e *Endpoints) GetAutoTestExecHistory(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetAutoTestExecHistory .
func (*Endpoints) GetAutoTestFileTreeNode ¶
func (*Endpoints) GetAutoTestScene ¶
func (e *Endpoints) GetAutoTestScene(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetAutoTestScene 获取场景
func (*Endpoints) GetAutoTestSceneStep ¶
func (e *Endpoints) GetAutoTestSceneStep(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetAutoTestSceneStep 获取场景步骤
func (*Endpoints) GetAutoTestSpace ¶
func (e *Endpoints) GetAutoTestSpace(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetAutoTestSpace 获取测试空间
func (*Endpoints) GetAutoTestSpaceList ¶
func (e *Endpoints) GetAutoTestSpaceList(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetAutoTestSpaceList 获取测试空间列表
func (*Endpoints) GetCertificate ¶
func (e *Endpoints) GetCertificate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetCertificate 获取Certificate详情
func (*Endpoints) GetClient ¶
func (e *Endpoints) GetClient(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
查询一个客户端的详情
func (*Endpoints) GetCodeCoverageRecord ¶ added in v1.3.1
func (e *Endpoints) GetCodeCoverageRecord(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetCodeCoverageRecord get code coverage record
func (*Endpoints) GetCodeCoverageRecordStatus ¶ added in v1.4.0
func (*Endpoints) GetConfigs ¶
func (e *Endpoints) GetConfigs(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
GetConfigs 获取指定 namespace 所有环境变量配置
func (*Endpoints) GetContract ¶
func (*Endpoints) GetDeployConfigs ¶
func (e *Endpoints) GetDeployConfigs(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
GetDeployConfigs 获取指定 namespace 的部署配置
func (*Endpoints) GetFileRecord ¶
func (*Endpoints) GetFileRecordsByProjectId ¶
func (e *Endpoints) GetFileRecordsByProjectId(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
Get File Records
func (*Endpoints) GetFileTreeNode ¶
func (*Endpoints) GetGittarFileByPipelineId ¶
func (*Endpoints) GetGittarFileTreeNode ¶
func (*Endpoints) GetInstantiations ¶
func (e *Endpoints) GetInstantiations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
查询 minor 下的 instantiation
func (*Endpoints) GetIssue ¶
func (e *Endpoints) GetIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetIssue 事件详情
func (*Endpoints) GetIssueBugPercentage ¶
func (e *Endpoints) GetIssueBugPercentage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetIssueBugPercentage 缺陷率查询
func (*Endpoints) GetIssueBugSeverityPercentage ¶
func (e *Endpoints) GetIssueBugSeverityPercentage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetIssueBugSeverityPercentage 缺陷状态发布查询
func (*Endpoints) GetIssueBugStatusPercentage ¶
func (e *Endpoints) GetIssueBugStatusPercentage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetIssueBugStatusPercentage 缺陷状态发布查询
func (*Endpoints) GetIssueManHourSum ¶
func (e *Endpoints) GetIssueManHourSum(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetIssueManHourSum 事件流任务总和查询
func (*Endpoints) GetIssuePanel ¶
func (e *Endpoints) GetIssuePanel(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetIssuePanel get panel
func (*Endpoints) GetIssuePanelIssue ¶
func (e *Endpoints) GetIssuePanelIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetIssuePanelIssue get panelIssue
func (*Endpoints) GetIssueProperties ¶
func (*Endpoints) GetIssuePropertyInstance ¶
func (*Endpoints) GetIssuePropertyUpdateTime ¶
func (*Endpoints) GetIssueRelations ¶
func (e *Endpoints) GetIssueRelations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetIssueRelations 获取Issue关联信息,包含关联和被关联信息
func (*Endpoints) GetIssueStage ¶
func (*Endpoints) GetIssueStateRelation ¶
func (e *Endpoints) GetIssueStateRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetIssueStateRelation 获取工作流
func (*Endpoints) GetIssueStates ¶
func (e *Endpoints) GetIssueStates(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetIssueStates 获取事件状态列表
func (*Endpoints) GetIssueStatesBelong ¶
func (e *Endpoints) GetIssueStatesBelong(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetIssueStatesBelong 根据事件类型获取事件状态列表
func (*Endpoints) GetIssueStatesByIDs ¶
func (*Endpoints) GetIssuesForWorkbench ¶
func (*Endpoints) GetIteration ¶
func (e *Endpoints) GetIteration(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetIteration 获取迭代详情
func (*Endpoints) GetLocale ¶
func (e *Endpoints) GetLocale(request *http.Request) *i18n.LocaleResource
GetLocale 获取本地化资源
func (*Endpoints) GetMultiNamespaceConfigs ¶
func (e *Endpoints) GetMultiNamespaceConfigs(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
GetMultiNamespaceConfigs 获取多个 namespace 的所有环境变量配置
func (*Endpoints) GetNexusOrgDockerCredentialByImage ¶
func (*Endpoints) GetNodeDetail ¶
func (*Endpoints) GetOperation ¶
func (e *Endpoints) GetOperation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
查询文档中的接口详情
func (*Endpoints) GetOrg ¶
func (e *Endpoints) GetOrg(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetOrg 获取企业详情
func (*Endpoints) GetOrgByDomain ¶
func (e *Endpoints) GetOrgByDomain(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
GetOrgByDomain 通过域名查询企业
func (*Endpoints) GetOrgNexus ¶
func (*Endpoints) GetPipelineDetail ¶
func (e *Endpoints) GetPipelineDetail(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetPipelineDetail 根据 pipelineID 获取详情
func (*Endpoints) GetPipelineTaskLogs ¶
func (e *Endpoints) GetPipelineTaskLogs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetPipelineTaskLogs 根据 taskID 获取 pipeline task 日志详情
func (*Endpoints) GetProject ¶ added in v1.4.0
func (e *Endpoints) GetProject(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetProject gets the project info
func (*Endpoints) GetPublisher ¶
func (e *Endpoints) GetPublisher(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetPublisher 获取Publisher详情
func (*Endpoints) GetRecords ¶
func (*Endpoints) GetSceneSet ¶
func (*Endpoints) GetSceneSets ¶
func (*Endpoints) GetSonarCredential ¶
func (e *Endpoints) GetSonarCredential(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetSonarCredential 该 API 只允许 token 访问,校验已由 openapi checkToken 完成
func (*Endpoints) GetSonarMetricRules ¶
func (*Endpoints) GetTestCase ¶
func (e *Endpoints) GetTestCase(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetTestCase 获取测试用例详情
func (*Endpoints) GetTestPlan ¶
func (e *Endpoints) GetTestPlan(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetTestPlan 测试计划详情
func (*Endpoints) GetTestPlanCaseRel ¶
func (*Endpoints) GetTestPlanCaseRels ¶
func (e *Endpoints) GetTestPlanCaseRels(issueID uint64) ([]apistructs.TestPlanCaseRel, error)
func (*Endpoints) GetTestPlanV2 ¶
func (e *Endpoints) GetTestPlanV2(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetTestPlanV2 Get testplan detail
func (*Endpoints) GetTestPlanV2Step ¶
func (e *Endpoints) GetTestPlanV2Step(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateTestPlanV2Step Update the test plan step
func (*Endpoints) GetTestRecord ¶
func (*Endpoints) GetTestReportRecord ¶ added in v1.4.0
func (*Endpoints) GetTestSet ¶
func (*Endpoints) GetTestTypes ¶
func (*Endpoints) GetTicket ¶
func (e *Endpoints) GetTicket(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
GetTicket 获取工单详情
func (*Endpoints) GetWorkbenchData ¶
func (*Endpoints) GittarMRCreateCallback ¶
func (*Endpoints) GittarWebHookCallback ¶
func (*Endpoints) Health ¶
func (e *Endpoints) Health(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
Health Component health check interface
func (*Endpoints) ImportAutotestSceneSet ¶ added in v1.4.0
func (*Endpoints) ImportAutotestSpace ¶
func (*Endpoints) ImportConfigs ¶
func (*Endpoints) ImportExcelIssue ¶
func (e *Endpoints) ImportExcelIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ImportExcelIssue 从excel导入事项
func (*Endpoints) ImportTestCases ¶
func (e *Endpoints) ImportTestCases(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ImportTestCases 导入测试用例
func (*Endpoints) Info ¶
func (e *Endpoints) Info(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
Info 用于健康检查
func (*Endpoints) InternalListTestPlanCaseRels ¶
func (e *Endpoints) InternalListTestPlanCaseRels(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
InternalListTestPlanCaseRels 仅供内部使用
func (*Endpoints) InternalRemoveTestPlanCaseRelIssueRelations ¶
func (e *Endpoints) InternalRemoveTestPlanCaseRelIssueRelations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
InternalRemoveTestPlanCaseRelIssueRelations 仅供内部使用,删除测试计划用例下的 bug 关联关系
func (*Endpoints) IssueCallback ¶
func (e *Endpoints) IssueCallback(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
IssueCallback 事件管理 hook的回调
func (*Endpoints) IssueService ¶ added in v1.3.1
func (*Endpoints) IssueStateService ¶ added in v1.3.0
func (e *Endpoints) IssueStateService() *issuestate.IssueState
func (*Endpoints) IterationService ¶ added in v1.4.0
func (*Endpoints) ListAPIGateways ¶
func (*Endpoints) ListAPITestEnvs ¶
func (e *Endpoints) ListAPITestEnvs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListPAPITestEnvs 获取环境变量信息列表
func (*Endpoints) ListAccess ¶
func (e *Endpoints) ListAccess(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListAccess lists Accesses
func (*Endpoints) ListApiTests ¶
func (e *Endpoints) ListApiTests(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListApiTests 获取接口测试信息列表
func (*Endpoints) ListAutoTestFileTreeNodeHistory ¶
func (*Endpoints) ListAutoTestFileTreeNodes ¶
func (*Endpoints) ListAutoTestGlobalConfigs ¶
func (*Endpoints) ListAutoTestScene ¶
func (e *Endpoints) ListAutoTestScene(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListAutoTestScene 获取场景列表
func (*Endpoints) ListAutoTestSceneInput ¶
func (e *Endpoints) ListAutoTestSceneInput(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListAutoTestSceneInput 获取场景入参列表
func (*Endpoints) ListAutoTestSceneOutput ¶
func (e *Endpoints) ListAutoTestSceneOutput(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListAutoTestSceneOutput 获取场景出参列表
func (*Endpoints) ListAutoTestSceneStep ¶
func (e *Endpoints) ListAutoTestSceneStep(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListAutoTestSceneStep 获取场景步骤列表
func (*Endpoints) ListAutoTestSceneStepOutPut ¶
func (e *Endpoints) ListAutoTestSceneStepOutPut(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListAutoTestSceneStepOutPut 获取场景步骤出参
func (*Endpoints) ListAutoTestScenes ¶
func (*Endpoints) ListCertificates ¶
func (e *Endpoints) ListCertificates(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListCertificates 所有Certificate列表
func (*Endpoints) ListChildrenNodes ¶
func (*Endpoints) ListCodeCoverageRecord ¶ added in v1.3.1
func (e *Endpoints) ListCodeCoverageRecord(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListCodeCoverageRecord list code coverage record
func (*Endpoints) ListComments ¶
func (e *Endpoints) ListComments(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
ListComments 工单评论列表
func (*Endpoints) ListContract ¶
func (e *Endpoints) ListContract(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
查询客户端下的合约列表
func (*Endpoints) ListContractRecords ¶
func (e *Endpoints) ListContractRecords(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
查询合约操作记录
func (*Endpoints) ListFileTreeNodes ¶
func (*Endpoints) ListGittarFileTreeNodes ¶
func (*Endpoints) ListLibReference ¶
func (e *Endpoints) ListLibReference(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListLibReference 库引用列表
func (*Endpoints) ListLibReferenceVersion ¶
func (e *Endpoints) ListLibReferenceVersion(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListLibReferenceVersion 移动应用引用库依赖版本列表
func (*Endpoints) ListMemberRoles ¶
func (e *Endpoints) ListMemberRoles(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
ListMemberRoles 获取企业下面的角色列表
func (*Endpoints) ListMyClients ¶
func (e *Endpoints) ListMyClients(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
获取本人创建的客户端列表
func (*Endpoints) ListMyPublishers ¶
func (e *Endpoints) ListMyPublishers(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListMyPublishers 我的Publisher列表
func (*Endpoints) ListOrg ¶
func (e *Endpoints) ListOrg(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListOrg list org
func (*Endpoints) ListProject ¶
func (e *Endpoints) ListProject(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListProject list project
func (*Endpoints) ListProjectAPIGateways ¶
func (*Endpoints) ListPublicOrg ¶
func (e *Endpoints) ListPublicOrg(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListPublicOrg list public org
func (*Endpoints) ListPublishers ¶
func (e *Endpoints) ListPublishers(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListPublishers 所有Publisher列表
func (*Endpoints) ListQuoteCertificates ¶
func (e *Endpoints) ListQuoteCertificates(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListQuoteCertificates 所有Certificate列表
func (*Endpoints) ListRuntimeServices ¶
func (e *Endpoints) ListRuntimeServices(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
拉取 application 下的服务的地址
func (*Endpoints) ListSLAs ¶
func (e *Endpoints) ListSLAs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
SLAs 列表
func (*Endpoints) ListSwaggerClient ¶
func (*Endpoints) ListSwaggerVersions ¶
func (e *Endpoints) ListSwaggerVersions(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
查询 swaggerVersions (即版本树)
func (*Endpoints) ListTestPlanTestSets ¶
func (e *Endpoints) ListTestPlanTestSets(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListTestPlanTestSets 获取测试计划下的测试集列表
func (*Endpoints) ListTestPlanV2Step ¶ added in v1.3.2
func (e *Endpoints) ListTestPlanV2Step(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListTestPlanV2Step list TestPlan step
func (*Endpoints) ListTestReportRecord ¶ added in v1.4.0
func (*Endpoints) ListTestSets ¶
func (e *Endpoints) ListTestSets(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListTestSets 获取测试集列表
func (*Endpoints) ListTicket ¶
func (e *Endpoints) ListTicket(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
ListTicket 工单列表
func (*Endpoints) ManualTestCaseService ¶ added in v1.4.0
func (*Endpoints) ManualTestPlanService ¶ added in v1.4.0
func (e *Endpoints) ManualTestPlanService() *mttestplan.TestPlan
func (*Endpoints) MigrateFromAutoTestV1 ¶
func (*Endpoints) MoveAutoTestFileTreeNode ¶
func (*Endpoints) MoveAutoTestScene ¶
func (e *Endpoints) MoveAutoTestScene(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
MoveAutoTestScene 移动场景
func (*Endpoints) MoveAutoTestSceneStep ¶
func (e *Endpoints) MoveAutoTestSceneStep(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
MoveAutoTestSceneStep 移动场景步骤
func (*Endpoints) MoveAutoTestSceneV2 ¶ added in v1.5.0
func (e *Endpoints) MoveAutoTestSceneV2(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
MoveAutoTestSceneV2 Move scene between scene set, include the group drag
func (*Endpoints) MoveTestPlanV2Step ¶
func (e *Endpoints) MoveTestPlanV2Step(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
MoveTestPlanV2Step move the test plan step
func (*Endpoints) PagingAPIAssetVersions ¶
func (e *Endpoints) PagingAPIAssetVersions(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
PagingAPIAssetVersions 查询 API 资料版本列表
func (*Endpoints) PagingAPIAssets ¶
func (e *Endpoints) PagingAPIAssets(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
PagingAPIAssets pages APIAssets
func (*Endpoints) PagingIssueStreams ¶
func (e *Endpoints) PagingIssueStreams(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
PagingIssueStreams 事件流分页查询
func (*Endpoints) PagingIssues ¶
func (e *Endpoints) PagingIssues(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
PagingIssues 分页查询事件
func (*Endpoints) PagingIterations ¶
func (e *Endpoints) PagingIterations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
PagingIterations 分页查询迭代
func (*Endpoints) PagingSonarMetricRules ¶
func (*Endpoints) PagingTestCases ¶
func (e *Endpoints) PagingTestCases(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
PagingTestCases 获取测试用例列表
func (*Endpoints) PagingTestPlanCaseRelations ¶
func (e *Endpoints) PagingTestPlanCaseRelations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
PagingTestPlanCaseRelations 测试计划内测试用例过滤
func (*Endpoints) PagingTestPlans ¶
func (e *Endpoints) PagingTestPlans(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
PagingTestPlans 测试计划分页
func (*Endpoints) PagingTestPlansV2 ¶
func (e *Endpoints) PagingTestPlansV2(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
PagingTestPlansV2 Page query test plan
func (*Endpoints) ProxyCICDTaskLogDownload ¶
func (e *Endpoints) ProxyCICDTaskLogDownload(ctx context.Context, r *http.Request, vars map[string]string) error
ProxyCICDTaskLogDownload 包装 cicd task 下载接口
func (*Endpoints) PushCertificateConfig ¶
func (e *Endpoints) PushCertificateConfig(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
PushCertificateConfig 推送证书配置到配置管理
func (*Endpoints) QueryBranchRules ¶
func (e *Endpoints) QueryBranchRules(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
QueryBranchRules 查询分支规则
func (*Endpoints) QueryPipelineSnippetYaml ¶
func (*Endpoints) QueryPipelineSnippetYamlV2 ¶
func (*Endpoints) QuerySonarMetricRules ¶
func (*Endpoints) QuerySonarMetricRulesDefinition ¶
func (*Endpoints) QuoteCertificate ¶
func (e *Endpoints) QuoteCertificate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
QuoteCertificate 应用引用证书
func (*Endpoints) ReadyCallBack ¶ added in v1.3.1
func (e *Endpoints) ReadyCallBack(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ReadyCallBack Record ready callBack
func (*Endpoints) RecoverTestSet ¶
func (e *Endpoints) RecoverTestSet(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
RestoreTestSet 回收站恢复测试集
func (*Endpoints) RecoverTestSetFromRecycleBin ¶
func (e *Endpoints) RecoverTestSetFromRecycleBin(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
RecoverTestSetFromRecycleBin 从回收站恢复测试集(递归子测试集和测试用例)
func (*Endpoints) RecycleTestSet ¶
func (e *Endpoints) RecycleTestSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
RecycleTestSet 回收测试集
func (*Endpoints) RegisterEvents ¶
func (*Endpoints) RegisterWebhooks ¶
func (*Endpoints) ReleaseCallback ¶
func (e *Endpoints) ReleaseCallback(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ReleaseCallback gittar hook的回调,目前只响应TAG,自动触发pipeline进行release
func (*Endpoints) RemoveTestPlanCaseRelIssueRelations ¶
func (e *Endpoints) RemoveTestPlanCaseRelIssueRelations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
RemoveTestPlanCaseRelIssueRelations 解除测试计划用例与事件缺陷的关联关系
func (*Endpoints) ReopenTicket ¶
func (e *Endpoints) ReopenTicket(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
ReopenTicket 重新打开工单
func (*Endpoints) RepoBranchEventCallback ¶
func (e *Endpoints) RepoBranchEventCallback(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
RepoBranchEventCallback Branch事件回调
func (*Endpoints) RepoMrEventCallback ¶
func (e *Endpoints) RepoMrEventCallback(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
RepoMrEventCallback Mr事件回调
func (*Endpoints) RepoTagEventCallback ¶
func (e *Endpoints) RepoTagEventCallback(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
RepoTagEventCallback Tag事件回调
func (*Endpoints) ReportCallBack ¶ added in v1.3.1
func (e *Endpoints) ReportCallBack(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ReportCallBack Record report callBack
func (*Endpoints) Routes ¶
func (e *Endpoints) Routes() []httpserver.Endpoint
Routes 返回 endpoints 的所有 endpoint 方法,也就是 route.
func (*Endpoints) RunIssueAddOrRepairHistory ¶
func (*Endpoints) RunIssueHistory ¶
func (*Endpoints) SaveAutoTestFileTreeNodePipeline ¶
func (*Endpoints) SearchOperations ¶
func (e *Endpoints) SearchOperations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
从文档中搜索符合条件的接口列表
func (*Endpoints) ShowOrgNexusPassword ¶
func (*Endpoints) SonarIssues ¶
func (e *Endpoints) SonarIssues(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
SonarIssues 根据参数类型,获取 Sonar 的结果信息
func (*Endpoints) SonarIssuesStore ¶
func (e *Endpoints) SonarIssuesStore(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
SonarIssuesStore 储存Sonar 分析产生的结果数据
func (*Endpoints) StartCodeCoverage ¶ added in v1.3.1
func (e *Endpoints) StartCodeCoverage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
StartCodeCoverage start code coverage
func (*Endpoints) StatisticResults ¶
func (e *Endpoints) StatisticResults(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
StatisticResults API 测试结果统计
func (*Endpoints) SubscribeIssue ¶
func (e *Endpoints) SubscribeIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
SubscribeIssue subscribe issue
func (*Endpoints) TestCallback ¶
func (*Endpoints) TestCaseService ¶
func (*Endpoints) TestSetService ¶
func (*Endpoints) TriggerGitNotify ¶
func (*Endpoints) UnsubscribeIssue ¶
func (e *Endpoints) UnsubscribeIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UnsubscribeIssue unsubscribe issue
func (*Endpoints) UpdateAPIAsset ¶
func (e *Endpoints) UpdateAPIAsset(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateAPIAsset updates APIAsset
func (*Endpoints) UpdateAPITestEnv ¶
func (e *Endpoints) UpdateAPITestEnv(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateAPITestEnv 更新API测试环境变量
func (*Endpoints) UpdateAccess ¶
func (*Endpoints) UpdateApiTest ¶
func (e *Endpoints) UpdateApiTest(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateApiTest 更新api接口测试
func (*Endpoints) UpdateAssetVersion ¶
func (e *Endpoints) UpdateAssetVersion(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
修改版本 (标记为不建议使用)
func (*Endpoints) UpdateAutoTestFileTreeNodeBasicInfo ¶
func (*Endpoints) UpdateAutoTestGlobalConfig ¶
func (*Endpoints) UpdateAutoTestScene ¶
func (e *Endpoints) UpdateAutoTestScene(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateAutoTestScene 更新场景
func (*Endpoints) UpdateAutoTestSceneInput ¶
func (e *Endpoints) UpdateAutoTestSceneInput(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateAutoTestSceneInput 更新场景入参
func (*Endpoints) UpdateAutoTestSceneOutput ¶
func (e *Endpoints) UpdateAutoTestSceneOutput(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateAutoTestSceneOutput 更新场景出参
func (*Endpoints) UpdateAutoTestSceneStep ¶
func (e *Endpoints) UpdateAutoTestSceneStep(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateAutoTestSceneStep 更新场景步骤
func (*Endpoints) UpdateAutoTestSpace ¶
func (e *Endpoints) UpdateAutoTestSpace(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateAutoTestSpace 更新测试空间
func (*Endpoints) UpdateBranchRule ¶
func (e *Endpoints) UpdateBranchRule(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateBranchRule 更新分支规则
func (*Endpoints) UpdateCertificate ¶
func (e *Endpoints) UpdateCertificate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateCertificate 更新Certificate
func (*Endpoints) UpdateClient ¶
func (*Endpoints) UpdateCmsNsConfigs ¶ added in v1.3.0
UpdateCmsNsConfigs update CmsNsConfigs
func (*Endpoints) UpdateComment ¶
func (e *Endpoints) UpdateComment(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
UpdateComment 编辑工单评论
func (*Endpoints) UpdateConfigs ¶
func (e *Endpoints) UpdateConfigs(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
UpdateConfigs 更新配置信息
func (*Endpoints) UpdateContract ¶
func (e *Endpoints) UpdateContract(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
更新合约状态
func (*Endpoints) UpdateInstantiation ¶
func (e *Endpoints) UpdateInstantiation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
修改实例
func (*Endpoints) UpdateIssue ¶
func (e *Endpoints) UpdateIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateIssue 更新事件
func (*Endpoints) UpdateIssuePanel ¶
func (e *Endpoints) UpdateIssuePanel(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateIssuePanel update panel
func (*Endpoints) UpdateIssuePanelIssue ¶
func (e *Endpoints) UpdateIssuePanelIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateIssuePanelIssue update panelIssue
func (*Endpoints) UpdateIssuePropertiesIndex ¶
func (*Endpoints) UpdateIssueProperty ¶
func (*Endpoints) UpdateIssuePropertyInstance ¶
func (*Endpoints) UpdateIssueStateRelation ¶
func (e *Endpoints) UpdateIssueStateRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateIssueStateRelation 更新工作流
func (*Endpoints) UpdateIssueType ¶
func (e *Endpoints) UpdateIssueType(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateIssueType 转换事件类型
func (*Endpoints) UpdateIteration ¶
func (e *Endpoints) UpdateIteration(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateIteration 更新 iteration
func (*Endpoints) UpdateNode ¶
func (*Endpoints) UpdateOrg ¶
func (e *Endpoints) UpdateOrg(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateOrg update org
func (*Endpoints) UpdatePublisher ¶
func (e *Endpoints) UpdatePublisher(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdatePublisher 更新Publisher
func (*Endpoints) UpdateSceneSet ¶
func (*Endpoints) UpdateSonarMetricRules ¶
func (*Endpoints) UpdateTestCase ¶
func (e *Endpoints) UpdateTestCase(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateTestCase 更新测试用例
func (*Endpoints) UpdateTestPlan ¶
func (e *Endpoints) UpdateTestPlan(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateTestPlan 更新测试计划
func (*Endpoints) UpdateTestPlanV2 ¶
func (e *Endpoints) UpdateTestPlanV2(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateTestPlanV2 Update test plan
func (*Endpoints) UpdateTestPlanV2Step ¶
func (e *Endpoints) UpdateTestPlanV2Step(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateTestPlanV2Step Update the test plan step
func (*Endpoints) UpdateTestSet ¶
func (e *Endpoints) UpdateTestSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateTestSet 更新测试集
func (*Endpoints) UpdateTicket ¶
func (e *Endpoints) UpdateTicket(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
UpdateTicket 更新工单
func (*Endpoints) ValidateSwagger ¶
type EventCallback ¶
type Option ¶
type Option func(*Endpoints)
func WithAppCertificate ¶
func WithAppCertificate(cer *appcertificate.AppCertificate) Option
WithAppCertificate 配置证书 service
func WithAssetSvc ¶
func WithAutoTest ¶
func WithAutoTestV2 ¶
func WithBranchRule ¶
func WithBranchRule(branchRule *branchrule.BranchRule) Option
WithBranchRule 配置 branchRule
func WithCertificate ¶
func WithCertificate(cer *certificate.Certificate) Option
WithCertificate 配置证书 service
func WithCodeCoverageExecRecord ¶ added in v1.3.1
func WithCodeCoverageExecRecord(svc *code_coverage.CodeCoverage) Option
func WithEnvConfig ¶
func WithEnvConfig(envConfig *environment.EnvConfig) Option
WithEnvConfig 配置 env config
func WithFileTreeSvc ¶
func WithGittarFileTree ¶
func WithGittarFileTree(fileTree *filetree.GittarFileTree) Option
func WithIssuePanel ¶
func WithIssuePanel(panel *issuepanel.IssuePanel) Option
func WithIssueProperty ¶
func WithIssueProperty(property *issueproperty.IssueProperty) Option
WithIssueProperty 配置 issueStream
func WithIssueRelated ¶
func WithIssueRelated(ir *issuerelated.IssueRelated) Option
func WithIssueState ¶
func WithIssueState(state *issuestate.IssueState) Option
func WithIssueStream ¶
func WithIssueStream(stream *issuestream.IssueStream) Option
WithIssueStream 配置 issueStream
func WithJSONStore ¶
WithJSONStore 配置 jsonstore
func WithLibReference ¶
func WithLibReference(libReference *libreference.LibReference) Option
WithLibReference 设置 libReference service
func WithMigrate ¶
func WithNamespace ¶
WithNamespace 配置 namespace service
func WithPermission ¶
func WithPermission(perm *permission.Permission) Option
WithPermission 配置 permission
func WithPipelineCms ¶
func WithPipelineCms(cms cmspb.CmsServiceServer) Option
func WithProject ¶ added in v1.4.0
func WithProjectPipelineFileTree ¶
func WithProjectPipelineFileTree(fileTree *projectpipelinefiletree.FileTree) Option
func WithPublisher ¶
WithPublisher 配置 publisher service
func WithQueryStringDecoder ¶
func WithSceneSet ¶
func WithSonarMetricRule ¶
func WithSonarMetricRule(sonarMetricRule *sonar_metric_rule.Service) Option
func WithTestReportRecord ¶ added in v1.4.0
func WithTestReportRecord(svc *test_report.TestReport) Option
func WithTestSet ¶
func WithTestcase ¶
func WithTestplan ¶
func WithTestplan(testPlan *mttestplan.TestPlan) Option
WithTestplan 设置 testplan endpoint
func WithWorkbench ¶ added in v1.2.1
type SimplifyConfig ¶
Source Files ¶
- access.go
- apidoc.go
- apis.go
- apitest.go
- application.go
- approve.go
- asset.go
- asset_swagger_version.go
- asset_version.go
- attempt.go
- autotest_migrate.go
- autotest_scene.go
- autotest_scene_input.go
- autotest_scene_output.go
- autotest_scene_step.go
- autotests.go
- autotests_report.go
- autotests_space.go
- branch_rule.go
- certificate.go
- cicd.go
- client.go
- code_coverage.go
- comment.go
- config.go
- configmanage.go
- const.go
- contract.go
- endpoints.go
- file_records.go
- filetree.go
- gateways.go
- gittar.go
- health.go
- hook.go
- info.go
- instance.go
- issue.go
- issue_callback.go
- issue_panel.go
- issue_property.go
- issue_property_instace.go
- issue_related.go
- issue_stage.go
- issue_state.go
- issue_stream.go
- iteration.go
- lib-reference.go
- member.go
- metrics.go
- monitor.go
- namespace.go
- nexus.go
- operation.go
- organization.go
- pipeline.go
- pipeline_callback.go
- pipeline_definition.go
- pipelinecron.go
- project.go
- project_pipeline.go
- project_test_env.go
- projectpipelinefiletree.go
- publisher.go
- release.go
- repo_callback.go
- resources.go
- scenesets.go
- sla.go
- snippet.go
- sonar.go
- sonar_metric_rules.go
- task.go
- test_report.go
- testcase.go
- testplan.go
- testplan_case_rel.go
- testplan_v2.go
- testset.go
- ticket.go
- workbench.go