# Functions
BindPFlag binds a command line flag to a configuration value.
Get returns a value of the configuration as in interface.
GetAnalyzerServiceAddresses returns a list of connectable Analyzers.
GetBool returns a boolean from the configuration.
GetConfig get current config.
GetEtcdServerAddrs returns the ETCD server address specified in the configuration file or embedded.
GetInt returns an interger from the configuration.
GetOneAnalyzerServiceAddress returns a random connectable Analyzer.
GetString returns a string from the configuration.
GetStringMapString returns a map of strings from the configuration.
GetStringSlice returns a slice of strings from the configuration.
GetTLSClientConfig returns TLS config to be used by client.
GetTLSServerConfig returns TLS config to be used by server.
GetURL constructs a URL from a tuple of protocol, address, port and path If TLS is enabled, it will return the https (or wss) version of the URL.
InitConfig global config.
InitLogging set up logging based on the section "logging" of the configuration file.
InitRBAC inits the RBAC mechanism.
IsSet returns wether a key is set.
IsTLSEnabled returns true is the client / server certificates are set.
LoadConfig initializes config with the given backend/path.
NewAuthenticationBackendByName creates a new auth backend based on the name.
NewWSClient creates a Client based on the configuration.
NewWSClientOpts creates WebSocket options object from the configuration.
NewWSServer creates a Server based on the configuration.
NewWSServerOpts returns WebSocket server options.
Set a value of the configuration.
SetDefault set the default configuration value for a key.
# Variables
ErrNoAnalyzerSpecified error no analyzer section is specified in the configuration file.
# Structs
SkydiveConfig implements the Config interface.
# Interfaces
Config defines a config interface.