Documentation ¶
Index ¶
- type ReportBuilder
- type ReportManager
- func (rm *ReportManager) GetReport(_ context.Context, _, _ string) (*evaluation.Report, error)
- func (rm *ReportManager) ListReports(_ context.Context, _ string) ([]evaluation.ReportMetadata, error)
- func (rm *ReportManager) NewReportBuilder(_ context.Context, _, _, _ string) evaluation.ReportBuilder
- func (rm *ReportManager) StoreReport(_ context.Context, _ evaluation.ReportBuilder) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReportBuilder ¶
type ReportBuilder struct{}
func (ReportBuilder) AddModuleResult ¶
func (r ReportBuilder) AddModuleResult(module string, result evaluation.Result)
func (ReportBuilder) GetReport ¶
func (r ReportBuilder) GetReport() evaluation.Report
func (ReportBuilder) SetInput ¶
func (r ReportBuilder) SetInput(input *input.Model)
func (ReportBuilder) SetOutcome ¶
func (r ReportBuilder) SetOutcome(result evaluation.Result)
type ReportManager ¶
type ReportManager struct { }
func (*ReportManager) GetReport ¶
func (rm *ReportManager) GetReport(_ context.Context, _, _ string) (*evaluation.Report, error)
func (*ReportManager) ListReports ¶
func (rm *ReportManager) ListReports(_ context.Context, _ string) ([]evaluation.ReportMetadata, error)
func (*ReportManager) NewReportBuilder ¶
func (rm *ReportManager) NewReportBuilder(_ context.Context, _, _, _ string) evaluation.ReportBuilder
func (*ReportManager) StoreReport ¶
func (rm *ReportManager) StoreReport(_ context.Context, _ evaluation.ReportBuilder) error
Click to show internal directories.
Click to hide internal directories.