| 25 | var _ plugin.ToolLayerScope = (*SonarqubeProject)(nil) |
| 26 | |
| 27 | type 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 | |
| 37 | func (SonarqubeProject) TableName() string { |
| 38 | return "_tool_sonarqube_projects" |
nothing calls this directly
no outgoing calls
no test coverage detected