Documentation
¶
Index ¶
- type ReportService
- func (rs *ReportService) FilterClusterMetrics(processedState types.ProcessedState, clusterArn string, ...) (*types.ProcessedClusterMetrics, error)
- func (rs *ReportService) FilterMetrics(processedState types.ProcessedState, regionName, clusterName string, ...) (*types.ProcessedClusterMetrics, error)
- func (rs *ReportService) FilterRegionCosts(processedState types.ProcessedState, regionName string, ...) (*types.ProcessedRegionCosts, error)
- func (rs *ReportService) ProcessState(state types.State) types.ProcessedState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReportService ¶
type ReportService struct{}
func NewReportService ¶
func NewReportService() *ReportService
func (*ReportService) FilterClusterMetrics ¶
func (rs *ReportService) FilterClusterMetrics(processedState types.ProcessedState, clusterArn string, startTime, endTime *time.Time) (*types.ProcessedClusterMetrics, error)
filterClusterMetrics filters the processed state by region, clusterArn, and date range
func (*ReportService) FilterMetrics ¶
func (rs *ReportService) FilterMetrics(processedState types.ProcessedState, regionName, clusterName string, startTime, endTime *time.Time) (*types.ProcessedClusterMetrics, error)
filterMetrics filters the processed state by region, cluster, and date range
func (*ReportService) FilterRegionCosts ¶
func (rs *ReportService) FilterRegionCosts(processedState types.ProcessedState, regionName string, startTime, endTime *time.Time) (*types.ProcessedRegionCosts, error)
FilterRegionCosts filters the processed state to return cost data for a specific region
func (*ReportService) ProcessState ¶
func (rs *ReportService) ProcessState(state types.State) types.ProcessedState
Click to show internal directories.
Click to hide internal directories.