Versions in this module Expand all Collapse all v0 v0.2.1 Dec 21, 2022 Changes in this version type UtilizationDataReader + func (s *UtilizationDataReader) GetInstanceByRegionProvider(ctx context.Context, p providers.Provider, regionId string) ([]data.InstanceDetail, error) v0.2.0 Nov 15, 2022 Changes in this version + type CostDataReader struct + func NewCostDataReader(p providers.Provider) *CostDataReader + func (s *CostDataReader) GetDailyCost(ctx context.Context, day string, isGroupByProduct bool) (data.DailyBilling, error) + func (s *CostDataReader) GetDaysCost(ctx context.Context, isGroupByProduct bool, days ...string) ([]data.DailyBilling, error) + func (s *CostDataReader) GetMonthlyCost(ctx context.Context, month string, isGroupByProduct bool) (data.MonthlyBilling, error) + func (s *CostDataReader) GetMonthsCost(ctx context.Context, isGroupByProduct bool, months ...string) ([]data.MonthlyBilling, error) + type UtilizationDataReader struct + func NewUtilization(p providers.Provider) *UtilizationDataReader + func (s *UtilizationDataReader) GetAllRegionMap(ctx context.Context) (map[string]string, error) + func (s *UtilizationDataReader) GetDailyCpuUtilization(ctx context.Context, day string) (data.DailyCpuUtilization, error) + func (s *UtilizationDataReader) GetDailyMemoryUtilization(ctx context.Context, day string) (data.DailyMemoryUtilization, error) + func (s *UtilizationDataReader) GetDaysCpuUtilization(ctx context.Context, days ...string) ([]data.DailyCpuUtilization, error) + func (s *UtilizationDataReader) GetDaysMemoryUtilization(ctx context.Context, days ...string) ([]data.DailyMemoryUtilization, error) + func (s *UtilizationDataReader) GetInstanceList(ctx context.Context, instanceIdList ...string) ([]data.InstanceDetail, error)