Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chore ¶
Chore to remove unused project bandwidth rollups.
architecture: Chore
func NewChore ¶
func NewChore(log *zap.Logger, db accounting.ProjectAccounting, config Config) *Chore
NewChore creates new chore for removing unused project bandwidth rollups.
type Config ¶
type Config struct { Interval time.Duration `help:"how often to remove unused project bandwidth rollups" default:"24h" testDefault:"$TESTINTERVAL"` RetainMonths int `help:"number of months of project bandwidth rollups to retain, not including the current month" default:"2"` }
Config is a configuration struct for the Chore.
Click to show internal directories.
Click to hide internal directories.