Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSMeterReport ¶
type AWSMeterReport struct { Dimension string `json:"dimension"` Value int64 `json:"value"` Timestamp time.Time `json:"timestamp"` }
func (*AWSMeterReport) ToJSON ¶
func (o *AWSMeterReport) ToJSON() string
type AWSMeterService ¶
type AWSMeterService struct { AwsDryRun bool AwsProductCode string AwsMeteringSvc marketplacemeteringiface.MarketplaceMeteringAPI }
type AwsMeter ¶
type AwsMeter struct {
// contains filtered or unexported fields
}
func (*AwsMeter) GetUserCategoryUsage ¶
func (awsm *AwsMeter) GetUserCategoryUsage(dimensions []string, startTime time.Time, endTime time.Time) []*AWSMeterReport
a report entry is for all metrics
func (*AwsMeter) ReportUserCategoryUsage ¶
func (awsm *AwsMeter) ReportUserCategoryUsage(reports []*AWSMeterReport) error
Click to show internal directories.
Click to hide internal directories.