Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ColorToTermColor ¶
func EditConfig ¶
func EditConfig()
func SaveConfig ¶
func SaveConfig(config Config)
Types ¶
type AlertConfig ¶
type AlertConfig struct { Env string `yaml:"env"` Name string `yaml:"name"` Selector common.QuerySelectors `yaml:"selector"` Service AlertServiceConfig `yaml:"service"` }
type AlertServiceConfig ¶
type ColorConfig ¶
type ColorConfig struct { Timestamp colorDef AttributeKey colorDef AttributeValue colorDef Message colorDef }
type Config ¶
type Config struct { DefaultEnv string `yaml:"default"` Colors ColorConfig `yaml:"colors"` Environments map[string]EnvMap `yaml:"env"` Alerts []AlertConfig `yaml:"alerts"` }
func LoadConfig ¶
func LoadConfig() Config
type RuntimeConfig ¶
func BuildConfig ¶
func BuildConfig() RuntimeConfig
Click to show internal directories.
Click to hide internal directories.