Files
chart/viewer/model.go
T

40 lines
683 B
Go

package viewer
type pageData struct {
Title string
HasSnapshot bool
Error string
NoticeTitle string
NoticeBody string
DownloadArchiveURL string
DownloadArchiveLabel string
Meta []fieldRow
Sections []sectionView
}
type sectionView struct {
ID string
Title string
Kind string
Rows []fieldRow
Columns []string
Items []tableRow
Groups []tableGroupView
}
type fieldRow struct {
Key string
Value string
}
type tableRow struct {
Severity string
Cells map[string]string
}
type tableGroupView struct {
Title string
Columns []string
Items []tableRow
}