maintenance

package
v2.7.14 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 16 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 returns string representation of Config

Jump to

Keyboard shortcuts

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