Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildStat ¶
type BuildStat struct {
ProductName string `bson:"product_name" json:"productName"`
TotalSuccess int `bson:"total_success" json:"totalSuccess"`
TotalFailure int `bson:"total_failure" json:"totalFailure"`
TotalTimeout int `bson:"total_timeout" json:"totalTimeout"`
TotalDuration int64 `bson:"total_duration" json:"totalDuration"`
TotalBuildCount int `bson:"total_build_count" json:"totalBuildCount"`
MaxDuration int64 `bson:"max_duration" json:"maxDuration"`
MaxDurationPipeline *PipelineInfo `bson:"max_duration_pipeline" json:"maxDurationPipeline"`
Date string `bson:"date" json:"date"`
CreateTime int64 `bson:"create_time" json:"createTime"`
UpdateTime int64 `bson:"update_time" json:"updateTime"`
}
type BuildStatOption ¶
type DeployStat ¶
type DeployStat struct {
ProductName string `bson:"product_name" json:"productName"`
TotalTaskSuccess int `bson:"total_task_success" json:"totalTaskSuccess"`
TotalTaskFailure int `bson:"total_task_failure" json:"totalTaskFailure"`
TotalDeploySuccess int `bson:"total_deploy_success" json:"totalDeploySuccess"`
TotalDeployFailure int `bson:"total_deploy_failure" json:"totalDeployFailure"`
MaxDeployServiceNum int `bson:"max_deploy_service_num" json:"maxDeployServiceNum"`
MaxDeployServiceFailureNum int `bson:"max_deploy_service_failure_num" json:"maxDeployServiceFailureNum"`
MaxDeployServiceName string `bson:"max_deploy_service_name" json:"maxDeployServiceName"`
MaxDeployFailureServiceNum int `bson:"max_deploy_failure_service_num" json:"maxDeployFailureServiceNum"`
MaxDeployFailureServiceName string `bson:"max_deploy_failure_service_name" json:"maxDeployFailureServiceName"`
Date string `bson:"date" json:"date"`
CreateTime int64 `bson:"create_time" json:"createTime"`
UpdateTime int64 `bson:"update_time" json:"updateTime"`
}
func (DeployStat) TableName ¶
func (DeployStat) TableName() string
type DeployStatOption ¶
type PipelineInfo ¶
type PipelineInfo struct {
TaskID int64 `bson:"task_id" json:"taskId"`
PipelineName string `bson:"pipeline_name" json:"pipelineName"`
Type string `bson:"type" json:"type"`
MaxDuration int64 `bson:"max_duration" json:"maxDuration"`
DisplayName string `bson:"display_name" json:"displayName"`
}
PipelineInfo
type TestStat ¶
type TestStat struct {
ProductName string `bson:"product_name" json:"productName"`
TotalSuccess int `bson:"total_success" json:"totalSuccess"`
TotalFailure int `bson:"total_failure" json:"totalFailure"`
TotalTimeout int `bson:"total_timeout" json:"totalTimeout"`
TotalDuration int64 `bson:"total_duration" json:"totalDuration"`
TotalTestCount int `bson:"total_test_count" json:"totalTestCount"`
TotalDeployCount int `bson:"total_deploy_count" json:"totalDeployCount"`
TotalTestCase int `bson:"total_test_case" json:"totalTestCase"`
Date string `bson:"date" json:"date"`
CreateTime int64 `bson:"create_time" json:"createTime"`
UpdateTime int64 `bson:"update_time" json:"updateTime"`
}
Click to show internal directories.
Click to hide internal directories.