Documentation
¶
Overview ¶
Package state provides centralized state management for the dashboard.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BenchmarkEntry ¶
BenchmarkEntry represents a single benchmark line.
type BenchmarkResult ¶
type BenchmarkResult struct {
Status Status
Entries []BenchmarkEntry
Output string
Err string
}
BenchmarkResult holds benchmark information.
type BinaryResult ¶
BinaryResult holds binary size information.
type CoverageResult ¶
CoverageResult holds coverage information.
type Dashboard ¶
type Dashboard struct {
ProjectDir string
ProjectName string
Version string
Notice string
Tests TestsResult
Coverage CoverageResult
Lint LintResult
Benchmarks BenchmarkResult
Binary BinaryResult
Deps DepsResult
Git GitResult
Profile ProfileResult
}
Dashboard is the central state container for the entire application.
type DepsResult ¶
DepsResult holds dependency information.
type GitResult ¶
type GitResult struct {
Status Status
Modified []string
Added []string
Deleted []string
Other []string
Err string
}
GitResult holds git status information.
type LintResult ¶
LintResult holds linting information.
type ProfileResult ¶ added in v0.1.4
type ProfileResult struct {
Status Status
TargetPackage string
TotalSamples int64
SampleUnit string
Flamegraph string
Err string
}
ProfileResult holds CPU profiling information and inline flamegraph output.
Click to show internal directories.
Click to hide internal directories.