MCPcopy Create free account
hub / github.com/apache/devlake / TestmoProject

Struct TestmoProject

backend/plugins/testmo/models/project.go:27–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25)
26
27type TestmoProject struct {
28 common.Scope `mapstructure:",squash"`
29 Id uint64 `gorm:"primaryKey;type:BIGINT NOT NULL;autoIncrement:false" json:"id"`
30 Name string `gorm:"type:varchar(255)" json:"name"`
31 IsCompleted bool `json:"is_completed"`
32
33 // Counts for metrics
34 MilestoneCount uint64 `json:"milestone_count"`
35 MilestoneActiveCount uint64 `json:"milestone_active_count"`
36 MilestoneCompletedCount uint64 `json:"milestone_completed_count"`
37 RunCount uint64 `json:"run_count"`
38 RunActiveCount uint64 `json:"run_active_count"`
39 RunClosedCount uint64 `json:"run_closed_count"`
40 AutomationSourceCount uint64 `json:"automation_source_count"`
41 AutomationSourceActiveCount uint64 `json:"automation_source_active_count"`
42 AutomationSourceRetiredCount uint64 `json:"automation_source_retired_count"`
43 AutomationRunCount uint64 `json:"automation_run_count"`
44 AutomationRunActiveCount uint64 `json:"automation_run_active_count"`
45 AutomationRunCompletedCount uint64 `json:"automation_run_completed_count"`
46}
47
48func (TestmoProject) TableName() string {
49 return "_tool_testmo_projects"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected