Documentation ¶
Index ¶
Constants ¶
View Source
const DefaulMaxReports = 100
View Source
const GitSummaryFileName = "git.json"
View Source
const HeaderAPIKey = "X-API-Key"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func NewCollector ¶
type GitSummary ¶
type GitSummary struct { DiffStat *git.DiffStat `json:"diffStat"` CommitFiles []git.CommitFile `json:"commitFiles"` }
type UploadOptions ¶
type UploadOptions struct { // Repo is the path to the git repository directory. Repo string // Reports is the path to the JUnit reports directory. Reports string // Started is the start time of the run. If nil, `NOW()` is returned from // the API. Started *time.Time // MaxReports is the maximum number of reports that can be found in the // reports directory. If it exceeds the threshold, an error is returned. // // If omitted (or zero), DefaulMaxReports is used. MaxReports int // Debug enables verbose log messages. By default (false), only messages // with level info are visible. Debug bool }
Click to show internal directories.
Click to hide internal directories.