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

Struct SonarqubeConn

backend/plugins/sonarqube/models/connection.go:50–54  ·  view source on GitHub ↗

SonarqubeConn holds the essential information to connect to the sonarqube API

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected