sonarqube

package
v1.9.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Issue

type Issue struct {
	Type               string     `json:"type"`
	RuleID             string     `json:"ruleId"`
	EngineID           string     `json:"engineId"`
	Severity           string     `json:"severity"`
	EffortMinutes      int        `json:"effortMinutes"`
	PrimaryLocation    Location   `json:"primaryLocation"`
	SecondaryLocations []Location `json:"secondaryLocations,omitempty"`
}

type Location

type Location struct {
	Message  string    `json:"message"`
	Filepath string    `json:"filePath"`
	Range    TextRange `json:"textRange"`
}

type Report

type Report struct {
	Issues []Issue `json:"issues"`
}

type TextRange

type TextRange struct {
	StartLine   int `json:"startLine"`
	EndLine     int `json:"endLine,omitempty"`
	StartColumn int `json:"startColumn,omitempty"`
	EndColumn   int `json:"endColumn,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL