endpoints

package
v1.3.0-rc.0...-d217119 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 124 Imported by: 0

Documentation

Overview

Package endpoints 定义所有的 route handle.

Package endpoints Info的handle

Package endpoints release的handle

Index

Constants

View Source
const (
	ApiTest            = "API_TEST"
	PipelineYmlVersion = "1.1"
	ApiTestType        = "api-test"
	ApiTestIDs         = "api_ids"
	UsecaseID          = "usecase_id"
	PipelineStageLen   = 10
	Project            = "project"
	Usecase            = "case"
)

API 返回对应的错误类型

View Source
const (
	Bugs             = "bugs"
	Coverage         = "coverage"
	Vulnerabilities  = "vulnerabilities"
	CodeSmells       = "codeSmells"
	Duplications     = "duplications"
	IssueStatistics  = "issuesStatistics"
	SonarMetricsName = "sonar_metrics_statistics"
)

sonar 分析结果的问题类型

View Source
const (
	SonarIssue      = "SONAR_ISSUE"
	SonarIssueStore = "SONAR_ISSUE_STORE"
)

API 返回对应的错误类型

View Source
const APITestEnv = "API_TEST_ENV"
View Source
const (
	BranchPrefix = "refs/heads/"
)
View Source
const (
	PAGE = 300
)

工单对应的pagesize

Variables

View Source
var (
	ProjectStatsCache *sync.Map
	Once              sync.Once
)
View Source
var TaskQueue = make(chan *apistructs.GittarPushEventRequest, 300)

Functions

func Attachment

func Attachment(assetID, versionID, specProtocol string) string

Attachment generates attachment by specProtocol

func CreateBuild

func CreateBuild(pipeline, branch, uid string, appId uint64) (*apistructs.QaBuildCreateResponse, error)
func GetPipelineLink(p apistructs.PipelineDTO, ctxMap map[string]interface{}) (string, bool)

GetPipelineLink Get the link to the running pipeline

func InternalReverseHandler

func InternalReverseHandler(handler func(context.Context, *http.Request, map[string]string) error) http.Handler

func MetricsSonar

func MetricsSonar(sonarStore *apistructs.SonarStoreRequest, bdl *bundle.Bundle, org org.Interface)

func NotImplemented

func NotImplemented(ctx context.Context, request *http.Request, m map[string]string) (httpserver.Responser, error)

func ProxyMetrics

func ProxyMetrics(ctx context.Context, r *http.Request, vars map[string]string) error

func SetProjectStatsCache

func SetProjectStatsCache()

SetProjectStatsCache 设置项目状态缓存

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 {
	PipelineCron       cronpb.CronServiceServer
	PipelineSource     sourcepb.SourceServiceServer
	PipelineDefinition dpb.DefinitionServiceServer
	DevFlowRule        dwfpb.DevFlowRuleServiceServer
	ProjectPipelineSvc *projectpipeline.ProjectPipelineService
	PipelineSvc        pipelinepb.PipelineServiceServer

	ImportChannel chan uint64
	ExportChannel chan uint64
	CopyChannel   chan uint64
	// contains filtered or unexported fields
}

Endpoints 定义 endpoint 方法

func New

func New(options ...Option) *Endpoints

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) 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

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

func (e *Endpoints) AutoTestPlanService() *atv2.Service

func (*Endpoints) AutotestSpaceStats

func (e *Endpoints) AutotestSpaceStats(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) AutotestV2Service

func (e *Endpoints) AutotestV2Service() *atv2.Service

func (*Endpoints) BatchCleanTestCasesFromRecycleBin

func (e *Endpoints) BatchCleanTestCasesFromRecycleBin(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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 (e *Endpoints) BatchCreateTestCases(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) BatchDeleteSonarMetricRules

func (e *Endpoints) BatchDeleteSonarMetricRules(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) BatchInsertSonarMetricRules

func (e *Endpoints) BatchInsertSonarMetricRules(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) BatchQueryPipelineSnippetYaml

func (e *Endpoints) BatchQueryPipelineSnippetYaml(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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&clusterName=xxx

func (*Endpoints) CancelApiTestPipeline

func (e *Endpoints) CancelApiTestPipeline(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) CancelApiTests

func (e *Endpoints) CancelApiTests(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

CancelApiTests 取消执行测试计划

func (*Endpoints) CancelCodeCoverage

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 (e *Endpoints) CancelDiceAutotestTestPlans(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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 (e *Endpoints) CleanTestSetFromRecycleBin(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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

func (e *Endpoints) CodeCoverageService() *code_coverage.CodeCoverage

func (*Endpoints) ConstructProjectPackgeRequset

func (e *Endpoints) ConstructProjectPackgeRequset(r *http.Request, vars map[string]string, apiErr *errorresp.APIError) (*apistructs.ProjectPackageRequest, *errorresp.APIError)

func (*Endpoints) CopyAutoTestFileTreeNode

func (e *Endpoints) CopyAutoTestFileTreeNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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 (e *Endpoints) CopySceneSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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 (e *Endpoints) CreateAutoTestFileTreeNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) CreateAutoTestGlobalConfig

func (e *Endpoints) CreateAutoTestGlobalConfig(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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) CreateContract

func (e *Endpoints) CreateContract(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

创建一个合约

func (*Endpoints) CreateFileTreeNode

func (e *Endpoints) CreateFileTreeNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) CreateGittarFileTreeNode

func (e *Endpoints) CreateGittarFileTreeNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) CreateInstantiation

func (e *Endpoints) CreateInstantiation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

实例化 (即创建一个 instantiation)

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 (e *Endpoints) CreateNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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 (e *Endpoints) CreateSceneSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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

func (e *Endpoints) CreateTestReportRecord(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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) CumulativeUsers

func (e *Endpoints) CumulativeUsers(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

CumulativeUsers .

func (*Endpoints) DBClient

func (e *Endpoints) DBClient() *dao.DBClient

DBClient 获取db client

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 (e *Endpoints) DeleteAccess(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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 (e *Endpoints) DeleteAutoTestFileTreeNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) DeleteAutoTestGlobalConfig

func (e *Endpoints) DeleteAutoTestGlobalConfig(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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 (e *Endpoints) DeleteClient(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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 (e *Endpoints) DeleteContract(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) DeleteFileTreeNode

func (e *Endpoints) DeleteFileTreeNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) DeleteGittarFileTreeNode

func (e *Endpoints) DeleteGittarFileTreeNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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 (e *Endpoints) DeleteNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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) DeleteSLA

func (e *Endpoints) DeleteSLA(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) DeleteSceneSet

func (e *Endpoints) DeleteSceneSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) DeleteSonarMetricRules

func (e *Endpoints) DeleteSonarMetricRules(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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)

DownloadSpecText is the endpoint for downloading swagger text file

func (*Endpoints) DragSceneSet

func (e *Endpoints) DragSceneSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) EndCallBack

func (e *Endpoints) EndCallBack(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

EndCallBack Record end callBack

func (*Endpoints) EndCodeCoverage

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 (e *Endpoints) ExecuteAttemptTest(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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 (e *Endpoints) ExecuteDiceAutotestTestPlans(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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) ExportAIGeneratedTestCases

func (e *Endpoints) ExportAIGeneratedTestCases(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

ExportTestCases 导出测试用例

func (*Endpoints) ExportAutoTestSpace

func (e *Endpoints) ExportAutoTestSpace(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) ExportAutotestSceneSet

func (e *Endpoints) ExportAutotestSceneSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) ExportConfigs

func (e *Endpoints) ExportConfigs(ctx context.Context, r *http.Request, vars map[string]string) (
	httpserver.Responser, error)

func (*Endpoints) ExportProjectPackage

func (e *Endpoints) ExportProjectPackage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) ExportProjectTemplate

func (e *Endpoints) ExportProjectTemplate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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

func (e *Endpoints) FetchOrgResources(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) FindAutoTestFileTreeNodeAncestors

func (e *Endpoints) FindAutoTestFileTreeNodeAncestors(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) FindFileTreeNodeAncestors

func (e *Endpoints) FindFileTreeNodeAncestors(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) FindGittarFileTreeNodeAncestors

func (e *Endpoints) FindGittarFileTreeNodeAncestors(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) FireRule

func (e *Endpoints) FireRule(ctx context.Context, content interface{}, eventInfo EventInfo) error

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 (e *Endpoints) FuzzySearchAutoTestFileTreeNodes(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) FuzzySearchFileTreeNodes

func (e *Endpoints) FuzzySearchFileTreeNodes(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) FuzzySearchGittarFileTreeNodes

func (e *Endpoints) FuzzySearchGittarFileTreeNodes(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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) GetAccess

func (e *Endpoints) GetAccess(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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) GetApplicationPublishItemRelationsGroupByENV

func (e *Endpoints) GetApplicationPublishItemRelationsGroupByENV(ctx context.Context, r *http.Request, vars map[string]string) (
	httpserver.Responser, error)

GetApplicationPublishItemRelationsGroupByENV 根据环境分组应用和发布内容关联

func (*Endpoints) GetAutoTestExecHistory

func (e *Endpoints) GetAutoTestExecHistory(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

GetAutoTestExecHistory .

func (*Endpoints) GetAutoTestFileTreeNode

func (e *Endpoints) GetAutoTestFileTreeNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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

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

func (e *Endpoints) GetCodeCoverageRecordStatus(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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 (e *Endpoints) GetContract(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) GetCrashRate

func (e *Endpoints) GetCrashRate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

GetCrashRate 崩溃率

func (*Endpoints) GetDeployConfigs

func (e *Endpoints) GetDeployConfigs(ctx context.Context, r *http.Request, vars map[string]string) (
	httpserver.Responser, error)

GetDeployConfigs 获取指定 namespace 的部署配置

func (*Endpoints) GetErrAffectUserRate

func (e *Endpoints) GetErrAffectUserRate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

GetErrAffectUserRate .

func (*Endpoints) GetErrList

func (e *Endpoints) GetErrList(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

GetErrList 获取错误报告,错误趋势

func (*Endpoints) GetErrTrend

func (e *Endpoints) GetErrTrend(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

GetErrTrend 获取错误报告,错误趋势

func (*Endpoints) GetFileRecord

func (e *Endpoints) GetFileRecord(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) GetFileRecords

func (e *Endpoints) GetFileRecords(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

Get File Records

func (*Endpoints) GetFileTreeNode

func (e *Endpoints) GetFileTreeNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) GetGittarFileByPipelineId

func (e *Endpoints) GetGittarFileByPipelineId(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) GetGittarFileTreeNode

func (e *Endpoints) GetGittarFileTreeNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) GetInstantiations

func (e *Endpoints) GetInstantiations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

查询 minor 下的 instantiation

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 (e *Endpoints) GetNexusOrgDockerCredentialByImage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) GetNodeDetail

func (e *Endpoints) GetNodeDetail(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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 (e *Endpoints) GetOrgNexus(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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

func (e *Endpoints) GetProject(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

GetProject gets the project info

func (*Endpoints) GetPublishItemCertificationlist

func (e *Endpoints) GetPublishItemCertificationlist(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

GetPublishItemCertificationlist 获取publishItem认证列表

func (*Endpoints) GetPublisher

func (e *Endpoints) GetPublisher(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

GetPublisher 获取Publisher详情

func (*Endpoints) GetSLA

func (e *Endpoints) GetSLA(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) GetSceneSet

func (e *Endpoints) GetSceneSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) GetSceneSets

func (e *Endpoints) GetSceneSets(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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 (e *Endpoints) GetSonarMetricRules(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) GetStatisticsChannelInfo

func (e *Endpoints) GetStatisticsChannelInfo(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

GetStatisticsChannelInfo 获取渠道详情,明细数据

func (*Endpoints) GetStatisticsTrend

func (e *Endpoints) GetStatisticsTrend(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

GetStatisticsTrend 获取统计大盘,整体趋势

func (*Endpoints) GetStatisticsVersionInfo

func (e *Endpoints) GetStatisticsVersionInfo(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

GetStatisticsVersionInfo 获取版本详情,明细数据

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 (e *Endpoints) GetTestPlanCaseRel(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, 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) GetTestReportRecord

func (e *Endpoints) GetTestReportRecord(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) GetTestSet

func (e *Endpoints) GetTestSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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 (e *Endpoints) GetWorkbenchData(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) GittarMRCreateCallback

func (e *Endpoints) GittarMRCreateCallback(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) GittarWebHookCallback

func (e *Endpoints) GittarWebHookCallback(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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

func (e *Endpoints) ImportAutotestSceneSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) ImportAutotestSpace

func (e *Endpoints) ImportAutotestSpace(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) ImportConfigs

func (e *Endpoints) ImportConfigs(ctx context.Context, r *http.Request, vars map[string]string) (
	httpserver.Responser, error)

func (*Endpoints) ImportProjectPackage

func (e *Endpoints) ImportProjectPackage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) ImportProjectTemplate

func (e *Endpoints) ImportProjectTemplate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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) InitApplication

func (e *Endpoints) InitApplication(ctx context.Context, r *http.Request, vars map[string]string) (
	httpserver.Responser, error)

InitApplication init mobile application

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

func (e *Endpoints) IssueService() *issue.Issue

func (*Endpoints) IssueStateService

func (e *Endpoints) IssueStateService() *issuestate.IssueState

func (*Endpoints) IterationService

func (e *Endpoints) IterationService() *iteration.Iteration

func (*Endpoints) ListAPIGateways

func (e *Endpoints) ListAPIGateways(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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 (e *Endpoints) ListAutoTestFileTreeNodeHistory(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) ListAutoTestFileTreeNodes

func (e *Endpoints) ListAutoTestFileTreeNodes(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) ListAutoTestGlobalConfigs

func (e *Endpoints) ListAutoTestGlobalConfigs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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 (e *Endpoints) ListAutoTestScenes(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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 (e *Endpoints) ListChildrenNodes(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) ListCodeCoverageRecord

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 (e *Endpoints) ListFileTreeNodes(ctx context.Context, r *http.Request, vars map[string]string) (
	httpserver.Responser, error)

func (*Endpoints) ListGittarFileTreeNodes

func (e *Endpoints) ListGittarFileTreeNodes(ctx context.Context, r *http.Request, vars map[string]string) (
	httpserver.Responser, error)

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 (e *Endpoints) ListProjectAPIGateways(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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 (e *Endpoints) ListSwaggerClient(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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

func (e *Endpoints) ListTestPlanV2Step(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

ListTestPlanV2Step list TestPlan step

func (*Endpoints) ListTestReportRecord

func (e *Endpoints) ListTestReportRecord(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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

func (e *Endpoints) ManualTestCaseService() *testcase.Service

func (*Endpoints) ManualTestPlanService

func (e *Endpoints) ManualTestPlanService() *mttestplan.TestPlan

func (*Endpoints) MetricsRouting

func (e *Endpoints) MetricsRouting(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

MetricsRouting 获取渠道详情,明细数据

func (*Endpoints) MigrateFromAutoTestV1

func (e *Endpoints) MigrateFromAutoTestV1(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) MoveAutoTestFileTreeNode

func (e *Endpoints) MoveAutoTestFileTreeNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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

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) MvCpNode

func (e *Endpoints) MvCpNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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) PagingIterations

func (e *Endpoints) PagingIterations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

PagingIterations 分页查询迭代

func (*Endpoints) PagingSonarMetricRules

func (e *Endpoints) PagingSonarMetricRules(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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) ParseProjectPackage

func (e *Endpoints) ParseProjectPackage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) ParseProjectTemplate

func (e *Endpoints) ParseProjectTemplate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) PermissionService

func (e *Endpoints) PermissionService() *permission.Permission

func (*Endpoints) ProjectService

func (e *Endpoints) ProjectService() *project.Project

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) QueryApplicationPublishItemRelations

func (e *Endpoints) QueryApplicationPublishItemRelations(ctx context.Context, r *http.Request, vars map[string]string) (
	httpserver.Responser, error)

QueryApplicationPublishItemRelations 查询应用和发布内容关联

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 (e *Endpoints) QueryPipelineSnippetYaml(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) QueryPipelineSnippetYamlV2

func (e *Endpoints) QueryPipelineSnippetYamlV2(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) QuerySonarMetricRules

func (e *Endpoints) QuerySonarMetricRules(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) QuerySonarMetricRulesDefinition

func (e *Endpoints) QuerySonarMetricRulesDefinition(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) QuoteCertificate

func (e *Endpoints) QuoteCertificate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

QuoteCertificate 应用引用证书

func (*Endpoints) ReadyCallBack

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) RegisterWebhooks

func (e *Endpoints) RegisterWebhooks() error

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) RemoveApplicationPublishItemRelations

func (e *Endpoints) RemoveApplicationPublishItemRelations(ctx context.Context, r *http.Request, vars map[string]string) (
	httpserver.Responser, error)

RemoveApplicationPublishItemRelations 删除应用发布内容关联

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

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) SaveAutoTestFileTreeNodePipeline

func (e *Endpoints) SaveAutoTestFileTreeNodePipeline(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) SearchOperations

func (e *Endpoints) SearchOperations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

从文档中搜索符合条件的接口列表

func (*Endpoints) SetConfigInfo

func (e *Endpoints) SetConfigInfo(eventInfo EventInfo) (map[string]interface{}, error)

func (*Endpoints) ShowOrgNexusPassword

func (e *Endpoints) ShowOrgNexusPassword(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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

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) TestCaseService

func (e *Endpoints) TestCaseService() *testcase.Service

func (*Endpoints) TestSetService

func (e *Endpoints) TestSetService() *testset.Service

func (*Endpoints) TriggerGitNotify

func (e *Endpoints) TriggerGitNotify(orgID string, appID string, eventName string, params map[string]string) error

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 (e *Endpoints) UpdateAccess(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) UpdateApiTest

func (e *Endpoints) UpdateApiTest(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

UpdateApiTest 更新api接口测试

func (*Endpoints) UpdateApplication

func (e *Endpoints) UpdateApplication(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

UpdateApplication 更新应用

func (*Endpoints) UpdateApplicationPublishItemRelations

func (e *Endpoints) UpdateApplicationPublishItemRelations(ctx context.Context, r *http.Request, vars map[string]string) (
	httpserver.Responser, error)

UpdateApplicationPublishItemRelations 更新应用发布内容关联

func (*Endpoints) UpdateAssetVersion

func (e *Endpoints) UpdateAssetVersion(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

修改版本 (标记为不建议使用)

func (*Endpoints) UpdateAutoTestFileTreeNodeBasicInfo

func (e *Endpoints) UpdateAutoTestFileTreeNodeBasicInfo(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) UpdateAutoTestGlobalConfig

func (e *Endpoints) UpdateAutoTestGlobalConfig(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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 (e *Endpoints) UpdateClient(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) UpdateCmsNsConfigs

func (e *Endpoints) UpdateCmsNsConfigs(userID string, orgID uint64) error

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) UpdateIteration

func (e *Endpoints) UpdateIteration(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

UpdateIteration 更新 iteration

func (*Endpoints) UpdateNode

func (e *Endpoints) UpdateNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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) UpdateSLA

func (e *Endpoints) UpdateSLA(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) UpdateSceneSet

func (e *Endpoints) UpdateSceneSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) UpdateSonarMetricRules

func (e *Endpoints) UpdateSonarMetricRules(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

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

func (e *Endpoints) ValidateSwagger(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

func (*Endpoints) WatchApprovalStatusChanged

func (e *Endpoints) WatchApprovalStatusChanged(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)

WatchApprovalStatusChanged 监听审批流状态变更,同步审批流状态至依赖方

type EventInfo

type EventInfo struct {
	apistructs.EventHeader
	Scope   string
	ScopeID string
}

type Option

type Option func(*Endpoints)

func WithAppCertificate

func WithAppCertificate(cer *appcertificate.AppCertificate) Option

WithAppCertificate 配置证书 service

func WithApplication

func WithApplication(app *application.Application) Option

func WithAssetSvc

func WithAssetSvc(svc *assetsvc.Service) Option

func WithAutoTest

func WithAutoTest(svc *autotest.Service) Option

func WithAutoTestV2

func WithAutoTestV2(svc *atv2.Service) Option

func WithBranchRule

func WithBranchRule(branchRule *branchrule.BranchRule) Option

WithBranchRule 配置 branchRule

func WithBundle

func WithBundle(bdl *bundle.Bundle) Option

WithBundle 配置 bundle

func WithCDP

func WithCDP(c *cdp.CDP) Option

WithCDP 配置 cdp

func WithCQ

func WithCQ(cq *cq.CQ) Option

func WithCertificate

func WithCertificate(cer *certificate.Certificate) Option

WithCertificate 配置证书 service

func WithCodeCoverageExecRecord

func WithCodeCoverageExecRecord(svc *code_coverage.CodeCoverage) Option

func WithComment

func WithComment(comment *comment.Comment) Option

WithComment 配置 comment service

func WithDB

func WithDB(db *dao.DBClient) Option

func WithDevFlowRule

func WithDevFlowRule(svc dwfpb.DevFlowRuleServiceServer) Option

func WithEnvConfig

func WithEnvConfig(envConfig *environment.EnvConfig) Option

WithEnvConfig 配置 env config

func WithEtcdStore

func WithEtcdStore(etcdStore *etcd.Store) Option

WithEtcdStore 配置 etcdStore

func WithEvent

func WithEvent(ev *event.Event) Option

WithEvent 配置 event

func WithFileTreeSvc

func WithFileTreeSvc(svc *apidocsvc.Service) Option

func WithGittarFileTree

func WithGittarFileTree(fileTree *filetree.GittarFileTree) Option

func WithIssue

func WithIssue(issue *issue.Issue) Option

WithIssue 配置 issue

func WithIssueDB

func WithIssueDB(db *issuedao.DBClient) Option

func WithIssueQuery

func WithIssueQuery(query issuequery.Interface) Option

func WithIssueService

func WithIssueService(issueService *core.IssueService) Option

WithIssueService Configure issueService

func WithIssueState

func WithIssueState(state *issuestate.IssueState) Option

func WithIteration

func WithIteration(itr *iteration.Iteration) Option

WithIteration 配置 iteration

func WithJSONStore

func WithJSONStore(store jsonstore.JsonStore) Option

WithJSONStore 配置 jsonstore

func WithLibReference

func WithLibReference(libReference *libreference.LibReference) Option

WithLibReference 设置 libReference service

func WithMigrate

func WithMigrate(svc *migrate.Service) Option

func WithNamespace

func WithNamespace(namespace *namespace.Namespace) Option

WithNamespace 配置 namespace service

func WithOSSClient

func WithOSSClient(client *oss.Client) Option

WithOSSClient 配置OSS Client

func WithOrg

func WithOrg(org *org.Org) Option

WithOrg 配置 org service

func WithOrgClient

func WithOrgClient(org orgclient.Interface) Option

func WithPermission

func WithPermission(perm *permission.Permission) Option

WithPermission 配置 permission

func WithPipeline

func WithPipeline(p *pipeline.Pipeline) Option

WithPipeline 配置 pipeline

func WithPipelineCms

func WithPipelineCms(cms cmspb.CmsServiceServer) Option

func WithPipelineCron

func WithPipelineCron(svc cronpb.CronServiceServer) Option

func WithPipelineDefinition

func WithPipelineDefinition(svc dpb.DefinitionServiceServer) Option

func WithPipelineSource

func WithPipelineSource(svc sourcepb.SourceServiceServer) Option

func WithPipelineSvc

func WithPipelineSvc(svc pipelinepb.PipelineServiceServer) Option

func WithProject

func WithProject(p *project.Project) Option

func WithProjectPipelineFileTree

func WithProjectPipelineFileTree(fileTree *projectpipelinefiletree.FileTree) Option

func WithProjectPipelineSvc

func WithProjectPipelineSvc(svc *projectpipeline.ProjectPipelineService) Option

func WithPublishItem

func WithPublishItem(publishItem *publish_item.PublishItem) Option

func WithPublisher

func WithPublisher(pub *publisher.Publisher) Option

WithPublisher 配置 publisher service

func WithQueryStringDecoder

func WithQueryStringDecoder(decoder *schema.Decoder) Option

func WithRuleSvc

func WithRuleSvc(ruleService rulepb.RuleServiceServer) Option

func WithSceneSet

func WithSceneSet(svc *sceneset.Service) Option

func WithSonarMetricRule

func WithSonarMetricRule(sonarMetricRule *sonar_metric_rule.Service) Option

func WithTestReportRecord

func WithTestReportRecord(svc *test_report.TestReport) Option

func WithTestSet

func WithTestSet(svc *testset.Service) Option

func WithTestcase

func WithTestcase(svc *testcase.Service) Option

func WithTestplan

func WithTestplan(testPlan *mttestplan.TestPlan) Option

WithTestplan 设置 testplan endpoint

func WithTicket

func WithTicket(ticket *ticket.Ticket) Option

WithTicket 配置 ticket service

func WithTokenSvc

func WithTokenSvc(tokenService tokenpb.TokenServiceServer) Option

func WithWorkbench

func WithWorkbench(w *workbench.Workbench) Option

type SimplifyConfig

type SimplifyConfig struct {
	Key   string
	Value string
}

type TextRange

type TextRange struct {
	EndLine     int `json:"endLine"`
	EndOffset   int `json:"endOffset"`
	StartLine   int `json:"startLine"`
	StartOffset int `json:"startOffset"`
}

Jump to

Keyboard shortcuts

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