handler

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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

func GetLatestTenBuildMeasure(c *gin.Context)

func GetOverviewStat

func GetOverviewStat(c *gin.Context)

func GetPipelineHealthMeasure

func GetPipelineHealthMeasure(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)

Types

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