Documentation ¶
Index ¶
- func Command() *cli.Command
- func NewReportCommand(cu utils.CmdUtils) *cli.Command
- func NewReportTotalsCommand(cu utils.CmdUtils, reportTotals reportTotalsCmd) *cli.Command
- func ReportElement(dbStream io.Reader, rec ReportElementConfig) error
- func ReportQuantity(logStream io.Reader, rqc ReportQuantityConfig) error
- func ReportTotals(logStream, dbStream io.Reader, rqc ReportTotalsConfig) error
- func ReportUnresolved(logStream, dbStream io.Reader, ruc ReportUnresolvedConfig) error
- type ElementReporter
- type QuantityReporter
- type ReportElementConfig
- type ReportQuantityConfig
- type ReportTotalsConfig
- type ReportUnresolvedConfig
- type SortTuple
- type TotalReporter
- type UnsolvedReporter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReportCommand ¶
func NewReportTotalsCommand ¶
func ReportElement ¶
func ReportElement(dbStream io.Reader, rec ReportElementConfig) error
ReportElement generates report for single element
func ReportQuantity ¶
func ReportQuantity(logStream io.Reader, rqc ReportQuantityConfig) error
ReportQuantity Generates a quantity report
func ReportTotals ¶
func ReportTotals(logStream, dbStream io.Reader, rqc ReportTotalsConfig) error
func ReportUnresolved ¶
func ReportUnresolved(logStream, dbStream io.Reader, ruc ReportUnresolvedConfig) error
ReportUnresolved generates report for unresolved elements
Types ¶
type ElementReporter ¶
type ElementReporter struct {
// contains filtered or unexported fields
}
func NewElementReporter ¶
func NewElementReporter(c reporter.Config, list []shared.Element) *ElementReporter
func (ElementReporter) Flush ¶
func (er ElementReporter) Flush() error
type QuantityReporter ¶
type QuantityReporter struct {
// contains filtered or unexported fields
}
func NewQuantityReporter ¶
func NewQuantityReporter(config reporter.Config, descending bool) QuantityReporter
type ReportElementConfig ¶
type ReportQuantityConfig ¶
type ReportTotalsConfig ¶
type ReportUnresolvedConfig ¶
type TotalReporter ¶
type TotalReporter struct {
// contains filtered or unexported fields
}
func NewTotalReporter ¶
func NewTotalReporter(c reporter.Config, db shared.DBNodeMap) *TotalReporter
func (TotalReporter) Flush ¶
func (tr TotalReporter) Flush() error
type UnsolvedReporter ¶
type UnsolvedReporter struct {
// contains filtered or unexported fields
}
UnsolvedReporter is unresolved reporter
func NewUnsolvedReporter ¶
func NewUnsolvedReporter(config reporter.Config, db shared.DBNodeMap) *UnsolvedReporter
NewUnsolvedReporter returns reporter for unresolved elements
Click to show internal directories.
Click to hide internal directories.