SonarqubeConn holds the essential information to connect to the sonarqube API
| 48 | |
| 49 | // SonarqubeConn holds the essential information to connect to the sonarqube API |
| 50 | type SonarqubeConn struct { |
| 51 | helper.RestConnection `mapstructure:",squash"` |
| 52 | SonarqubeAccessToken `mapstructure:",squash"` |
| 53 | Organization string `gorm:"serializer:json" json:"org" mapstructure:"org"` |
| 54 | } |
| 55 | |
| 56 | func (connection SonarqubeConn) Sanitize() SonarqubeConn { |
| 57 | connection.Token = utils.SanitizeString(connection.Token) |
nothing calls this directly
no outgoing calls
no test coverage detected