Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Clusters clusters.Config `yaml:"clusters"` Prometheus []prometheus.Config `yaml:"prometheus"` Elasticsearch []elasticsearch.Config `yaml:"elasticsearch"` Jaeger []jaeger.Config `yaml:"jaeger"` Kiali []kiali.Config `yaml:"kiali"` Opsgenie []opsgenie.Config `yaml:"opsgenie"` }
Config is the complete configuration for kobs.
func Load ¶
Load the configuration for kobs. Most of the configuration options are available as command-line flag, but we also need some more complex configuration options, which can be set via a config file in yaml format. The configuration file can contain environment variables in the following format: "${NAME_OF_THE_ENVIRONMENT_VARIABLE}".
Click to show internal directories.
Click to hide internal directories.