Documentation ¶
Index ¶
- Constants
- type CeTaskResp
- type MeasuresResp
- type Sonar
- func (s *Sonar) CodeScan(url, token string, config *integrate.CodeScanConfig) (string, error)
- func (s *Sonar) CreateProject(url, token string, projectKey, projectName string) error
- func (s *Sonar) DeleteProject(url, token string, projectKey string) error
- func (s *Sonar) SetCodeScanStatus(url, token string, pid string, status *api.CodeScanStageStatus) error
- func (s *Sonar) SetQualityGate(url, token string, projectKey string, gateId int) error
- func (s *Sonar) Validate(url, token string) (bool, error)
- type ValidResp
Constants ¶
View Source
const ( DirVendor = "vendor" DirNodeModules = "node_modules" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CeTaskResp ¶
type MeasuresResp ¶
type Sonar ¶
type Sonar struct { }
sonar is the type for sonarqube integration.
func (*Sonar) CreateProject ¶
CreateProject create a project.
func (*Sonar) DeleteProject ¶
DeleteProject delete a project.
func (*Sonar) SetCodeScanStatus ¶
func (*Sonar) SetQualityGate ¶
SetQualityGate sets the project's quality gate.
Click to show internal directories.
Click to hide internal directories.