Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PerformMaintenance ¶
func PerformMaintenance() error
PerformMaintenance performs the backup & maintenance of the database
Types ¶
type Config ¶
type Config struct {
NumAggregates int `long:"numAggregates" short:"n" default:"77" description:"a number of resource aggregates to perform cleanup onto"`
BackupPath string `long:"backupPath" short:"b" default:"/tmp/events.bkp" description:"backup text file path"`
Mongo mongodb.Config
}
Config represent application arguments
Click to show internal directories.
Click to hide internal directories.