Versions in this module Expand all Collapse all v1 v1.2.0 Apr 11, 2024 v1.1.1 Aug 8, 2023 Changes in this version type Config + DecodeWarning error v1.1.0 Nov 9, 2022 v1.0.0 Jun 29, 2022 Changes in this version + type Config struct + Database Database + Logging Logging + Redis Redis + Retention Retention + func FromYAMLFile(name string) (*Config, error) + func (c *Config) Validate() error + type Database struct + Database string + Host string + Options icingadb.Options + Password string + Port int + TlsOptions TLS + Type string + User string + func (d *Database) Open(logger *logging.Logger) (*icingadb.DB, error) + func (d *Database) Validate() error + type Flags struct + Config string + Version bool + func ParseFlags() (*Flags, error) + type Logging struct + Interval time.Duration + Level zapcore.Level + Output string + func (l *Logging) Validate() error + type Redis struct + Host string + Options icingaredis.Options + Password string + Port int + TlsOptions TLS + func (r *Redis) NewClient(logger *logging.Logger) (*icingaredis.Client, error) + func (r *Redis) Validate() error + type Retention struct + Count uint64 + HistoryDays uint64 + Interval time.Duration + Options history.RetentionOptions + SlaDays uint64 + func (r *Retention) Validate() error + type TLS struct + Ca string + Cert string + Enable bool + Insecure bool + Key string + func (t *TLS) MakeConfig(serverName string) (*tls.Config, error) v1.0.0-rc2 Nov 12, 2021