Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CategoryGauge ¶
type CategoryGauge struct {
// contains filtered or unexported fields
}
CategoryGauge represents a percent bar visualizing how well spec did in a particular category
func NewCategoryGauge ¶
func NewCategoryGauge(title string, percent int, cat *model.RuleCategory) CategoryGauge
NewCategoryGauge returns a new gauge widget that is ready to render
type Dashboard ¶
Dashboard represents the dashboard controlling container
func CreateDashboard ¶
func (*Dashboard) ComposeGauges ¶
func (dash *Dashboard) ComposeGauges()
ComposeGauges prepares health gauges for rendering into the main grid.
func (*Dashboard) GenerateTabbedView ¶
func (dash *Dashboard) GenerateTabbedView()
GenerateTabbedView generates tabs
type Snippet ¶
func NewSnippet ¶
func NewSnippet() *Snippet
type StatsChart ¶
type StatsChart struct {
// contains filtered or unexported fields
}
StatsChart represents a bar chart showing statistics of the specification.
func NewStatsChart ¶
func NewStatsChart(index *index.SpecIndex, info *datamodel.SpecInfo) StatsChart
NewStatsChart returns a new gauge widget that is ready to render
type TabbedView ¶
type TabbedView struct {
// contains filtered or unexported fields
}
TabbedView represents a tabbed view holding various data views
Click to show internal directories.
Click to hide internal directories.