Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FindingsFormatter ¶
type FindingsFormatter interface { Init(w io.Writer) error Start() error Print(finding *checks.CheckFinding) error End() error }
func Get ¶
func Get(format string) (FindingsFormatter, error)
type JsonFindingsFormatter ¶
type JsonFindingsFormatter struct {
// contains filtered or unexported fields
}
func (*JsonFindingsFormatter) End ¶
func (j *JsonFindingsFormatter) End() error
func (*JsonFindingsFormatter) Print ¶
func (j *JsonFindingsFormatter) Print(f *checks.CheckFinding) error
func (*JsonFindingsFormatter) Start ¶
func (j *JsonFindingsFormatter) Start() error
type TableFindingsFormatter ¶
type TableFindingsFormatter struct {
// contains filtered or unexported fields
}
func (*TableFindingsFormatter) End ¶
func (t *TableFindingsFormatter) End() error
func (*TableFindingsFormatter) Print ¶
func (t *TableFindingsFormatter) Print(finding *checks.CheckFinding) error
func (*TableFindingsFormatter) Start ¶
func (t *TableFindingsFormatter) Start() error
type TextFindingsFormatter ¶
type TextFindingsFormatter struct {
// contains filtered or unexported fields
}
func (*TextFindingsFormatter) End ¶
func (t *TextFindingsFormatter) End() error
func (*TextFindingsFormatter) Print ¶
func (t *TextFindingsFormatter) Print(finding *checks.CheckFinding) error
func (*TextFindingsFormatter) Start ¶
func (t *TextFindingsFormatter) Start() error
Click to show internal directories.
Click to hide internal directories.