Documentation ¶
Index ¶
- func PageTemplate(p Page) string
- func StreamPageTemplate(qw422016 *qt422016.Writer, p Page)
- func WritePageTemplate(qq422016 qtio422016.Writer, p Page)
- type Page
- type ReportPage
- func (p *ReportPage) Body() string
- func (p *ReportPage) GetMergedVulnsSummary() v1alpha1.VulnerabilitySummary
- func (p *ReportPage) StreamBody(qw422016 *qt422016.Writer)
- func (p *ReportPage) StreamTitle(qw422016 *qt422016.Writer)
- func (p *ReportPage) Title() string
- func (p *ReportPage) WriteBody(qq422016 qtio422016.Writer)
- func (p *ReportPage) WriteTitle(qq422016 qtio422016.Writer)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PageTemplate ¶
func StreamPageTemplate ¶
func WritePageTemplate ¶
func WritePageTemplate(qq422016 qtio422016.Writer, p Page)
Types ¶
type Page ¶
type Page interface { Title() string StreamTitle(qw422016 *qt422016.Writer) WriteTitle(qq422016 qtio422016.Writer) Body() string StreamBody(qw422016 *qt422016.Writer) WriteBody(qq422016 qtio422016.Writer) }
type ReportPage ¶
type ReportPage struct { VulnsReports map[string]v1alpha1.VulnerabilityScanResult ConfigAuditReport *v1alpha1.ConfigAuditReport Workload kube.Object }
func (*ReportPage) Body ¶
func (p *ReportPage) Body() string
func (*ReportPage) GetMergedVulnsSummary ¶
func (p *ReportPage) GetMergedVulnsSummary() v1alpha1.VulnerabilitySummary
func (*ReportPage) StreamBody ¶
func (p *ReportPage) StreamBody(qw422016 *qt422016.Writer)
func (*ReportPage) StreamTitle ¶
func (p *ReportPage) StreamTitle(qw422016 *qt422016.Writer)
func (*ReportPage) Title ¶
func (p *ReportPage) Title() string
func (*ReportPage) WriteBody ¶
func (p *ReportPage) WriteBody(qq422016 qtio422016.Writer)
func (*ReportPage) WriteTitle ¶
func (p *ReportPage) WriteTitle(qq422016 qtio422016.Writer)
Click to show internal directories.
Click to hide internal directories.