handler

package
v1.9.9 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateStatDashboardConfig added in v1.9.9

func CreateStatDashboardConfig(c *gin.Context)

func DeleteStatDashboardConfig added in v1.9.9

func DeleteStatDashboardConfig(c *gin.Context)

func GetAIStatsAnalysis added in v1.9.9

func GetAIStatsAnalysis(c *gin.Context)

func GetAIStatsAnalysisPrompts added in v1.9.9

func GetAIStatsAnalysisPrompts(c *gin.Context)

func GetAllPipelineTask

func GetAllPipelineTask(c *gin.Context)

func GetBuildDailyAverageMeasure

func GetBuildDailyAverageMeasure(c *gin.Context)

func GetBuildDailyMeasure

func GetBuildDailyMeasure(c *gin.Context)

func GetBuildHealthMeasure

func GetBuildHealthMeasure(c *gin.Context)

func GetBuildStat

func GetBuildStat(c *gin.Context)

func GetBuildStatForOpenAPI added in v1.9.9

func GetBuildStatForOpenAPI(c *gin.Context)

func GetBuildTrendMeasure

func GetBuildTrendMeasure(c *gin.Context)

func GetCurrently30DayBuildTrend added in v1.9.9

func GetCurrently30DayBuildTrend(c *gin.Context)

func GetDeployHealthMeasure

func GetDeployHealthMeasure(c *gin.Context)

func GetDeployStat

func GetDeployStat(c *gin.Context)

func GetDeployStatsOpenAPI added in v1.9.9

func GetDeployStatsOpenAPI(c *gin.Context)

func GetDeployTopFiveFailureMeasure

func GetDeployTopFiveFailureMeasure(c *gin.Context)

func GetDeployTopFiveHigherMeasure

func GetDeployTopFiveHigherMeasure(c *gin.Context)

func GetDeployWeeklyMeasure

func GetDeployWeeklyMeasure(c *gin.Context)

func GetEfficiencyRadar added in v1.9.9

func GetEfficiencyRadar(c *gin.Context)

func GetLatestTenBuildMeasure

func GetLatestTenBuildMeasure(c *gin.Context)

func GetMonthAttention added in v1.9.9

func GetMonthAttention(c *gin.Context)

func GetOverviewStat

func GetOverviewStat(c *gin.Context)

func GetPipelineHealthMeasure

func GetPipelineHealthMeasure(c *gin.Context)

func GetProjectsOverview added in v1.9.9

func GetProjectsOverview(c *gin.Context)

func GetReleaseStatOpenAPI added in v1.9.9

func GetReleaseStatOpenAPI(c *gin.Context)

func GetRequirementDevDepPeriod added in v1.9.9

func GetRequirementDevDepPeriod(c *gin.Context)

func GetStatsDashboard added in v1.9.9

func GetStatsDashboard(c *gin.Context)

func GetStatsDashboardGeneralData added in v1.9.9

func GetStatsDashboardGeneralData(c *gin.Context)

func GetTenDurationMeasure

func GetTenDurationMeasure(c *gin.Context)

func GetTestAverageMeasure

func GetTestAverageMeasure(c *gin.Context)

func GetTestCaseMeasure

func GetTestCaseMeasure(c *gin.Context)

func GetTestDashboard

func GetTestDashboard(c *gin.Context)

func GetTestDeliveryDeployMeasure

func GetTestDeliveryDeployMeasure(c *gin.Context)

func GetTestHealthMeasure

func GetTestHealthMeasure(c *gin.Context)

func GetTestStatOpenAPI added in v1.9.9

func GetTestStatOpenAPI(c *gin.Context)

func GetTestTrendMeasure

func GetTestTrendMeasure(c *gin.Context)

func InitDeployStat

func InitDeployStat(c *gin.Context)

func InitTestStat

func InitTestStat(c *gin.Context)

func ListStatDashboardConfigs added in v1.9.9

func ListStatDashboardConfigs(c *gin.Context)

func UpdateStatDashboardConfig added in v1.9.9

func UpdateStatDashboardConfig(c *gin.Context)

Types

type AIMonthAttentionResp added in v1.9.9

type AIMonthAttentionResp struct {
	AIAnswer     *ai.AIAttentionResp       `json:"ai_answer"`
	SystemAnswer []*service.MonthAttention `json:"system_answer"`
}

type DailyTestStat added in v1.9.9

type DailyTestStat struct {
	Date         string `json:"date"`
	SuccessCount int    `json:"success_count"`
	TimoutCount  int    `json:"timeout_count"`
	FailCount    int    `json:"failed_count"`
}

type GetBuildStatArgs

type GetBuildStatArgs struct {
	StartDate int64 `json:"startDate"      form:"startDate,default=0"`
	EndDate   int64 `json:"endDate"        form:"endDate,default=0"`
}

type GetDeployStatArgs

type GetDeployStatArgs struct {
	StartDate int64 `json:"startDate"      form:"startDate,default=0"`
	EndDate   int64 `json:"endDate"        form:"endDate,default=0"`
}

type OpenAPIGetBuildStatArgs added in v1.9.9

type OpenAPIGetBuildStatArgs struct {
	StartDate int64  `json:"startDate"      form:"startDate,default=0"`
	EndDate   int64  `json:"endDate"        form:"endDate,default=0"`
	Project   string `json:"project"        form:"projectKey"`
}

type OpenAPIGetDeployStatArgs added in v1.9.9

type OpenAPIGetDeployStatArgs struct {
	StartDate int64  `json:"startDate"      form:"startDate,default=0"`
	EndDate   int64  `json:"endDate"        form:"endDate,default=0"`
	Project   string `json:"project"        form:"projectKey"`
}

type OpenAPIGetTestStatArgs added in v1.9.9

type OpenAPIGetTestStatArgs struct {
	StartDate int64  `json:"startDate,omitempty" form:"startDate,default=0"`
	EndDate   int64  `json:"endDate,omitempty"   form:"endDate,default=0"`
	Project   string `json:"project"        form:"projectKey"`
}

type OpenAPIRouter added in v1.9.9

type OpenAPIRouter struct{}

func (*OpenAPIRouter) Inject added in v1.9.9

func (*OpenAPIRouter) Inject(router *gin.RouterGroup)

type OpenAPITestStatResp added in v1.9.9

type OpenAPITestStatResp struct {
	CaseCount      int              `json:"case_count"`
	ExecCount      int              `json:"exec_count"`
	SuccessCount   int              `json:"success_count"`
	AverageRuntime int64            `json:"average_runtime"`
	DailyTestData  []*DailyTestStat `json:"data"`
}

type Router

type Router struct{}

func (*Router) Inject

func (*Router) Inject(router *gin.RouterGroup)

Jump to

Keyboard shortcuts

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