Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetReportTaskPath ¶
func GetReportTaskPath() string
Types ¶
type Client ¶
type ReportTask ¶
type StatementProvider ¶
type StatementProvider interface {
GetStatement(ceTaskID string, pollingMaxRetries *int, pollingRetryIntervalMs *int) ([]byte, error)
}
func NewSonarProviderWithCredentials ¶
func NewSonarProviderWithCredentials(sonarURL, token string) (StatementProvider, error)
NewSonarProviderWithCredentials creates a new StatementProvider with SonarQube credentials
type StatementResolver ¶
StatementResolver resolves a full in-toto statement.
func NewStatementResolver ¶
func NewStatementResolver() StatementResolver
type TaskDetails ¶
type TaskDetails struct {
Task struct {
ID string `json:"id"`
Type string `json:"type"`
ComponentID string `json:"componentId"`
ComponentKey string `json:"componentKey"`
ComponentName string `json:"componentName"`
ComponentQualifier string `json:"componentQualifier"`
AnalysisID string `json:"analysisId"`
Status string `json:"status"`
SubmittedAt string `json:"submittedAt"`
StartedAt string `json:"startedAt"`
ExecutedAt string `json:"executedAt"`
ExecutionTimeMs int `json:"executionTimeMs"`
Logs interface{} `json:"logs"`
HasScannerContext bool `json:"hasScannerContext"`
Organization string `json:"organization"`
} `json:"task"`
}
Click to show internal directories.
Click to hide internal directories.