Documentation
¶
Index ¶
- type Decorator
- func (d *Decorator) AmpelBanner(legend string) string
- func (d *Decorator) AssessmentToString(a *papi.Assessment) string
- func (d *Decorator) Bold(txt string) string
- func (d *Decorator) ControlsToString(result *papi.Result, checkID, def string) string
- func (d *Decorator) ErrorToString(err *papi.Error) string
- func (d *Decorator) StatusToDot(status string) string
- func (d *Decorator) SubjectToString(subject attestation.Subject, chain []*papi.ChainedSubject) string
- func (d *Decorator) TenetsToString(result *papi.Result) string
- type Driver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decorator ¶
type Decorator struct{}
Decorator implements the tabnle decorator interface to style the output
func (*Decorator) AmpelBanner ¶
func (*Decorator) AssessmentToString ¶
func (d *Decorator) AssessmentToString(a *papi.Assessment) string
func (*Decorator) ControlsToString ¶
func (*Decorator) StatusToDot ¶
func (*Decorator) SubjectToString ¶
func (d *Decorator) SubjectToString(subject attestation.Subject, chain []*papi.ChainedSubject) string
type Driver ¶
type Driver struct {
TableWriter gotable.TableBuilder
}
Click to show internal directories.
Click to hide internal directories.