Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { *Secrets Address string `yaml:"address"` ClusterCategory string `yaml:"cluster_category"` ClusterName string `yaml:"cluster_name"` Debug bool `yaml:"debug"` DeleteDevices bool `yaml:"delete_devices"` DisableAlerting bool `yaml:"disable_alerting"` ClusterGroupID int32 `yaml:"cluster_group_id"` ProxyURL string `yaml:"proxy_url"` }
Config represents the application's configuration file.
type Secrets ¶
type Secrets struct { Account string `envconfig:"ACCOUNT"` ID string `envconfig:"ACCESS_ID"` Key string `envconfig:"ACCESS_KEY"` EtcdDiscoveryToken string `envconfig:"ETCD_DISCOVERY_TOKEN"` ProxyUser string `envconfig:"PROXY_USER"` ProxyPass string `envconfig:"PROXY_PASS"` }
Secrets represents the application's sensitive configuration file.
Click to show internal directories.
Click to hide internal directories.