Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ConfDir string `toml:"confdir"` Interval int `toml:"interval"` Noop bool `toml:"noop"` Prefix string `toml:"prefix"` SyncOnly bool `toml:"sync-only"` CalicoConfig string `toml:"calicoconfig"` Onetime bool `toml:"onetime"` KeepStageFile bool `toml:"keep-stage-file"` Typha syncclientutils.TyphaConfig TemplateConfig template.Config }
A Config structure is used to configure confd.
func InitConfig ¶
InitConfig initializes the confd configuration by first setting defaults, then overriding settings from the confd config file, then overriding settings from environment variables, and finally overriding settings from flags set on the command line. It returns an error if any.
type ConfigVisitor ¶
type ConfigVisitor struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.