Documentation
¶
Index ¶
Constants ¶
View Source
const ( Deleted = "deleted" StorageAccount = "storage_account" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregationGroup ¶
type AggregationResult ¶
type AggregationResult struct { AggregationGroup AggregationGroup StorageUsage du.StorageUsage }
type AggregationRule ¶
type Aggregator ¶
type Aggregator struct {
// contains filtered or unexported fields
}
func NewAggregator ¶
func NewAggregator(duReader du.Reader, labelsWithDefaults Labels, rules []AggregationRule) (*Aggregator, error)
func (*Aggregator) Aggregate ¶
func (a *Aggregator) Aggregate(previousRunDate time.Time) (aggregationResults []AggregationResult, runDate time.Time, err error)
func (*Aggregator) GetLabelNames ¶
func (a *Aggregator) GetLabelNames() []string
func (*Aggregator) GetStorageAccountName ¶ added in v0.1.3
func (a *Aggregator) GetStorageAccountName() string
type ReGroup ¶
ReGroup wraps regroup.ReGroup to add YAML marshalling from and to a (regex) string
func NewReGroup ¶
func (ReGroup) MarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.