Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ConfigPath string Conf Config )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Version string EnableBackup bool EnableMonitor bool MonitorIntervalSeconds int MonitorRetries int BackupHours []int RetentionHours int LogRetentionDays int ConcurrentBackupContainer int BackupPath string LogsPath string BeforeBackupCMD string AfterBackupCMD string LogLevel string Log2File bool BackupOnStartup bool CreateTestContainerOnStartup bool NotifyLevel string TelegramChatIDs []int TelegramBotToken string }
func (*Config) LoadFromEnv ¶
func (*Config) LoadFromFile ¶
func (*Config) SetDefaults ¶
func (*Config) SetVersion ¶
func (c *Config) SetVersion()
Click to show internal directories.
Click to hide internal directories.