Documentation
¶
Index ¶
- func GetAllPipelineTask(log *zap.SugaredLogger) error
- func GetBuildDailyAverageMeasure(startDate int64, endDate int64, productNames []string, log *zap.SugaredLogger) ([]*dailyBuildStat, error)
- func GetBuildDailyMeasure(startDate int64, endDate int64, productNames []string, log *zap.SugaredLogger) ([]*buildStatDaily, error)
- func GetBuildHealthMeasure(startDate int64, endDate int64, productNames []string, log *zap.SugaredLogger) (*buildStatTotal, error)
- func GetBuildTotalAndSuccess(args *models.BuildStatOption, log *zap.SugaredLogger) (*dashboardBuild, error)
- func GetBuildTrendMeasure(startDate int64, endDate int64, productNames []string, log *zap.SugaredLogger) (*buildTrend, error)
- func GetDeployDailyTotalAndSuccess(args *models.DeployStatOption, log *zap.SugaredLogger) (*dashboardDeploy, error)
- func GetDeployHealthMeasure(startDate, endDate int64, productNames []string, log *zap.SugaredLogger) (*deployStatTotal, error)
- func GetDeployTopFiveFailureMeasure(startDate, endDate int64, productNames []string, log *zap.SugaredLogger) ([]*deployFailureHigherStat, error)
- func GetDeployTopFiveHigherMeasure(startDate, endDate int64, productNames []string, log *zap.SugaredLogger) ([]*deployHigherStat, error)
- func GetDeployWeeklyMeasure(startDate, endDate int64, productNames []string, log *zap.SugaredLogger) ([]*deployStatWeekly, error)
- func GetLatestTenBuildMeasure(productNames []string, log *zap.SugaredLogger) ([]*buildStatLatestTen, error)
- func GetPipelineHealthMeasure(startDate, endDate int64, productNames []string, log *zap.SugaredLogger) (*deployStatTotal, error)
- func GetTenDurationMeasure(startDate int64, endDate int64, productNames []string, log *zap.SugaredLogger) ([]*buildStatLatestTen, error)
- func GetTestAverageMeasure(startDate, endDate int64, productNames []string, log *zap.SugaredLogger) ([]*testStatDailyArg, error)
- func GetTestCaseMeasure(startDate, endDate int64, productNames []string, log *zap.SugaredLogger) ([]*testCaseStat, error)
- func GetTestDashboard(log *zap.SugaredLogger) (*testDashboard, error)
- func GetTestDeliveryDeployMeasure(startDate, endDate int64, productNames []string, log *zap.SugaredLogger) ([]*testDeployStat, error)
- func GetTestHealthMeasure(startDate, endDate int64, productNames []string, log *zap.SugaredLogger) (*testStatTotal, error)
- func GetTestTrendMeasure(startDate, endDate int64, productNames []string, log *zap.SugaredLogger) (*testTrend, error)
- func InitDeployStat(log *zap.SugaredLogger) error
- func InitTestStat(log *zap.SugaredLogger) error
- type CurrentDay
- type Overview
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllPipelineTask ¶
func GetAllPipelineTask(log *zap.SugaredLogger) error
func GetBuildDailyMeasure ¶
func GetBuildHealthMeasure ¶
func GetBuildTotalAndSuccess ¶
func GetBuildTotalAndSuccess(args *models.BuildStatOption, log *zap.SugaredLogger) (*dashboardBuild, error)
func GetBuildTrendMeasure ¶
func GetDeployDailyTotalAndSuccess ¶
func GetDeployDailyTotalAndSuccess(args *models.DeployStatOption, log *zap.SugaredLogger) (*dashboardDeploy, error)
func GetDeployHealthMeasure ¶
func GetDeployHealthMeasure(startDate, endDate int64, productNames []string, log *zap.SugaredLogger) (*deployStatTotal, error)
func GetDeployTopFiveFailureMeasure ¶
func GetDeployTopFiveFailureMeasure(startDate, endDate int64, productNames []string, log *zap.SugaredLogger) ([]*deployFailureHigherStat, error)
func GetDeployTopFiveHigherMeasure ¶
func GetDeployTopFiveHigherMeasure(startDate, endDate int64, productNames []string, log *zap.SugaredLogger) ([]*deployHigherStat, error)
func GetDeployWeeklyMeasure ¶
func GetDeployWeeklyMeasure(startDate, endDate int64, productNames []string, log *zap.SugaredLogger) ([]*deployStatWeekly, error)
func GetLatestTenBuildMeasure ¶
func GetLatestTenBuildMeasure(productNames []string, log *zap.SugaredLogger) ([]*buildStatLatestTen, error)
func GetPipelineHealthMeasure ¶
func GetPipelineHealthMeasure(startDate, endDate int64, productNames []string, log *zap.SugaredLogger) (*deployStatTotal, error)
func GetTenDurationMeasure ¶
func GetTestAverageMeasure ¶
func GetTestAverageMeasure(startDate, endDate int64, productNames []string, log *zap.SugaredLogger) ([]*testStatDailyArg, error)
func GetTestCaseMeasure ¶
func GetTestCaseMeasure(startDate, endDate int64, productNames []string, log *zap.SugaredLogger) ([]*testCaseStat, error)
func GetTestDashboard ¶
func GetTestDashboard(log *zap.SugaredLogger) (*testDashboard, error)
func GetTestDeliveryDeployMeasure ¶
func GetTestDeliveryDeployMeasure(startDate, endDate int64, productNames []string, log *zap.SugaredLogger) ([]*testDeployStat, error)
func GetTestHealthMeasure ¶
func GetTestHealthMeasure(startDate, endDate int64, productNames []string, log *zap.SugaredLogger) (*testStatTotal, error)
func GetTestTrendMeasure ¶
func GetTestTrendMeasure(startDate, endDate int64, productNames []string, log *zap.SugaredLogger) (*testTrend, error)
func InitDeployStat ¶
func InitDeployStat(log *zap.SugaredLogger) error
func InitTestStat ¶
func InitTestStat(log *zap.SugaredLogger) error
Types ¶
type CurrentDay ¶
type Overview ¶
type Overview struct { ProjectCount int `json:"project_count"` ClusterCount int `json:"cluster_count"` ServiceCount int `json:"service_count"` WorkflowCount int `json:"workflow_count"` EnvCount int `json:"env_count"` ArtifactCount int `json:"artifact_count"` }
func GetOverviewStat ¶
func GetOverviewStat(log *zap.SugaredLogger) (*Overview, error)
Click to show internal directories.
Click to hide internal directories.