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

Struct SonarqubeProject

backend/plugins/sonarqube/models/sonarqube_project.go:27–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25var _ plugin.ToolLayerScope = (*SonarqubeProject)(nil)
26
27type SonarqubeProject struct {
28 common.Scope `mapstructure:",squash"`
29 ProjectKey string `json:"projectKey" validate:"required" gorm:"type:varchar(500);primaryKey" mapstructure:"projectKey"`
30 Name string `json:"name" gorm:"type:varchar(500)" mapstructure:"name"`
31 Qualifier string `json:"qualifier" gorm:"type:varchar(255)" mapstructure:"qualifier"`
32 Visibility string `json:"visibility" gorm:"type:varchar(64)" mapstructure:"visibility"`
33 LastAnalysisDate *common.Iso8601Time `json:"lastAnalysisDate" mapstructure:"lastAnalysisDate"`
34 Revision string `json:"revision" gorm:"type:varchar(128)" mapstructure:"revision"`
35}
36
37func (SonarqubeProject) TableName() string {
38 return "_tool_sonarqube_projects"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected