maintenance

package
v0.0.0-...-75a04d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

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

func (Config) String

func (c Config) String() string

String return string representation of Config

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL