Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchReport ¶
func GetBillingPeriods ¶
Types ¶
type ReportManifest ¶
type ReportManifest struct { AssemblyId string `json:"assemblyId"` Compression string `json:"compression"` ContentType string `json:"contentType"` BillingPeriod struct { Start string `json:"start"` End string `json:"end"` } `json:"billingPeriod"` Bucket string `json:"bucket"` ReportKeys []string `json:"reportKeys"` }
func GetReportManifest ¶
func GetReportManifest(config *state.Config, client *s3.Client, period *state.BillingPeriod, lastModified *time.Time) (*ReportManifest, error)
type SortRecentFirst ¶
type SortRecentFirst []state.BillingPeriod
func (SortRecentFirst) Len ¶
func (a SortRecentFirst) Len() int
func (SortRecentFirst) Less ¶
func (a SortRecentFirst) Less(i, j int) bool
func (SortRecentFirst) Swap ¶
func (a SortRecentFirst) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.