Documentation
¶
Index ¶
- Constants
- Variables
- func CreateBuild(pipeline, branch, uid string, appId uint64) (*apistructs.QaBuildCreateResponse, error)
- func MetricsSonar(sonarStore *apistructs.SonarStoreRequest, bdl *bundle.Bundle)
- func StartHookTaskConsumer()
- type CompareData
- type Endpoints
- 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) 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) 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) 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) 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) 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) 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) CopyAutoTestSpace(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) 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) 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) 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) CreateTestSet(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) DeleteApiTestsByApiID(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) 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) DragSceneSet(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) ExecuteTestPlanAPITest(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ExportTestCases(ctx context.Context, w http.ResponseWriter, r *http.Request, ...) error
- func (e *Endpoints) ExportTestPlanCaseRels(ctx context.Context, w http.ResponseWriter, r *http.Request, ...) error
- func (e *Endpoints) FindAutoTestFileTreeNodeAncestors(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) GenerateTestPlanReport(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) GetApiTests(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) 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) GetRecords(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) 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) 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) 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) ImportTestCases(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) ListAPITestEnvs(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) ListTestPlanTestSets(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) 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) MoveTestPlanV2Step(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) 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) 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) RegisterWebhooks() error
- func (e *Endpoints) RemoveTestPlanCaseRelIssueRelations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) Routes() []httpserver.Endpoint
- func (e *Endpoints) SaveAutoTestFileTreeNodePipeline(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) StatisticResults(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) UpdateAPITestEnv(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) 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) 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)
- type EventCallback
- type Option
- func WithAutoTest(svc *autotest.Service) Option
- func WithAutoTestV2(svc *atv2.Service) Option
- func WithBundle(bdl *bundle.Bundle) Option
- func WithCQ(cq *cq.CQ) Option
- func WithDB(db *dao.DBClient) Option
- func WithMigrate(svc *migrate.Service) Option
- func WithQueryStringDecoder(decoder *schema.Decoder) Option
- func WithSceneSet(svc *sceneset.Service) Option
- func WithSonarMetricRule(sonarMetricRule *sonar_metric_rule.Service) Option
- func WithTestSet(svc *testset.Service) Option
- func WithTestcase(svc *testcase.Service) Option
- func WithTestplan(testPlan *testplan.TestPlan) Option
- 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 ( 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 TaskQueue = make(chan *apistructs.GittarPushEventRequest, 300)
Functions ¶
func CreateBuild ¶
func CreateBuild(pipeline, branch, uid string, appId uint64) (*apistructs.QaBuildCreateResponse, error)
func MetricsSonar ¶
func MetricsSonar(sonarStore *apistructs.SonarStoreRequest, bdl *bundle.Bundle)
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 {
// contains filtered or unexported fields
}
Endpoints 定义 endpoint 方法
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) 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) 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) CancelApiTestPipeline ¶
func (*Endpoints) CancelApiTests ¶
func (e *Endpoints) CancelApiTests(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CancelApiTests 取消执行测试计划
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) CleanTestSet ¶
func (e *Endpoints) CleanTestSet(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CleanTestSet 清空测试集
func (*Endpoints) CleanTestSetFromRecycleBin ¶
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) CopyAutoTestSpace ¶
func (e *Endpoints) CopyAutoTestSpace(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CopyAutoTestSpace 复制测试空间
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) 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) 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) 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) CreateTestSet ¶
func (e *Endpoints) CreateTestSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateTestSet 创建测试集
func (*Endpoints) DeleteAPITestEnvByEnvID ¶
func (e *Endpoints) DeleteAPITestEnvByEnvID(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteAPITestEnvByEnvID 根据envID删除测试环境变量
func (*Endpoints) DeleteApiTestsByApiID ¶
func (e *Endpoints) DeleteApiTestsByApiID(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteApiTestsByApiID 根据apiID删除接口测试信息
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) 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) DragSceneSet ¶
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 (e *Endpoints) ExecuteAttemptTest(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ExecuteAttemptTest 用户尝试执行单个或者多个API测试
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) ExecuteTestPlanAPITest ¶
func (e *Endpoints) ExecuteTestPlanAPITest(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ExecuteTestPlanAPITest 执行测试计划接口测试
func (*Endpoints) ExportTestCases ¶
func (e *Endpoints) ExportTestCases(ctx context.Context, w http.ResponseWriter, r *http.Request, vars map[string]string) 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) FindAutoTestFileTreeNodeAncestors ¶
func (*Endpoints) FuzzySearchAutoTestFileTreeNodes ¶
func (*Endpoints) GenerateTestPlanReport ¶
func (e *Endpoints) GenerateTestPlanReport(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GenerateTestPlanReport 生成测试计划报告
func (*Endpoints) GetAPITestEnv ¶
func (e *Endpoints) GetAPITestEnv(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetAPITestEnv 获取指定ID的环境变量信息
func (*Endpoints) GetApiTests ¶
func (e *Endpoints) GetApiTests(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetApiTests 根据获取接口测试信息
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) 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) 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) 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) GetTestSet ¶
func (*Endpoints) GetTestTypes ¶
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 健康检查
func (*Endpoints) ImportTestCases ¶
func (e *Endpoints) ImportTestCases(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ImportTestCases 导入测试用例
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) ListAPITestEnvs ¶
func (e *Endpoints) ListAPITestEnvs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListPAPITestEnvs 获取环境变量信息列表
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) ListTestPlanTestSets ¶
func (e *Endpoints) ListTestPlanTestSets(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListTestPlanTestSets 获取测试计划下的测试集列表
func (*Endpoints) ListTestSets ¶
func (e *Endpoints) ListTestSets(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListTestSets 获取测试集列表
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) MoveTestPlanV2Step ¶
func (e *Endpoints) MoveTestPlanV2Step(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateTestPlanV2Step Update the test plan step
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) QueryPipelineSnippetYaml ¶
func (*Endpoints) QueryPipelineSnippetYamlV2 ¶
func (*Endpoints) QuerySonarMetricRules ¶
func (*Endpoints) QuerySonarMetricRulesDefinition ¶
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) RegisterWebhooks ¶
func (*Endpoints) RemoveTestPlanCaseRelIssueRelations ¶
func (e *Endpoints) RemoveTestPlanCaseRelIssueRelations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
RemoveTestPlanCaseRelIssueRelations 解除测试计划用例与事件缺陷的关联关系
func (*Endpoints) Routes ¶
func (e *Endpoints) Routes() []httpserver.Endpoint
Routes 返回 endpoints 的所有 endpoint 方法,也就是 route.
func (*Endpoints) SaveAutoTestFileTreeNodePipeline ¶
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) StatisticResults ¶
func (e *Endpoints) StatisticResults(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
StatisticResults API 测试结果统计
func (*Endpoints) TestCallback ¶
func (*Endpoints) UpdateAPITestEnv ¶
func (e *Endpoints) UpdateAPITestEnv(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateAPITestEnv 更新API测试环境变量
func (*Endpoints) UpdateApiTest ¶
func (e *Endpoints) UpdateApiTest(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateApiTest 更新api接口测试
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) 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
type EventCallback ¶
type Option ¶
type Option func(*Endpoints)
func WithAutoTest ¶
func WithAutoTestV2 ¶
func WithBundle ¶
func WithMigrate ¶
func WithQueryStringDecoder ¶
func WithSceneSet ¶
func WithSonarMetricRule ¶
func WithSonarMetricRule(sonarMetricRule *sonar_metric_rule.Service) Option
func WithTestSet ¶
func WithTestcase ¶
func WithTestplan ¶
WithTestplan 设置 testplan endpoint
Source Files
¶
- apis.go
- apitest.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
- endpoint.go
- gittar.go
- health.go
- hook.go
- project_test_env.go
- scenesets.go
- sonar.go
- sonar_metric_rules.go
- task.go
- testcase.go
- testplan.go
- testplan_case_rel.go
- testplan_v2.go
- testset.go