Versions in this module Expand all Collapse all v0 v0.17.0 Aug 25, 2017 Changes in this version + const DefaultCommandTimeout + const DefaultDedupPrefix + const DefaultDumpSignal + const DefaultFilePerms + const DefaultKillSignal + const DefaultReloadSignal + func StringToFileModeFunc() mapstructure.DecodeHookFunc + type AuthConfig struct + Enabled bool + Password string + Username string + func (a *AuthConfig) String() string + type Config struct + Auth *AuthConfig + ConfigTemplates []*ConfigTemplate + Consul string + Deduplicate *DeduplicateConfig + DumpSignal os.Signal + Exec *ExecConfig + KillSignal os.Signal + LogLevel string + MaxStale time.Duration + PidFile string + ReloadSignal os.Signal + Retry time.Duration + SSL *SSLConfig + Syslog *SyslogConfig + Token string + Vault *VaultConfig + Wait *watch.Wait + func DefaultConfig() *Config + func FromFile(path string) (*Config, error) + func FromPath(path string) (*Config, error) + func Must(s string) *Config + func Parse(s string) (*Config, error) + func (c *Config) Copy() *Config + func (c *Config) Merge(config *Config) + func (c *Config) Set(key string) + func (c *Config) WasSet(key string) bool + type ConfigTemplate struct + Backup bool + Command string + CommandTimeout time.Duration + Destination string + EmbeddedTemplate string + LeftDelim string + Perms os.FileMode + RightDelim string + Source string + Wait *watch.Wait + func ParseConfigTemplate(s string) (*ConfigTemplate, error) + type DeduplicateConfig struct + Enabled bool + Prefix string + TTL time.Duration + type ExecConfig struct + Command string + KillSignal os.Signal + KillTimeout time.Duration + ReloadSignal os.Signal + Splay time.Duration + type SSLConfig struct + CaCert string + CaPath string + Cert string + Enabled bool + Key string + ServerName string + Verify bool + type SyslogConfig struct + Enabled bool + Facility string + type VaultConfig struct + Address string + RenewToken bool + SSL *SSLConfig + Token string + UnwrapToken bool