Documentation ¶
Index ¶
Constants ¶
View Source
const ( SonarAnalysisActionClass = "hudson.plugins.sonar.action.SonarAnalysisAction" SonarMetricKeys = "" /* 432-byte string literal not displayed */ SonarAdditionalFields = "metrics,periods" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewSonarQubeClient ¶
func NewSonarQubeClientOrDie ¶
type Options ¶
type Options struct { Host string `json:",omitempty" yaml:"host" description:"SonarQube service host address"` Token string `json:",omitempty" yaml:"token" description:"SonarQube service token"` }
func NewSonarQubeOptions ¶
func NewSonarQubeOptions() *Options
type SonarInterface ¶
type SonarInterface interface {
GetSonarResultsByTaskIds(taskId ...string) ([]*SonarStatus, error)
}
type SonarStatus ¶
type SonarStatus struct { Measures *sonargo.MeasuresComponentObject `json:"measures,omitempty"` Issues *sonargo.IssuesSearchObject `json:"issues,omitempty"` GeneralAction *devops.GeneralAction `json:"generalAction,omitempty"` Task *sonargo.CeTaskObject `json:"task,omitempty"` }
Click to show internal directories.
Click to hide internal directories.