Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMixedCurrenciesDataSourceIsNotSupported = errors.New("usecase: mixed currencies data source is not supported")
Functions ¶
This section is empty.
Types ¶
type IDomain ¶
type IDomain interface {
PlotGraph(target io.Writer, ps *domain.PlotGraphParameters) error
}
type IRepository ¶
type IRepository interface { SUMServiceCostGCPAsc(ctx context.Context, billingTable string, billingProject string, from time.Time, to time.Time, tz *time.Location, costThreshold float64) ([]domain.GCPServiceCost, error) DailyServiceCostGCP(ctx context.Context, billingTable string, billingProject string, from time.Time, to time.Time, tz *time.Location, costThreshold float64) ([]domain.GCPServiceCost, error) DailyServiceCostGCPMapByService(servicesOrderBySUMServiceCostGCP []string, dailyServiceCostGCP []domain.GCPServiceCost) map[string][]domain.GCPServiceCost }
type Option ¶
func WithDomain ¶
func WithRepository ¶
func WithRepository(r *repository.Repository) Option
Click to show internal directories.
Click to hide internal directories.