Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Report ¶
type Report struct { ReportID string Cases []grant.Case Config ReportConfig Timestamp string Monitor *event.ManualStagedProgress // contains filtered or unexported fields }
func NewReport ¶
func NewReport(rc ReportConfig, userRequests ...string) (*Report, error)
NewReport will generate a new report for the given format for the list command. The supplied policy is applied to all user requests. If no policy is provided, the default policy will be used If no requests are provided, an empty report will be generated If a request is provided, but the sbom cannot be generated, the source will be ignored and an error will be returned Where do we render packages that had no licenses?
type ReportConfig ¶
type ReportConfig struct { Options internal.ReportOptions Monitor *event.ManualStagedProgress }
Click to show internal directories.
Click to hide internal directories.