Documentation ¶
Overview ¶
Package report package
Index ¶
- Variables
- func Init(fname string)
- func Record(in interface{}, policyName string) error
- func Render(out string) error
- func SectEnd() error
- func Start(img *image.Info, options common.Options, currentVersion string) error
- type Col
- type HTMLReport
- type HeaderInfo
- type Info
- type RecordInfo
- type SectionInfo
- type TextReport
Constants ¶
This section is empty.
Variables ¶
View Source
var Handler interface{}
Handler interface
Functions ¶
Types ¶
type HTMLReport ¶
type HTMLReport struct { RecordCnt *int // contains filtered or unexported fields }
HTMLReport Report in HTML format
func (HTMLReport) Record ¶
func (r HTMLReport) Record(ms common.MatchSpec, policyName string) error
Record addition of new HTML table row
func (HTMLReport) SectionEnd ¶
func (r HTMLReport) SectionEnd() error
SectionEnd end of section of the HTML table
type HeaderInfo ¶
HeaderInfo HTML Header Info
type RecordInfo ¶
type RecordInfo struct { RowID string Rec []Col Policy string Description string PolicyType string Refs []common.Ref }
RecordInfo new row information in table
type SectionInfo ¶
SectionInfo Section information
type TextReport ¶
type TextReport struct {
// contains filtered or unexported fields
}
TextReport Report in Text format
func (TextReport) Record ¶
func (r TextReport) Record(ms common.MatchSpec, policyName string) error
Record addition of new text table row
func (TextReport) SectionEnd ¶
func (r TextReport) SectionEnd() error
SectionEnd end of section of the text table
Click to show internal directories.
Click to hide internal directories.