Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClientConfig ¶
type APIClientConfig struct { URL string AuthURL string ID, Password string DomainID, ProjectID string DomainName, ProjectName string Insecure bool }
APIClientConfig is the configuration for intent compiler's REST API client.
type Config ¶
type Config struct { DefaultCfg DefaultConfig EtcdNotifierCfg EtcdNotifierConfig APIClientConfig APIClientConfig PluginCfg PluginConfig PluginNames []string }
Config object.
func ReadConfig ¶
func ReadConfig() Config
ReadConfig gets configuration from Viper and logs its values.
type DefaultConfig ¶
DefaultConfig section.
type EtcdNotifierConfig ¶
type EtcdNotifierConfig struct { EtcdServers []string WatchPath string MsgQueueLockTime int MsgIndexString string ReadLockString string MasterElection bool }
EtcdNotifierConfig section.
type PluginConfig ¶
type PluginConfig struct {
Handlers map[string]interface{}
}
PluginConfig section.
Click to show internal directories.
Click to hide internal directories.