Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReportCostsCmd ¶
Types ¶
type CostReporter ¶
type CostReporter struct {
// contains filtered or unexported fields
}
func NewCostReporter ¶
func NewCostReporter(reportService ReportService, markdownService markdown.Markdown, opts CostReporterOpts) *CostReporter
func (*CostReporter) Run ¶
func (r *CostReporter) Run() error
type CostReporterOpts ¶
type ReportService ¶
type ReportService interface {
ProcessState(state types.State) types.ProcessedState
FilterRegionCosts(processedState types.ProcessedState, regionName string, startTime, endTime *time.Time) (*types.ProcessedRegionCosts, error)
}
Click to show internal directories.
Click to hide internal directories.