Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAuthDetailsMissing = errors.New("auth credentials missing")
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Debug bool `envconfig:"DEBUG" default:"true"` InfluxConfig *InfluxConfig K8sConfig *K8sConfig }
func LoadConfig ¶
type InfluxConfig ¶
type InfluxConfig struct { InfluxDbUrl string `envconfig:"INFLUXDB_URL" default:"http://localhost:8087"` InfluxDbName string `envconfig:"INFLUXDB_NAME" default:"rkm-outpost"` InfluxDbUser string `envconfig:"INFLUXDB_USER" default:""` InfluxDbPW string `envconfig:"INFLUXDB_PW" default:""` AuthEnabled bool `envconfig:"AUTH_ENABLED" default:"false"` }
Click to show internal directories.
Click to hide internal directories.