Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigStruct ¶
type ConfigStruct struct {
LegacyDOKey string `json:"do_key"`
LegacyDOSpaceEndpoint string `json:"do_space_endpoint"`
LegacyDOSpaceName string `json:"do_space_name"`
LegacyDOSpaceKey string `json:"do_space_key"`
LegacyDOSpaceSecret string `json:"do_space_secret"`
LegacyMysqlDataPath string `json:"mysql_data_path"`
DigitalOcean DigitalOceanConfigStruct `json:"digitalocean"`
Mysql MysqlConfigStruct `json:"mysql"`
PersistentStorage string `json:"persistent_storage"`
Alerting *pkg.AlertingConfig `json:"alerting"`
Retention *RetentionConfig `json:"retention"`
}
ConfigStruct contains information that can be preloaded from a .json file
type DigitalOceanConfigStruct ¶
type DigitalOceanConfigStruct struct {
Key string `json:"key"`
SpaceEndpoint string `json:"space_endpoint"`
SpaceName string `json:"space_name"`
SpaceKey string `json:"space_key"`
SpaceSecret string `json:"space_secret"`
}
DigitalOceanConfigStruct contains information related to DigitalOcean
type MysqlConfigStruct ¶
type MysqlConfigStruct struct {
DataPath string `json:"data_path"`
}
MysqlConfigStruct contains information related to MySQL
type RetentionConfig ¶
type RetentionConfig struct {
AutomaticallyRemoveOld bool `json:"automatically_remove_old"`
RetentionInDays int `json:"retention_in_days"`
RetentionInHours int `json:"retention_in_hours"`
HoursBetweenFullBackups int `json:"hours_between_full_backups"`
}
RetentionConfig contains options for scheduling: how often full backups are run, retention of old backups
Click to show internal directories.
Click to hide internal directories.