Documentation ¶
Index ¶
Constants ¶
View Source
const ( TaskStatusSuccess = "SUCCESS" TaskStatusPenging = "PENDING" TaskStatusFailed = "FAILED" TaskStatusCanceled = "CANCELED" ProjectStatusOK = "OK" TaskStatusWarn = "WARN" TaskStatusError = "ERROR" TaskStatusNone = "NONE" )
task status refer https://docs.sonarqube.org/display/SONAR/Background+Tasks You can filter Background Tasks according to their Status: Pending, Success, Failed or Canceled (upper!)
View Source
const ( ExitCodeNormal int = 0 ExitCodeProgramError int = 131 ExitCodeTimeout int = 132 ExitCodeQualityGateError int = 133 ExitCodeQualityGateWarn int = 134 ExitCodeQualityGateUnknown int = 135 ExitCodeNeedMoreInfo int = 136 )
exit code
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "sonarclient",
Short: "Sonarqube client",
}
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.